diff options
| author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-06-05 16:30:34 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-06-24 23:15:30 +0200 |
| commit | 930589520128a5f25e65f9f923ac8dc6fac32ff8 (patch) | |
| tree | b8b22aef10bf313dfbcad379cab9cdda4299afb5 /hw/pci/pci.c | |
| parent | 42965386ea21fe375a5a2a6d85261663576d86d9 (diff) | |
| download | focaccia-qemu-930589520128a5f25e65f9f923ac8dc6fac32ff8.tar.gz focaccia-qemu-930589520128a5f25e65f9f923ac8dc6fac32ff8.zip | |
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 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions