On 7/22/24 09:07, Zhenzhong Duan wrote:
This fixes a potential issue with mdev that fails to initialize 
HOST_IOMMU_DEVICE.
Reason is mdev isn't physical device and doesn't support IOMMU_GET_HW_INFO.

I thought ap/ccw are all mdev type and need a fix.

This series depends on a patch from Joao which fixes the same for vfio-pci.
See https://lists.gnu.org/archive/html/qemu-devel/2024-07/msg04612.html

Not tested due to no ap/ccw environment. But build test pass.

Thanks
Zhenzhong

Zhenzhong Duan (2):
   vfio/ap: Don't initialize HOST_IOMMU_DEVICE with mdev
   vfio/ccw: Don't initialize HOST_IOMMU_DEVICE with mdev

  hw/vfio/ap.c  | 3 +++
  hw/vfio/ccw.c | 3 +++
  2 files changed, 6 insertions(+)



Applied to vfio-next.

Thanks,

C.



Reply via email to