summary refs log tree commit diff stats
path: root/hw/ppc
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-03-26 08:50:57 +0100
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commitaa90d775f0f568239f2a6bd3ead7e8d3b4a35a57 (patch)
tree1777f5a30bae25480105ea19cea537aaf53ce49d /hw/ppc
parent499e53cce9445d23ee1bf54562de558562fc8d22 (diff)
downloadfocaccia-qemu-aa90d775f0f568239f2a6bd3ead7e8d3b4a35a57.tar.gz
focaccia-qemu-aa90d775f0f568239f2a6bd3ead7e8d3b4a35a57.zip
vfio: Introduce a new header file for VFIOcontainer declarations
Gather all VFIOcontainer related declarations into
"hw/vfio/vfio-container.h" to reduce exposure of VFIO internals in
"hw/vfio/vfio-common.h". These declarations were initially introduced
in commit 65501a745dba ("vfio: vfio-pci device assignment driver").
They are made available externally for PPC and s390x.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-12-clg@redhat.com
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-13-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/ppc')
-rw-r--r--hw/ppc/spapr_pci_vfio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/spapr_pci_vfio.c b/hw/ppc/spapr_pci_vfio.c
index 76b2a3487b..1722a5bfa3 100644
--- a/hw/ppc/spapr_pci_vfio.c
+++ b/hw/ppc/spapr_pci_vfio.c
@@ -25,6 +25,7 @@
 #include "hw/pci/msix.h"
 #include "hw/pci/pci_device.h"
 #include "hw/vfio/vfio-common.h"
+#include "hw/vfio/vfio-container.h"
 #include "qemu/error-report.h"
 #include CONFIG_DEVICES /* CONFIG_VFIO_PCI */