HostIOMMUDevice: Store the VFIO/VDPA agent
authorEric Auger <eric.auger@redhat.com>
Fri, 14 Jun 2024 09:52:51 +0000 (11:52 +0200)
committerCédric Le Goater <clg@redhat.com>
Mon, 24 Jun 2024 21:15:30 +0000 (23:15 +0200)
commitdc169694cad4b4c4028c755ec44ebb7565bd7461
tree3d0505291c7ad55ca4efca15e8d403d623502ee2
parent77f6efc0ab93718da2bc3f908b7ff7fffa489ea1
HostIOMMUDevice: Store the VFIO/VDPA agent

Store the agent device (VFIO or VDPA) in the host IOMMU device.
This will allow easy access to some of its resources.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/vfio/container.c
hw/vfio/iommufd.c
include/sysemu/host_iommu_device.h