Page MenuHomeFreeBSD

rosenfeld_grumpf.hope-2000.org (Hans Rosenfeld)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 19 2024, 4:18 PM (83 w, 4 d)

Recent Activity

Jan 16 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.

Add only a forward declaration of struct pcpu to md_var.h as suggested by markj.

Jan 16 2026, 2:34 PM
rosenfeld_grumpf.hope-2000.org retitled D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h from Fix sys/pcpu.h usage in vmm_host.h and md_var.h
Jan 16 2026, 2:33 PM
rosenfeld_grumpf.hope-2000.org retitled D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h from Fix sys/pcpu.h usage in vmm_host.h and md_var.h' to Fix sys/pcpu.h usage in vmm_host.h and md_var.h.
Jan 16 2026, 2:33 PM
rosenfeld_grumpf.hope-2000.org retitled D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h from amd64: Add missing include sys/pcpu.h to vmm_host.h and md_var.h to Fix sys/pcpu.h usage in vmm_host.h and md_var.h'.
Jan 16 2026, 2:32 PM

Jan 15 2026

rosenfeld_grumpf.hope-2000.org added inline comments to D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.
Jan 15 2026, 6:51 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.

Update commit message.

Jan 15 2026, 1:48 PM
rosenfeld_grumpf.hope-2000.org retitled D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h from amd64: add missing include sys/pcpu.h to vmm_host.h and md_var.h to amd64: Add missing include sys/pcpu.h to vmm_host.h and md_var.h.
Jan 15 2026, 1:46 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D54270: libc/stdlib: Port strtonumx() from illumos #15365.

Updated commit message.

Jan 15 2026, 1:40 PM
rosenfeld_grumpf.hope-2000.org retitled D54270: libc/stdlib: Port strtonumx() from illumos #15365 from libc/stdlib: port illumos#15365: strtonumx() would be a useful companion to strtonum()
Jan 15 2026, 1:39 PM
rosenfeld_grumpf.hope-2000.org added a comment to D54270: libc/stdlib: Port strtonumx() from illumos #15365.
In D54270#1250436, @jrm wrote:

@rosenfeld_grumpf.hope-2000.org, we need to update the commit message to align with https://docs.freebsd.org/en/articles/committers-guide/#commit-log-message. How about this?

libc/stdlib: Port strtonumx() from Illumos #15365

Add strtonumx(), a companion to strtonum(3) that preserves its safety
and error-reporting semantics while allowing the caller to specify a
conversion base, similar to the strtol(3) family of functions.

Reviewed by:    emaste, kib, ziaee
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54270
Jan 15 2026, 1:38 PM

Dec 18 2025

rosenfeld_grumpf.hope-2000.org updated the diff for D51555: bhyve/amd64: parse cpuid options.

Use strtonumx().

Dec 18 2025, 12:10 PM

Dec 17 2025

rosenfeld_grumpf.hope-2000.org added inline comments to D54270: libc/stdlib: Port strtonumx() from illumos #15365.
Dec 17 2025, 5:28 PM
rosenfeld_grumpf.hope-2000.org requested review of D54270: libc/stdlib: Port strtonumx() from illumos #15365.
Dec 17 2025, 4:10 PM

Dec 11 2025

rosenfeld_grumpf.hope-2000.org updated the diff for D51555: bhyve/amd64: parse cpuid options.

Add cpuid.fallback-style option.

Dec 11 2025, 4:30 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control.
Dec 11 2025, 4:28 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control.

Review from Mark

Dec 11 2025, 4:26 PM
rosenfeld_grumpf.hope-2000.org retitled D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control from vmm/amd64: port illumos#14485: bhyve nees better cpuid control
Dec 11 2025, 8:09 AM

Dec 4 2025

rosenfeld_grumpf.hope-2000.org requested review of D54073: bhyve/virtio-scsi: make all I/O processing parameters configurable.
Dec 4 2025, 6:51 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: support multiple backends.

Minor updates.

Dec 4 2025, 6:34 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: implement task management functions.

Rebase.

Dec 4 2025, 6:33 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: support for multiple targets.

Allow specification of the target ID for each target.

Dec 4 2025, 6:31 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D53470: bhyve/virtio-scsi: check LUN address validity.
Dec 4 2025, 6:28 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53470: bhyve/virtio-scsi: check LUN address validity.

