]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
vhost: Accept event idx flag
authorEugenio Pérez <eperezma@redhat.com>
Thu, 20 Oct 2022 15:52:51 +0000 (17:52 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 28 Oct 2022 05:28:52 +0000 (13:28 +0800)
Enabling all the code path created before.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-shadow-virtqueue.c

index f306ebef7243ce2dcfd9e3e71ea78ee3341d5240..5bd14cad96f8d46066e8a27c51d512381d3a5b92 100644 (file)
@@ -33,6 +33,7 @@ bool vhost_svq_valid_features(uint64_t features, Error **errp)
          ++b) {
         switch (b) {
         case VIRTIO_F_ANY_LAYOUT:
+        case VIRTIO_RING_F_EVENT_IDX:
             continue;
 
         case VIRTIO_F_ACCESS_PLATFORM: