]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
include/system: Move exec/ram_addr.h to system/ram_addr.h
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 13 Mar 2025 00:42:03 +0000 (17:42 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 21:08:24 +0000 (14:08 -0700)
Convert the existing includes with sed.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
23 files changed:
MAINTAINERS
accel/kvm/kvm-all.c
accel/tcg/cputlb.c
accel/tcg/translate-all.c
hw/ppc/spapr.c
hw/ppc/spapr_caps.c
hw/ppc/spapr_pci.c
hw/remote/memory.c
hw/remote/proxy-memory-listener.c
hw/s390x/s390-stattrib-kvm.c
hw/s390x/s390-stattrib.c
hw/s390x/s390-virtio-ccw.c
hw/vfio/common.c
hw/vfio/container.c
hw/vfio/spapr.c
hw/virtio/virtio-mem.c
include/system/ram_addr.h [moved from include/exec/ram_addr.h with 99% similarity]
migration/ram.c
system/memory.c
system/physmem.c
target/arm/tcg/mte_helper.c
target/ppc/kvm.c
target/s390x/kvm/kvm.c

index 9a96cc1b5edc74bb21196cf61d728a1b077b3508..b1ac3ff7d28c2a84c7f704b8ad08491a42fd33f9 100644 (file)
@@ -3121,7 +3121,7 @@ S: Supported
 F: include/system/ioport.h
 F: include/exec/memop.h
 F: include/system/memory.h
-F: include/exec/ram_addr.h
+F: include/system/ram_addr.h
 F: include/exec/ramblock.h
 F: include/system/memory_mapping.h
 F: system/dma-helpers.c
index 9e06a95f756ffdc1b048e33f14aee2abcaa5ffb9..a30b19f455aa05356264c6865add76ea4c3fe265 100644 (file)
@@ -34,7 +34,7 @@
 #include "system/accel-blocker.h"
 #include "qemu/bswap.h"
 #include "system/memory.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "qemu/event_notifier.h"
 #include "qemu/main-loop.h"
 #include "trace.h"
index 6f0ea9067b028051806495a1ebd24ccc22afb91d..134e523cab31289a5f9b821e6552e8154aeb8b4c 100644 (file)
@@ -27,7 +27,7 @@
 #include "exec/cputlb.h"
 #include "exec/tb-flush.h"
 #include "exec/memory-internal.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "exec/mmu-access-type.h"
 #include "exec/tlb-common.h"
 #include "exec/vaddr.h"
index 16e50435976cea2e467fe727bb6f2f01f7827371..167535bcb1c398d33e67df8ad3ddf33310b4b284 100644 (file)
@@ -40,7 +40,7 @@
 #endif
 #endif
 #else
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #endif
 
 #include "exec/cputlb.h"
index 6fef1d167ae60247be01486b4eb56a31ebbe9ee6..c1a7ac3536fd46c72ea5d6eec8a0ebc34c6ebc8a 100644 (file)
@@ -77,7 +77,7 @@
 #include "hw/virtio/virtio-scsi.h"
 #include "hw/virtio/vhost-scsi-common.h"
 
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "system/confidential-guest-support.h"
 #include "hw/usb.h"
 #include "qemu/config-file.h"
index 815c94ed2ff0392a898f2b888a5d14141882d2ef..f2f5722d8ad4f02de542fc4f37e70459c6e1f7f2 100644 (file)
@@ -27,7 +27,7 @@
 #include "qapi/error.h"
 #include "qapi/visitor.h"
 #include "system/hw_accel.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "target/ppc/cpu.h"
 #include "target/ppc/mmu-hash64.h"
 #include "cpu-models.h"
index e0a9d50edc3df3a04a19fbb48a0d9786371439ed..384269b831f8e8148ff787b0c9349216003822eb 100644 (file)
@@ -34,7 +34,7 @@
 #include "hw/pci/pci_host.h"
 #include "hw/ppc/spapr.h"
 #include "hw/pci-host/spapr.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include <libfdt.h>
 #include "trace.h"
 #include "qemu/error-report.h"
index 6d60da91e01cc7b972dc49291c17dff35da65582..00193a552fa7d735a26ffb994ce459b83445a05e 100644 (file)
@@ -11,7 +11,7 @@
 #include "qemu/osdep.h"
 
 #include "hw/remote/memory.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "qapi/error.h"
 
 static void remote_sysmem_reset(void)
index ce7f5b9bfb5d2152266422a852e1a7bbce642f36..30ac74961dd3a0a7535d4bbd1c1fbaadfe27f1e0 100644 (file)
@@ -12,7 +12,7 @@
 #include "qemu/range.h"
 #include "system/memory.h"
 #include "exec/cpu-common.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "hw/remote/mpqemu-link.h"
index d0ff04364d4c717e7d8693bd85048fc0cd0242b6..ebcd56368f520a15ba0f42ed54a0d125ae5e6774 100644 (file)
@@ -16,7 +16,7 @@
 #include "qemu/error-report.h"
 #include "system/kvm.h"
 #include "system/memory_mapping.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "kvm/kvm_s390x.h"
 #include "qapi/error.h"
 
index 35bf697ef0aa0dbb6b7f02fcb77aaeef4bbd867b..a86002be6a34c11c1a4c4193a91c3e813a368dd0 100644 (file)
@@ -16,7 +16,7 @@
 #include "hw/qdev-properties.h"
 #include "hw/s390x/storage-attributes.h"
 #include "qemu/error-report.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "qapi/error.h"
 #include "qobject/qdict.h"
 #include "cpu.h"
index 5af3c4f547a0057e5a3a93b36e7cb8d8d0776652..52c273b3dea9c0fa8319a5d6eb99f344a631e0a9 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "system/confidential-guest-support.h"
 #include "hw/boards.h"
 #include "hw/s390x/sclp.h"
index 98832af88d168bd1c31e9f179e06e41e0c45c7ea..bae0633c3dea40ff7a0624e723057d42a2d8c00c 100644 (file)
@@ -29,8 +29,7 @@
 #include "hw/vfio/pci.h"
 #include "system/address-spaces.h"
 #include "system/memory.h"
-#include "exec/ram_addr.h"
-#include "exec/target_page.h"
+#include "system/ram_addr.h"
 #include "hw/hw.h"
 #include "qemu/error-report.h"
 #include "qemu/main-loop.h"
index 2e993c7e7334adca03ac9f0f89bcd4d42285fa23..812d5edbcf911911fa896ba3603b91a817ffec6b 100644 (file)
@@ -25,7 +25,7 @@
 #include "hw/vfio/vfio-common.h"
 #include "system/address-spaces.h"
 #include "system/memory.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "qemu/error-report.h"
 #include "qemu/range.h"
 #include "system/reset.h"
index c9a7dd8d68a7610c6f29c0a08acc133e851a3c68..66a2d2bb0dc1b7370ab89075085db185ecc56c40 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "hw/vfio/vfio-common.h"
 #include "hw/hw.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "trace.h"
index 5f57eccbb66e5775d3ca6ce01e5beeea5951ad9b..c7968ee0c61cb8d21ff77c7f9c7308d907c98e56 100644 (file)
@@ -24,7 +24,7 @@
 #include "hw/virtio/virtio-mem.h"
 #include "qapi/error.h"
 #include "qapi/visitor.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "migration/misc.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
similarity index 99%
rename from include/exec/ram_addr.h
rename to include/system/ram_addr.h
index 8677761af5b473407b5e984e7b1e54ad0cbd88ce..3b81c3091f52646c8f66f29c9d443ff5f25876f6 100644 (file)
  * The functions declared here will be removed soon.
  */
 
-#ifndef RAM_ADDR_H
-#define RAM_ADDR_H
+#ifndef SYSTEM_RAM_ADDR_H
+#define SYSTEM_RAM_ADDR_H
 
-#ifndef CONFIG_USER_ONLY
 #include "system/xen.h"
 #include "system/tcg.h"
 #include "exec/cputlb.h"
@@ -559,5 +558,5 @@ uint64_t cpu_physical_memory_sync_dirty_bitmap(RAMBlock *rb,
 
     return num_dirty;
 }
-#endif
+
 #endif
index 424df6d9f133c8e492c8253f7145dc3bd7781cba..6295f675df5cd4f3974459e8379169e531d57b74 100644 (file)
@@ -48,7 +48,7 @@
 #include "qapi/qapi-commands-migration.h"
 #include "qapi/qmp/qerror.h"
 #include "trace.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "exec/target_page.h"
 #include "qemu/rcu_queue.h"
 #include "migration/colo.h"
index a4185ea3535bcc051e7c58802894478e6f0dc3b6..6a5d8530716e493b09598f2e8b189db5b7f65638 100644 (file)
@@ -26,7 +26,7 @@
 #include "trace.h"
 
 #include "exec/memory-internal.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "system/kvm.h"
 #include "system/runstate.h"
 #include "system/tcg.h"
index 234e489199770e46d4c8713af8962e1b7d1f2b3d..307d0764b6d8c0ae107f283ff846f8cc2986a787 100644 (file)
@@ -67,7 +67,7 @@
 #include "system/replay.h"
 
 #include "exec/memory-internal.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 
 #include "qemu/pmem.h"
 
index 5d6d8a17ae89b3c3d08313d4ad06fd27be64a618..80164a805046f3c4e30e4b7071575dfe51b731da 100644 (file)
@@ -27,7 +27,7 @@
 #include "user/cpu_loop.h"
 #include "user/page-protection.h"
 #else
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #endif
 #include "exec/cpu_ldst.h"
 #include "exec/helper-proto.h"
index 992356cb7593cd89b61ed132521c9c2daa03402a..8b12b8e7d28cfd07a7e3b68f12c56ed9a4f959b9 100644 (file)
@@ -41,7 +41,7 @@
 #include "trace.h"
 #include "gdbstub/enums.h"
 #include "exec/memattrs.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "system/hostmem.h"
 #include "qemu/cutils.h"
 #include "qemu/main-loop.h"
index 4d56e653ddf669a9173a27c48a5368952fddb234..b9f1422197621c654c81e4dca50ce751b0421d3e 100644 (file)
@@ -41,7 +41,7 @@
 #include "system/runstate.h"
 #include "system/device_tree.h"
 #include "gdbstub/enums.h"
-#include "exec/ram_addr.h"
+#include "system/ram_addr.h"
 #include "trace.h"
 #include "hw/s390x/s390-pci-inst.h"
 #include "hw/s390x/s390-pci-bus.h"