Improve the comments describing the LUN address parsing.

Dec 4 2025, 6:24 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53469: bhyve/virtio-scsi: preallocate all I/O requests.

Rebase.

Dec 4 2025, 6:21 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D53468: bhyve/virtio: rework iovec handling functions for efficiency and clarity.
Dec 4 2025, 6:21 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53468: bhyve/virtio: rework iovec handling functions for efficiency and clarity.

Rework split_iov() as requested by Corvin.

Dec 4 2025, 6:20 PM

Oct 30 2025

rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: support multiple backends.

Rebase.

Oct 30 2025, 8:29 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: implement task management functions.

Reword comment in pci_vtscsi_tmf_handle().

Oct 30 2025, 8:14 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: implement task management functions.

Rebase.

Oct 30 2025, 8:11 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: support for multiple targets.

Rebase.

Oct 30 2025, 8:10 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53469: bhyve/virtio-scsi: preallocate all I/O requests.

pci_vtscsi_proc()

Oct 30 2025, 8:09 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: support for multiple targets.

Clarify comment in pci_vtscsi_init_target().

Oct 30 2025, 8:03 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: support multiple backends.

Rebase.

Oct 30 2025, 7:57 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: implement task management functions.

Rebase.

Oct 30 2025, 7:57 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: support for multiple targets.

Rebase.

Oct 30 2025, 7:55 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53470: bhyve/virtio-scsi: check LUN address validity.

Rebase, revert unintentional white space change.

Oct 30 2025, 7:52 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53469: bhyve/virtio-scsi: preallocate all I/O requests.

Rebase.

Oct 30 2025, 7:46 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53468: bhyve/virtio: rework iovec handling functions for efficiency and clarity.

Keep in line with original code style.

Oct 30 2025, 7:45 AM
rosenfeld_grumpf.hope-2000.org requested review of D53470: bhyve/virtio-scsi: check LUN address validity.
Oct 30 2025, 7:38 AM
rosenfeld_grumpf.hope-2000.org requested review of D53469: bhyve/virtio-scsi: preallocate all I/O requests.
Oct 30 2025, 7:38 AM
rosenfeld_grumpf.hope-2000.org requested review of D53467: bhyve/virtio-scsi: advertise support for indirect descriptors.
Oct 30 2025, 7:38 AM
rosenfeld_grumpf.hope-2000.org requested review of D53468: bhyve/virtio: rework iovec handling functions for efficiency and clarity.
Oct 30 2025, 7:38 AM
rosenfeld_grumpf.hope-2000.org requested review of D53466: bhyve/virtio-scsi: unlimit max_sectors.
Oct 30 2025, 7:38 AM
rosenfeld_grumpf.hope-2000.org requested review of D53465: bhyve/virtio: check negotiated_caps for indirect descriptor support.
Oct 30 2025, 7:38 AM
rosenfeld_grumpf.hope-2000.org abandoned D53220: bhyve/virtio-scsi: various small improvements.
Oct 30 2025, 7:32 AM
rosenfeld_grumpf.hope-2000.org added inline comments to D53220: bhyve/virtio-scsi: various small improvements.
Oct 30 2025, 7:31 AM

Oct 22 2025

rosenfeld_grumpf.hope-2000.org added inline comments to D51556: bhyvectl/amd64: add --get-cpuid-cfg.
Oct 22 2025, 5:41 PM

Oct 21 2025

rosenfeld_grumpf.hope-2000.org added a comment to D53220: bhyve/virtio-scsi: various small improvements.

It would make it easier to review and merge when each point gets it own commit.

Oct 21 2025, 9:38 AM

Oct 20 2025

rosenfeld_grumpf.hope-2000.org updated the summary of D53223: bhyve/virtio-scsi: support multiple backends.
Oct 20 2025, 7:35 PM
rosenfeld_grumpf.hope-2000.org updated the summary of D53222: bhyve/virtio-scsi: implement task management functions.
Oct 20 2025, 7:34 PM
rosenfeld_grumpf.hope-2000.org updated the summary of D53221: bhyve/virtio-scsi: support for multiple targets.
Oct 20 2025, 7:33 PM
rosenfeld_grumpf.hope-2000.org updated the summary of D53220: bhyve/virtio-scsi: various small improvements.
Oct 20 2025, 7:32 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D51551: bhyve: want walk_config_nodes.
Oct 20 2025, 7:06 PM
rosenfeld_grumpf.hope-2000.org added a comment to D53220: bhyve/virtio-scsi: various small improvements.

