diff options
| author | Eugenio Pérez <eperezma@redhat.com> | 2022-12-15 12:31:41 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2022-12-21 06:35:28 -0500 |
| commit | cd831ed5c4add8ed6ee980c3645b241cbef5130f (patch) | |
| tree | b189bf7ae7a4d56efba5d0b1b4eb1530617a06cb /hw/virtio/vhost-user.c | |
| parent | 273e0003f0005cc17292dedae01e5edb0064b69c (diff) | |
| download | focaccia-qemu-cd831ed5c4add8ed6ee980c3645b241cbef5130f.tar.gz focaccia-qemu-cd831ed5c4add8ed6ee980c3645b241cbef5130f.zip | |
vdpa: add asid parameter to vhost_vdpa_dma_map/unmap
So the caller can choose which ASID is destined. No need to update the batch functions as they will always be called from memory listener updates at the moment. Memory listener updates will always update ASID 0, as it's the passthrough ASID. All vhost devices's ASID are 0 at this moment. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221215113144.322011-10-eperezma@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user.c')
0 files changed, 0 insertions, 0 deletions