[PATCH v2 1/2] vduse: fix missing event index features

Maxime Coquelin maxime.coquelin at redhat.com
Thu Jul 6 10:12:22 CEST 2023


This features was mistakenly removed, add it back.

Fixes: 0adb8eccc6a6 ("vhost: add VDUSE device creation and destruction")

Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
 lib/vhost/vduse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/vhost/vduse.c b/lib/vhost/vduse.c
index a509daf80c..b9514e6c29 100644
--- a/lib/vhost/vduse.c
+++ b/lib/vhost/vduse.c
@@ -41,6 +41,7 @@
 				(1ULL << VIRTIO_NET_F_GUEST_UFO) | \
 				(1ULL << VIRTIO_NET_F_GUEST_ECN) | \
 				(1ULL << VIRTIO_RING_F_INDIRECT_DESC) | \
+				(1ULL << VIRTIO_RING_F_EVENT_IDX) | \
 				(1ULL << VIRTIO_F_IN_ORDER) | \
 				(1ULL << VIRTIO_F_IOMMU_PLATFORM) | \
 				(1ULL << VIRTIO_NET_F_CTRL_VQ) | \
-- 
2.41.0



More information about the dev mailing list