summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2023-11-02 15:12:25 +0800
committerCédric Le Goater <clg@redhat.com>2023-11-06 13:23:23 +0100
commita17879f0e2e82c5e85440eb1c3e8a3eeef469a3e (patch)
tree73ee4514c45eb647c22c9dd644680a7f87886fd1 /include
parent770c3b6e431e5160b81f889ccb76c07dcfeb5da5 (diff)
downloadfocaccia-qemu-a17879f0e2e82c5e85440eb1c3e8a3eeef469a3e.tar.gz
focaccia-qemu-a17879f0e2e82c5e85440eb1c3e8a3eeef469a3e.zip
vfio/spapr: Make vfio_spapr_create/remove_window static
vfio_spapr_create_window calls vfio_spapr_remove_window,
With reoder of definition of the two, we can make
vfio_spapr_create/remove_window static.

No functional changes intended.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/vfio/vfio-common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index ed5a8e4754..87848982bd 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -293,12 +293,6 @@ struct vfio_info_cap_header *
 vfio_get_cap(void *ptr, uint32_t cap_offset, uint16_t id);
 #endif
 
-int vfio_spapr_create_window(VFIOContainer *container,
-                             MemoryRegionSection *section,
-                             hwaddr *pgsize);
-int vfio_spapr_remove_window(VFIOContainer *container,
-                             hwaddr offset_within_address_space);
-
 bool vfio_migration_realize(VFIODevice *vbasedev, Error **errp);
 void vfio_migration_exit(VFIODevice *vbasedev);