The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=94976733d35234c629fdb086036f2319c44eb08c
commit 94976733d35234c629fdb086036f2319c44eb08c Author: Hans Rosenfeld <[email protected]> AuthorDate: 2026-02-05 18:52:56 +0000 Commit: Ed Maste <[email protected]> CommitDate: 2026-02-06 14:14:47 +0000 bhyve/virtio-scsi: advertise support for indirect descriptors Support for indirect registers is actually part of the common virtio code, the virtio-scsi code doesn't actually care or even know anything about it. Advertising the features greatly improves performance with some guest operating systems. Reviewed by: corvink Differential Revision: https://reviews.freebsd.org/D53467 --- usr.sbin/bhyve/pci_virtio_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/pci_virtio_scsi.c b/usr.sbin/bhyve/pci_virtio_scsi.c index 409e8c1c21ae..c7d930b0f4ee 100644 --- a/usr.sbin/bhyve/pci_virtio_scsi.c +++ b/usr.sbin/bhyve/pci_virtio_scsi.c @@ -252,7 +252,7 @@ static struct virtio_consts vtscsi_vi_consts = { .vc_cfgread = pci_vtscsi_cfgread, .vc_cfgwrite = pci_vtscsi_cfgwrite, .vc_apply_features = pci_vtscsi_neg_features, - .vc_hv_caps = 0, + .vc_hv_caps = VIRTIO_RING_F_INDIRECT_DESC, }; static void *
