]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost: add vhost_svq_push_elem
authorEugenio Pérez <eperezma@redhat.com>
Wed, 20 Jul 2022 06:59:36 +0000 (08:59 +0200)
committerJason Wang <jasowang@redhat.com>
Wed, 20 Jul 2022 08:58:08 +0000 (16:58 +0800)
commit432efd144e990b6e040862de25f8f0b6a6eeb03d
tree4f8082b0be158a82bf3289c2a94876bce1454d34
parentac4cfdc6f39c06732d27554523f9d5f8a53b4ffa
vhost: add vhost_svq_push_elem

This function allows external SVQ users to return guest's available
buffers.

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