I've tested this extensively with VMs running FreeBSD, NetBSD, and OmniOS, each using the same ZFS pool on the same CTL LUNs. This causes a significant speedup of 'zpool scrub' on OmniOS (as in: now twice as fast), while that effect isn't quite as noticable on a FreeBSD VM, it's at least still measurable.

Oct 20 2025, 5:49 PM
rosenfeld_grumpf.hope-2000.org requested review of D53223: bhyve/virtio-scsi: support multiple backends.
Oct 20 2025, 5:46 PM
rosenfeld_grumpf.hope-2000.org requested review of D53222: bhyve/virtio-scsi: implement task management functions.
Oct 20 2025, 5:46 PM
rosenfeld_grumpf.hope-2000.org requested review of D53221: bhyve/virtio-scsi: support for multiple targets.
Oct 20 2025, 5:46 PM
rosenfeld_grumpf.hope-2000.org requested review of D53220: bhyve/virtio-scsi: various small improvements.
Oct 20 2025, 5:46 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51551: bhyve: want walk_config_nodes.

Fix whitespace after cast as requested.

Oct 20 2025, 5:41 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D51551: bhyve: want walk_config_nodes.
Oct 20 2025, 5:40 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51551: bhyve: want walk_config_nodes.

Add copyrights.

Oct 20 2025, 5:32 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51555: bhyve/amd64: parse cpuid options.

Remove an extraneous whitespace in bhyve_merge_cpuid_config().

Oct 20 2025, 9:13 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D51556: bhyvectl/amd64: add --get-cpuid-cfg.

Improve the commit message.

Oct 20 2025, 8:05 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D51555: bhyve/amd64: parse cpuid options.

Remove extra call to bhyve_fixup_cpuid_config(). Improve the commit message.

Oct 20 2025, 8:04 AM
rosenfeld_grumpf.hope-2000.org added inline comments to D51554: libvmmapi/amd64: add support for CPUID ioctls to libvmmapi.
Oct 20 2025, 8:02 AM
rosenfeld_grumpf.hope-2000.org updated the summary of D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control.
Oct 20 2025, 8:02 AM
rosenfeld_grumpf.hope-2000.org requested review of D53210: vmm/amd64: port illumos#16223: bhyve returns bogus cpuid 8000_001D leaf.
Oct 20 2025, 7:59 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control.

Remove illumos#16223 from this change.

Oct 20 2025, 7:50 AM
rosenfeld_grumpf.hope-2000.org retitled D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control from vmm/amd64: port illumos cpuid control to vmm/amd64: port illumos#14485: bhyve nees better cpuid control.
Oct 20 2025, 7:48 AM
rosenfeld_grumpf.hope-2000.org added inline comments to D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control.
Oct 20 2025, 7:45 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D51551: bhyve: want walk_config_nodes.

Make walk_config_nodes non-recursive, leaving recursive processing to
the callback function if needed. Also, stop walking if the callback
returns a non-zero value, returning that value to the caller.

Oct 20 2025, 7:37 AM

Oct 17 2025

rosenfeld_grumpf.hope-2000.org added a comment to D51555: bhyve/amd64: parse cpuid options.

Setting every single cpuid value seems to be a bunch of work for user. Especially, as user have to set every single bit correctly. What's the way forward for this? How will bhyve receive some default cpuid values?

Oct 17 2025, 5:21 PM

Sep 18 2025

rosenfeld_grumpf.hope-2000.org added a comment to D51553: vmm/amd64: VM_SET_CPUID ioctl should refuse zero-entry non-legacy cpuid cfg.

This should be merged into the previous commit D51552 shouldn't it?

Sep 18 2025, 7:02 PM

Jul 26 2025

