]> git.proxmox.com Git - mirror_qemu.git/commit
vhost: toggle device callbacks using used event idx
authorEugenio Pérez <eperezma@redhat.com>
Thu, 20 Oct 2022 15:52:49 +0000 (17:52 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 28 Oct 2022 05:28:52 +0000 (13:28 +0800)
commit01f8beacea2a31edb6c270653052bea2778ae65d
tree8bb4b0343d0b72d7d5bbd9f28b4523007e5f4465
parentf0c48e05bd7c535aa0614d284d165d998936c79b
vhost: toggle device callbacks using used event idx

Actually use the new field of the used ring and tell the device if SVQ
wants to be notified.

The code is not reachable at the moment.

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