On Tue, Mar 18, 2025 at 10:53:53AM +0100, Cédric Le Goater wrote: > Gather all VFIORegion related declarations and definitions into their > own files to reduce exposure of VFIO internals in "hw/vfio/vfio-common.h". > > These declarations are made available externally (for "sysbus-fdt.c"). > This is for 'vfio-platform' devices which have been deprecated and > will be removed in QEMU 10.2. > > Signed-off-by: Cédric Le Goater <c...@redhat.com>
> diff --git a/hw/vfio/region.c b/hw/vfio/region.c > new file mode 100644 > index > 0000000000000000000000000000000000000000..3e174c3dcb0b699fd0cee00d104250d8ae97f698 > --- /dev/null > +++ b/hw/vfio/region.c > @@ -0,0 +1,395 @@ > +/* > + * low level and IOMMU backend agnostic helpers used by VFIO devices, > + * related to regions, interrupts, capabilities This file comment should just refer to regions now. regards john