qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Don't initialize HOST_IOMMU_DEVICE with mdev
@ 2024-07-22  7:07 Zhenzhong Duan
  2024-07-22  7:07 ` [PATCH 1/2] vfio/ap: " Zhenzhong Duan
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Zhenzhong Duan @ 2024-07-22  7:07 UTC (permalink / raw)
  To: qemu-devel
  Cc: alex.williamson, clg, eric.auger, joao.m.martins, chao.p.peng,
	Zhenzhong Duan

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



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-07-23  2:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-22  7:07 [PATCH 0/2] Don't initialize HOST_IOMMU_DEVICE with mdev Zhenzhong Duan
2024-07-22  7:07 ` [PATCH 1/2] vfio/ap: " Zhenzhong Duan
2024-07-22  9:18   ` Joao Martins
2024-07-22 15:46     ` Anthony Krowiak
2024-07-22 15:52       ` Joao Martins
2024-07-22  7:07 ` [PATCH 2/2] vfio/ccw: " Zhenzhong Duan
2024-07-22  9:18   ` Joao Martins
2024-07-22 14:57   ` Eric Farman
2024-07-22 15:09     ` Joao Martins
2024-07-22 15:36       ` Cédric Le Goater
2024-07-22 17:45         ` Eric Farman
2024-07-23  2:52           ` Duan, Zhenzhong
2024-07-22  9:31 ` [PATCH 0/2] " Eric Auger
2024-07-22 10:02 ` Cédric Le Goater
2024-07-22 13:50 ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).