vdpa: Add custom IOTLB translations to SVQ
commit34e3c94edaef2e0748ebb7bc6bb83a970345a6ad
authorEugenio Pérez <eperezma@redhat.com>
Mon, 14 Mar 2022 17:34:51 +0000 (14 18:34 +0100)
committerJason Wang <jasowang@redhat.com>
Tue, 15 Mar 2022 05:57:44 +0000 (15 13:57 +0800)
treec356e31a22c54ba9bdf72d62c5b6e8e92271230d
parentec6122d8828e0e1268ec520542f8a7622d84f571
vdpa: Add custom IOTLB translations to SVQ

Use translations added in VhostIOVATree in SVQ.

Only introduce usage here, not allocation and deallocation. As with
previous patches, we use the dead code paths of shadow_vqs_enabled to
avoid commiting too many changes at once. These are impossible to take
at the moment.

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