Date: Fri, 06 Feb 2026 14:19:50 +0000 From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Subject: git: 94976733d352 - main - bhyve/virtio-scsi: advertise support for indirect descriptors Message-ID: <6985f886.38d0f.54cc7e1@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=94976733d35234c629fdb086036f2319c44eb08c commit 94976733d35234c629fdb086036f2319c44eb08c Author: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> AuthorDate: 2026-02-05 18:52:56 +0000 Commit: Ed Maste <emaste@FreeBSD.org> 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 *home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6985f886.38d0f.54cc7e1>
