]> git.proxmox.com Git - mirror_qemu.git/commit
vdpa: use VhostVDPAShared in vdpa_dma_map and unmap
authorEugenio Pérez <eperezma@redhat.com>
Thu, 21 Dec 2023 17:43:20 +0000 (18:43 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Dec 2023 09:51:07 +0000 (04:51 -0500)
commit6f03d9ef8acdcdcfaf7ba42654f36ae3c1f1ddbc
treebb53ba519b7b689fc4fc74dac27ff10b517f6d6d
parent3c6d12a3b19527c68b6462eaeaa72bbb2db2b02c
vdpa: use VhostVDPAShared in vdpa_dma_map and unmap

The callers only have the shared information by the end of this series.
Start converting this functions.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20231221174322.3130442-12-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c
include/hw/virtio/vhost-vdpa.h
net/vhost-vdpa.c