OSDN Git Service

vdpa: adapt vhost_ops callbacks to svq
authorEugenio Pérez <eperezma@redhat.com>
Mon, 14 Mar 2022 17:34:46 +0000 (18:34 +0100)
committerJason Wang <jasowang@redhat.com>
Tue, 15 Mar 2022 05:57:44 +0000 (13:57 +0800)
commitd96be4c8942a9f983f8a1642b397150d0d80c6ea
tree32490fddb0a17ff44f476c67074b5b6ef828f113
parentdafb34c9926a38b3bfc4ab8f35a99ca1c706648c
vdpa: adapt vhost_ops callbacks to svq

First half of the buffers forwarding part, preparing vhost-vdpa
callbacks to SVQ to offer it. QEMU cannot enable it at this moment, so
this is effectively dead code at the moment, but it helps to reduce
patch size.

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-vdpa.c