qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Don't initialize HOST_IOMMU_DEVICE with mdev


From: Zhenzhong Duan
Subject: [PATCH 0/2] Don't initialize HOST_IOMMU_DEVICE with mdev
Date: Mon, 22 Jul 2024 15:07:11 +0800

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(+)

-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]