aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-06-05 16:30:34 +0800
committerCédric Le Goater <clg@redhat.com>2024-06-24 23:15:30 +0200
commit930589520128a5f25e65f9f923ac8dc6fac32ff8 (patch)
treeb8b22aef10bf313dfbcad379cab9cdda4299afb5 /qapi
parent42965386ea21fe375a5a2a6d85261663576d86d9 (diff)
downloadqemu-930589520128a5f25e65f9f923ac8dc6fac32ff8.zip
qemu-930589520128a5f25e65f9f923ac8dc6fac32ff8.tar.gz
qemu-930589520128a5f25e65f9f923ac8dc6fac32ff8.tar.bz2
vfio/iommufd: Implement HostIOMMUDeviceClass::realize() handler
It calls iommufd_backend_get_device_info() to get host IOMMU related information and translate it into HostIOMMUDeviceCaps for query with .get_cap(). For aw_bits, use the same way as legacy backend by calling vfio_device_get_aw_bits() which is common for different vendor IOMMU. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions