vhost: Add Shadow VirtQueue kick forwarding capabilities
commitdff4426fa6562b6837ddc662a61836ae11ac4fae
authorEugenio Pérez <eperezma@redhat.com>
Mon, 14 Mar 2022 17:34:42 +0000 (14 18:34 +0100)
committerJason Wang <jasowang@redhat.com>
Tue, 15 Mar 2022 05:57:44 +0000 (15 13:57 +0800)
treefc27baf7ae8d8b14a41dc3d1497052b15511cfd5
parent10857ec0ad5d201d524d20b477da1cf3f7f4a3b0
vhost: Add Shadow VirtQueue kick forwarding capabilities

At this mode no buffer forwarding will be performed in SVQ mode: Qemu
will just forward the guest's kicks to the device.

Host memory notifiers regions are left out for simplicity, and they will
not be addressed in this series.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-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
hw/virtio/vhost-vdpa.c
include/hw/virtio/vhost-vdpa.h