]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Introduce new files for VFIORegion definitions and declarations
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:50:56 +0000 (08:50 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commit499e53cce9445d23ee1bf54562de558562fc8d22
tree76f2ba59c4c3005382d62c7383982cb611939d1a
parentd4a8f286e991c468489b19e45b959a1920d6890c
vfio: Introduce new files for VFIORegion definitions and declarations

Gather all VFIORegion related declarations and definitions into their
own files to reduce exposure of VFIO internals in "hw/vfio/vfio-common.h".
They were introduced for 'vfio-platform' support in commits
db0da029a185 ("vfio: Generalize region support") and a664477db8da
("hw/vfio/pci: Introduce VFIORegion").

To be noted that the 'vfio-platform' devices have been deprecated and
will be removed in QEMU 10.2. Until then, make the declarations
available externally for 'sysbus-fdt.c'.

Cc: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-12-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/core/sysbus-fdt.c
hw/vfio/helpers.c
hw/vfio/meson.build
hw/vfio/pci.h
hw/vfio/platform.c
hw/vfio/region.c [new file with mode: 0644]
hw/vfio/trace-events
hw/vfio/vfio-display.h
include/hw/vfio/vfio-common.h
include/hw/vfio/vfio-platform.h
include/hw/vfio/vfio-region.h [new file with mode: 0644]