rosenfeld_grumpf.hope-2000.org requested review of D51556: bhyvectl/amd64: add --get-cpuid-cfg.
Jul 26 2025, 11:25 AM
rosenfeld_grumpf.hope-2000.org requested review of D51555: bhyve/amd64: parse cpuid options.
Jul 26 2025, 11:23 AM
rosenfeld_grumpf.hope-2000.org requested review of D51554: libvmmapi/amd64: add support for CPUID ioctls to libvmmapi.
Jul 26 2025, 11:21 AM
rosenfeld_grumpf.hope-2000.org requested review of D51553: vmm/amd64: VM_SET_CPUID ioctl should refuse zero-entry non-legacy cpuid cfg.
Jul 26 2025, 11:19 AM
rosenfeld_grumpf.hope-2000.org requested review of D51552: vmm/amd64: port illumos#14485: bhyve needs better cpuid control.
Jul 26 2025, 11:17 AM
rosenfeld_grumpf.hope-2000.org requested review of D51551: bhyve: want walk_config_nodes.
Jul 26 2025, 11:15 AM
rosenfeld_grumpf.hope-2000.org requested review of D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.
Jul 26 2025, 11:14 AM

Sep 23 2024

rosenfeld_grumpf.hope-2000.org updated the diff for D46562: bhyve: don't crash when guest writes TPM int_enable register.

Updated commit message.

Sep 23 2024, 2:06 PM

Sep 19 2024

rosenfeld_grumpf.hope-2000.org added a comment to D46562: bhyve: don't crash when guest writes TPM int_enable register.

Do I need a more elaborate commit message here, too?

Sep 19 2024, 10:49 AM
rosenfeld_grumpf.hope-2000.org added a comment to D46564: bhyve: TPM CRB: pass actual TPM request length to backend execute_cmd().

Where's the commit message?

Sep 19 2024, 10:36 AM

Sep 9 2024

rosenfeld_grumpf.hope-2000.org added a comment to D46559: reboot: powering off and rebooting at the same time doesn't make sense.

"-cp" is already illegal, see the check on line 303 and 304, so nothing changes in that regard. Also, "-r cannot be used with -c, -d, -n, or -p" already. I also see no "-h" option, so no "-ch" either, or am I missing anything here?

Sep 9 2024, 1:27 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D46564: bhyve: TPM CRB: pass actual TPM request length to backend execute_cmd().

Add more elaborate commit message. Remove the extra empty line.

Sep 9 2024, 12:51 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D46562: bhyve: don't crash when guest writes TPM int_enable register.
Sep 9 2024, 12:39 PM

Sep 6 2024

rosenfeld_grumpf.hope-2000.org updated the diff for D46373: bhyve: TPM 2.0 emulation with swtpm.

Fix manpage as suggested by Corvin.
No longer get the cmd length from the request header as the CRB emulation should pass the correct length instead.

Sep 6 2024, 1:24 PM
rosenfeld_grumpf.hope-2000.org requested review of D46564: bhyve: TPM CRB: pass actual TPM request length to backend execute_cmd().
Sep 6 2024, 1:21 PM
rosenfeld_grumpf.hope-2000.org added a comment to D46562: bhyve: don't crash when guest writes TPM int_enable register.

Even FreeBSD's own TPM driver writes the INT_ENABLE register during attach, writing 0 to make sure interrupts are off. bhyve really shouldn't crash the VM when that happens.

Sep 6 2024, 1:05 PM
rosenfeld_grumpf.hope-2000.org requested review of D46562: bhyve: don't crash when guest writes TPM int_enable register.
Sep 6 2024, 1:04 PM
rosenfeld_grumpf.hope-2000.org requested review of D46559: reboot: powering off and rebooting at the same time doesn't make sense.
Sep 6 2024, 10:06 AM

Aug 21 2024

rosenfeld_grumpf.hope-2000.org added inline comments to D46373: bhyve: TPM 2.0 emulation with swtpm.
Aug 21 2024, 8:40 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D46373: bhyve: TPM 2.0 emulation with swtpm.

Document the swtpm backend in bhyve.8 and bhyve_config.5.

Aug 21 2024, 8:16 AM

Aug 20 2024

rosenfeld_grumpf.hope-2000.org added inline comments to D46373: bhyve: TPM 2.0 emulation with swtpm.
Aug 20 2024, 10:56 AM
rosenfeld_grumpf.hope-2000.org updated the summary of D46373: bhyve: TPM 2.0 emulation with swtpm.
Aug 20 2024, 9:31 AM
rosenfeld_grumpf.hope-2000.org requested review of D46373: bhyve: TPM 2.0 emulation with swtpm.
Aug 20 2024, 9:21 AM