include/hw/vfio/vfio-container.h: rename file to vfio-container-legacy.h
With the rename of VFIOContainer to VFIOLegacyContainer, the vfio-container.h header file containing the struct definition is misleading. Rename it from vfio-container.h to vfio-container-legacy.h accordingly, fixing up the name of the include guard at the same time. Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250925113159.1760317-4-mark.caveayland@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
e2e269d580
commit
07cbbfb108
6 changed files with 8 additions and 8 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#include "hw/pci-host/spapr.h"
|
||||
#include "hw/pci/msix.h"
|
||||
#include "hw/pci/pci_device.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-container-legacy.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include CONFIG_DEVICES /* CONFIG_VFIO_PCI */
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include "hw/s390x/s390-pci-clp.h"
|
||||
#include "hw/s390x/s390-pci-vfio.h"
|
||||
#include "hw/vfio/pci.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-container-legacy.h"
|
||||
#include "hw/vfio/vfio-helpers.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#include "migration/cpr.h"
|
||||
#include "migration/blocker.h"
|
||||
#include "pci.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-container-legacy.h"
|
||||
#include "vfio-helpers.h"
|
||||
#include "vfio-listener.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include <linux/vfio.h>
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-container-legacy.h"
|
||||
#include "hw/vfio/vfio-device.h"
|
||||
#include "hw/vfio/vfio-listener.h"
|
||||
#include "migration/blocker.h"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#include "system/hostmem.h"
|
||||
#include "system/address-spaces.h"
|
||||
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-container-legacy.h"
|
||||
#include "hw/hw.h"
|
||||
#include "system/ram_addr.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef HW_VFIO_CONTAINER_H
|
||||
#define HW_VFIO_CONTAINER_H
|
||||
#ifndef HW_VFIO_CONTAINER_LEGACY_H
|
||||
#define HW_VFIO_CONTAINER_LEGACY_H
|
||||
|
||||
#include "hw/vfio/vfio-container-base.h"
|
||||
#include "hw/vfio/vfio-cpr.h"
|
||||
|
|
@ -36,4 +36,4 @@ struct VFIOLegacyContainer {
|
|||
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(VFIOLegacyContainer, VFIO_IOMMU_LEGACY);
|
||||
|
||||
#endif /* HW_VFIO_CONTAINER_H */
|
||||
#endif /* HW_VFIO_CONTAINER_LEGACY_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue