mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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 commitsdb0da029a1
("vfio: Generalize region support") anda664477db8
("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>
This commit is contained in:
parent
d4a8f286e9
commit
499e53cce9
11 changed files with 458 additions and 401 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "hw/platform-bus.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "system/kvm.h"
|
||||
#include "hw/vfio/vfio-region.h"
|
||||
|
||||
/*
|
||||
* Functions used whatever the injection method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue