Searched hist:93058952 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/vfio/ |
H A D | iommufd.c | 93058952 Wed Jun 05 03:30:34 CDT 2024 Zhenzhong Duan <zhenzhong.duan@intel.com> 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>
|