OSDN Git Service

vhost: use avail event idx on vhost_svq_kick
authorEugenio Pérez <eperezma@redhat.com>
Thu, 20 Oct 2022 15:52:50 +0000 (17:52 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 28 Oct 2022 05:28:52 +0000 (13:28 +0800)
commit22a6840ff282727df3e3c745d92d764c7081f49b
treefd5b8defb5cbf5847862484317bdb2f08410e3d1
parent01f8beacea2a31edb6c270653052bea2778ae65d
vhost: use avail event idx on vhost_svq_kick

So SVQ code knows if an event is needed.

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