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

Maxime Coquelin maxime.coquelin at redhat.com
Wed Jul 5 15:22:32 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.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/vhost/vduse.h b/lib/vhost/vduse.h
index cd55bfd858..46753fec73 100644
--- a/lib/vhost/vduse.h
+++ b/lib/vhost/vduse.h
@@ -22,6 +22,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