include/hw/vfio/vfio-container-base.h: rename file to vfio-container.h
With the rename of VFIOContainerBase to VFIOContainer, the vfio-container-base.h header file containing the struct definition is misleading. Rename it from vfio-container-base.h to vfio-container.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-5-mark.caveayland@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
07cbbfb108
commit
ef70eb32b8
6 changed files with 8 additions and 8 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "hw/vfio/vfio-container-base.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio-user/proxy.h"
|
||||
|
||||
/* MMU container sub-class for vfio-user. */
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#include "system/ram_addr.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "hw/vfio/vfio-container-base.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-device.h" /* vfio_device_reset_handler */
|
||||
#include "system/reset.h"
|
||||
#include "vfio-helpers.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef HW_VFIO_VFIO_IOMMUFD_H
|
||||
#define HW_VFIO_VFIO_IOMMUFD_H
|
||||
|
||||
#include "hw/vfio/vfio-container-base.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
|
||||
typedef struct VFIODevice VFIODevice;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef HW_VFIO_CONTAINER_LEGACY_H
|
||||
#define HW_VFIO_CONTAINER_LEGACY_H
|
||||
|
||||
#include "hw/vfio/vfio-container-base.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-cpr.h"
|
||||
|
||||
typedef struct VFIOLegacyContainer VFIOLegacyContainer;
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef HW_VFIO_VFIO_CONTAINER_BASE_H
|
||||
#define HW_VFIO_VFIO_CONTAINER_BASE_H
|
||||
#ifndef HW_VFIO_VFIO_CONTAINER_H
|
||||
#define HW_VFIO_VFIO_CONTAINER_H
|
||||
|
||||
#include "system/memory.h"
|
||||
|
||||
|
|
@ -276,4 +276,4 @@ VFIORamDiscardListener *vfio_find_ram_discard_listener(
|
|||
void vfio_container_region_add(VFIOContainer *bcontainer,
|
||||
MemoryRegionSection *section, bool cpr_remap);
|
||||
|
||||
#endif /* HW_VFIO_VFIO_CONTAINER_BASE_H */
|
||||
#endif /* HW_VFIO_VFIO_CONTAINER_H */
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#include <linux/vfio.h>
|
||||
#endif
|
||||
#include "system/system.h"
|
||||
#include "hw/vfio/vfio-container-base.h"
|
||||
#include "hw/vfio/vfio-container.h"
|
||||
#include "hw/vfio/vfio-cpr.h"
|
||||
#include "system/host_iommu_device.h"
|
||||
#include "system/iommufd.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue