projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a6840
)
vhost: Accept event idx flag
author
Eugenio Pérez
<eperezma@redhat.com>
Thu, 20 Oct 2022 15:52:51 +0000
(17:52 +0200)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/hw/virtio/vhost-shadow-virtqueue.c
b/hw/virtio/vhost-shadow-virtqueue.c
index f306ebef7243ce2dcfd9e3e71ea78ee3341d5240..5bd14cad96f8d46066e8a27c51d512381d3a5b92 100644
(file)
--- a/
hw/virtio/vhost-shadow-virtqueue.c
+++ b/
hw/virtio/vhost-shadow-virtqueue.c
@@
-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: