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 (93 w, 5 d)

Recent Activity

Tue, May 26

rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Review from markj.

Tue, May 26, 7:26 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Review from markj.

Tue, May 26, 7:24 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Review from markj.

Tue, May 26, 7:21 AM

Mon, May 25

rosenfeld_grumpf.hope-2000.org added inline comments to D53223: bhyve/virtio-scsi: Support multiple backends.
Mon, May 25, 8:43 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D53221: bhyve/virtio-scsi: Support for multiple targets.
Mon, May 25, 8:43 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Review from markj.

Mon, May 25, 8:42 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Review from markj.

Mon, May 25, 8:41 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Review from markj.

Mon, May 25, 8:41 PM

Apr 24 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

Update manpage as requested.

Apr 24 2026, 6:35 PM

Apr 23 2026

rosenfeld_grumpf.hope-2000.org added inline comments to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.
Apr 23 2026, 1:27 PM

Apr 22 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

Update manpage.

Apr 22 2026, 6:30 PM

Apr 21 2026

rosenfeld_grumpf.hope-2000.org added a comment to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

Since we have [[maybe_unused]] in C23, could you elaborate why we need this to be in <sys/cdefs.h>?

Apr 21 2026, 12:39 PM
rosenfeld_grumpf.hope-2000.org added a comment to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

Note that I did not remove all existing definitions of __maybe_unused, only the one in linuxkpi which was causing build issues. There's another one in OpenZFS (two actually, one for Linux and one for FreeBSD) and one in the WPA utils.

Apr 21 2026, 11:14 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Rebase.

Apr 21 2026, 10:43 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Rebase.

Apr 21 2026, 10:42 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: Implement task management functions.

Rebase.

Apr 21 2026, 10:41 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Rebase.

Apr 21 2026, 10:39 AM

Apr 20 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.

Review from emaste and markj.

Apr 20 2026, 9:04 AM
rosenfeld_grumpf.hope-2000.org added a comment to D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.

There doesn't seem to be a general definition of __maybe_unused in FreeBSD

Ah, yes. We seem two have three copies of the #define in our tree, two under sys/, but it's not generally available. We could perhaps define it in cdefs.h, but independent of this change.

Apr 20 2026, 9:03 AM
rosenfeld_grumpf.hope-2000.org requested review of D56517: sys/cdefs.h: Introduce __maybe_unused attribute.
Apr 20 2026, 9:02 AM

Apr 15 2026

rosenfeld_grumpf.hope-2000.org added a comment to D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.

Or, something along the lines of:

size_t res __maybe_unused;
res = iov_to_buf(...);
assert (res == VTSCSI_IN_HEADER_LEN(q->vsq_sc);
Apr 15 2026, 8:26 AM

Apr 10 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D51553: vmm/amd64: VM_SET_CPUID ioctl should refuse zero-entry non-legacy cpuid cfg.

Rebase.

Apr 10 2026, 6:38 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D54829: vmm/amd64: Bhyve should keep guest CPUID updated when using explicit CPUID settings.

Rebase.

Apr 10 2026, 6:35 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53210: vmm/amd64: Bhyve returns bogus cpuid 8000_001D leaf.

Rebase.

Apr 10 2026, 6:34 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51552: vmm/amd64: Port bhyve CPUID control from illumos.

Rebase.

Apr 10 2026, 6:33 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D54828: vmm/amd64: Port vlapic interface changes from illumos.

Rebase, and update commit message.

Apr 10 2026, 6:30 PM
rosenfeld_grumpf.hope-2000.org retitled D56347: vmm/amd64: Port vlapic interface changes from illumos (duplicate) from vmm/amd64: Port vlapic interface changes from illumos to vmm/amd64: Port vlapic interface changes from illumos (duplicate).
Apr 10 2026, 6:29 PM
rosenfeld_grumpf.hope-2000.org requested review of D56347: vmm/amd64: Port vlapic interface changes from illumos (duplicate).
Apr 10 2026, 6:24 PM
rosenfeld_grumpf.hope-2000.org added a reviewer for D56346: libvmmapi: Check for allocation failure in vm_vcpu_open(): markj.
Apr 10 2026, 6:03 PM
rosenfeld_grumpf.hope-2000.org requested review of D56346: libvmmapi: Check for allocation failure in vm_vcpu_open().
Apr 10 2026, 6:02 PM

Apr 8 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Rebase.

Apr 8 2026, 10:55 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Rebase.

Apr 8 2026, 10:55 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: Implement task management functions.

Improve comment regarding QUERY TASK false negatives.

Apr 8 2026, 10:54 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Rebase.

Apr 8 2026, 10:45 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.

Rebase.

Apr 8 2026, 10:41 AM

Mar 16 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Garbage-collect a comment obsoleted by this change.

Mar 16 2026, 8:38 AM

Mar 14 2026

rosenfeld_grumpf.hope-2000.org added a comment to D55808: amd64: move efirt trap checks into the helper.

I don't know how or why, but this change makes my test system panic at boot:

Mar 14 2026, 10:27 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Rebase.

Mar 14 2026, 11:07 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Rebase.

Mar 14 2026, 11:07 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: Implement task management functions.

Review from markj.

Mar 14 2026, 11:07 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Review from markj.

Mar 14 2026, 11:05 AM
rosenfeld_grumpf.hope-2000.org updated the diff for D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.

Remove check for total == 0.

Mar 14 2026, 11:02 AM

Mar 12 2026

rosenfeld_grumpf.hope-2000.org added inline comments to D53222: bhyve/virtio-scsi: Implement task management functions.
Mar 12 2026, 8:35 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Review from markj.

Mar 12 2026, 8:34 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Review from markj.

Mar 12 2026, 8:34 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: Implement task management functions.

Review from markj.

Mar 12 2026, 8:33 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Review from markj.

Mar 12 2026, 8:33 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.
Mar 12 2026, 11:18 AM

Mar 11 2026

rosenfeld_grumpf.hope-2000.org added inline comments to D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.
Mar 11 2026, 3:31 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.
Mar 11 2026, 1:07 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.
Mar 11 2026, 12:45 PM

Mar 10 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.

Review from emaste.

Mar 10 2026, 7:25 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.

Fix commit message.

Mar 10 2026, 7:20 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.
Mar 10 2026, 7:19 PM
rosenfeld_grumpf.hope-2000.org added reviewers for D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression: jhb, markj, emaste.
Mar 10 2026, 7:19 PM
rosenfeld_grumpf.hope-2000.org requested review of D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.
Mar 10 2026, 7:18 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.

Address review by jhb.

Mar 10 2026, 7:17 PM
rosenfeld_grumpf.hope-2000.org added a comment to D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.
In D55800#1276422, @jhb wrote:

The error of having assert() invoke code that is required (such that the code will just flat out break if you build with NDEBUG) still needs fixing. Siva's version fixes that bigger bug. I think It's fine if buf_to_iov() returns size_t, but I think the -1 is still useful from iov_to_buf to avoid ambiguity for a return value of 0. reallocf() is also a good fix.

Mar 10 2026, 5:00 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.

Don't invoke iov_to_buf() from an assert() expression.

Mar 10 2026, 4:57 PM
rosenfeld_grumpf.hope-2000.org added reviewers for D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness: markj, emaste, siva.
Mar 10 2026, 2:40 PM
rosenfeld_grumpf.hope-2000.org requested review of D55800: bhyve/virtio: Fix comparison of integer expressions of different signedness.
Mar 10 2026, 2:39 PM

Mar 2 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D53470: bhyve/virtio-scsi: Check LUN address validity.

Rebase.

Mar 2 2026, 7:05 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53469: bhyve/virtio-scsi: Preallocate all I/O requests.

Rebase, and add cleanup code to go with all the new checks for success.

Mar 2 2026, 7:04 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D53468: bhyve/virtio: Rework iovec handling functions for efficiency and clarity.
Mar 2 2026, 7:00 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53468: bhyve/virtio: Rework iovec handling functions for efficiency and clarity.

Address review from markj.

Mar 2 2026, 7:00 PM

Feb 23 2026

rosenfeld_grumpf.hope-2000.org accepted D55438: bhyve: Fix truncate_iov().
Feb 23 2026, 9:14 AM

Feb 22 2026

rosenfeld_grumpf.hope-2000.org accepted D55438: bhyve: Fix truncate_iov().
Feb 22 2026, 6:31 PM

Feb 19 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable.

Rebase.

Feb 19 2026, 7:38 PM
rosenfeld_grumpf.hope-2000.org retitled D54073: bhyve/virtio-scsi: Make all I/O processing parameters configurable from bhyve/virtio-scsi: make all I/O processing parameters configurable to bhyve/virtio-scsi: Make all I/O processing parameters configurable.
Feb 19 2026, 7:37 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53223: bhyve/virtio-scsi: Support multiple backends.

Rebase.

Feb 19 2026, 7:37 PM
rosenfeld_grumpf.hope-2000.org retitled D53223: bhyve/virtio-scsi: Support multiple backends from bhyve/virtio-scsi: support multiple backends to bhyve/virtio-scsi: Support multiple backends.
Feb 19 2026, 7:36 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53222: bhyve/virtio-scsi: Implement task management functions.

Rebase.

Feb 19 2026, 7:36 PM
rosenfeld_grumpf.hope-2000.org retitled D53222: bhyve/virtio-scsi: Implement task management functions from bhyve/virtio-scsi: implement task management functions to bhyve/virtio-scsi: Implement task management functions.
Feb 19 2026, 7:35 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53221: bhyve/virtio-scsi: Support for multiple targets.

Rebase.

Feb 19 2026, 7:35 PM
rosenfeld_grumpf.hope-2000.org retitled D53221: bhyve/virtio-scsi: Support for multiple targets from bhyve/virtio-scsi: support for multiple targets to bhyve/virtio-scsi: Support for multiple targets.
Feb 19 2026, 7:34 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D53469: bhyve/virtio-scsi: Preallocate all I/O requests.
Feb 19 2026, 6:36 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53469: bhyve/virtio-scsi: Preallocate all I/O requests.

Address review from markj.

Feb 19 2026, 6:36 PM
rosenfeld_grumpf.hope-2000.org added inline comments to D53468: bhyve/virtio: Rework iovec handling functions for efficiency and clarity.
Feb 19 2026, 4:33 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53468: bhyve/virtio: Rework iovec handling functions for efficiency and clarity.

Address review from markj.

Feb 19 2026, 4:33 PM

Feb 9 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D53470: bhyve/virtio-scsi: Check LUN address validity.

Sync with latest illumos bits after code review.

Feb 9 2026, 4:30 PM
rosenfeld_grumpf.hope-2000.org retitled D53470: bhyve/virtio-scsi: Check LUN address validity from bhyve/virtio-scsi: check LUN address validity to bhyve/virtio-scsi: Check LUN address validity.
Feb 9 2026, 4:28 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53469: bhyve/virtio-scsi: Preallocate all I/O requests.

Sync with latest illumos bits after code review.

Feb 9 2026, 4:27 PM
rosenfeld_grumpf.hope-2000.org retitled D53469: bhyve/virtio-scsi: Preallocate all I/O requests from bhyve/virtio-scsi: preallocate all I/O requests to bhyve/virtio-scsi: Preallocate all I/O requests.
Feb 9 2026, 4:26 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53468: bhyve/virtio: Rework iovec handling functions for efficiency and clarity.

Sync with latest illumos bits after code review.

Feb 9 2026, 4:26 PM
rosenfeld_grumpf.hope-2000.org retitled D53468: bhyve/virtio: Rework iovec handling functions for efficiency and clarity from bhyve/virtio: rework iovec handling functions for efficiency and clarity to bhyve/virtio: Rework iovec handling functions for efficiency and clarity.
Feb 9 2026, 4:23 PM

Jan 22 2026

rosenfeld_grumpf.hope-2000.org updated the diff for D51555: bhyve/amd64: Add support for CPUID configuration.

Update commit message.

Jan 22 2026, 4:07 PM
rosenfeld_grumpf.hope-2000.org retitled D51555: bhyve/amd64: Add support for CPUID configuration from Add support for CPUID configuration to bhyve/amd64: Add support for CPUID configuration.
Jan 22 2026, 4:06 PM
rosenfeld_grumpf.hope-2000.org retitled D51555: bhyve/amd64: Add support for CPUID configuration from bhyve/amd64: parse cpuid options to Add support for CPUID configuration.
Jan 22 2026, 4:05 PM
rosenfeld_grumpf.hope-2000.org requested review of D54829: vmm/amd64: Bhyve should keep guest CPUID updated when using explicit CPUID settings.
Jan 22 2026, 4:04 PM
rosenfeld_grumpf.hope-2000.org added reviewers for D54828: vmm/amd64: Port vlapic interface changes from illumos: markj, chuck.
Jan 22 2026, 4:00 PM
rosenfeld_grumpf.hope-2000.org requested review of D54828: vmm/amd64: Port vlapic interface changes from illumos.
Jan 22 2026, 4:00 PM
rosenfeld_grumpf.hope-2000.org retitled D51554: libvmmapi/amd64: Add support for CPUID ioctls to libvmmapi from libvmmapi/amd64: add support for CPUID ioctls to libvmmapi to libvmmapi/amd64: Add support for CPUID ioctls to libvmmapi.
Jan 22 2026, 3:57 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D53210: vmm/amd64: Bhyve returns bogus cpuid 8000_001D leaf.

Update commit message.

Jan 22 2026, 3:56 PM
rosenfeld_grumpf.hope-2000.org retitled D53210: vmm/amd64: Bhyve returns bogus cpuid 8000_001D leaf from vmm/amd64: port illumos#16223: bhyve returns bogus cpuid 8000_001D leaf to vmm/amd64: Bhyve returns bogus cpuid 8000_001D leaf.
Jan 22 2026, 3:55 PM
rosenfeld_grumpf.hope-2000.org updated the diff for D51552: vmm/amd64: Port bhyve CPUID control from illumos.

Adapt to the recent bhyve header refactoring.

Jan 22 2026, 11:10 AM
rosenfeld_grumpf.hope-2000.org retitled D51552: vmm/amd64: Port bhyve CPUID control from illumos from vmm/amd64: port illumos#14485: bhyve needs better cpuid control to vmm/amd64: Port bhyve CPUID control from illumos.
Jan 22 2026, 11:09 AM

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 to amd64: 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