]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Introduce a new header file for VFIOcontainer declarations
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:50:57 +0000 (08:50 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commitaa90d775f0f568239f2a6bd3ead7e8d3b4a35a57
tree1777f5a30bae25480105ea19cea537aaf53ce49d
parent499e53cce9445d23ee1bf54562de558562fc8d22
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>
hw/ppc/spapr_pci_vfio.c
hw/s390x/s390-pci-vfio.c
hw/vfio/container.c
hw/vfio/spapr.c
include/hw/vfio/vfio-common.h
include/hw/vfio/vfio-container.h [new file with mode: 0644]