summary refs log tree commit diff stats
path: root/migration/ram.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-30 09:08:54 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-10-07 05:03:56 +0200
commit4db362f68c7cd28a6b1aa2f9ada68aa3556f9613 (patch)
tree2569911d2674ac58a36500c75d1069b567a46e65 /migration/ram.c
parentaa60bdb700f4afa8577a495c734870516910864f (diff)
downloadfocaccia-qemu-4db362f68c7cd28a6b1aa2f9ada68aa3556f9613.tar.gz
focaccia-qemu-4db362f68c7cd28a6b1aa2f9ada68aa3556f9613.zip
system/physmem: Extract API out of 'system/ram_addr.h' header
Very few files use the Physical Memory API. Declare its
methods in their own header: "system/physmem.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20251001175448.18933-19-philmd@linaro.org>
Diffstat (limited to 'migration/ram.c')
-rw-r--r--migration/ram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/ram.c b/migration/ram.c
index ba01654228..5eef2efc78 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -53,6 +53,7 @@
 #include "qemu/rcu_queue.h"
 #include "migration/colo.h"
 #include "system/cpu-throttle.h"
+#include "system/physmem.h"
 #include "system/ramblock.h"
 #include "savevm.h"
 #include "qemu/iov.h"