summary refs log tree commit diff stats
path: root/page-target.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-27 18:52:13 -0500
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 15:04:57 -0700
commit12eeb04ab4dd98f802ffc503f0da948a8c843086 (patch)
treee829697b051187074dfb1ff871d60b08366bc41a /page-target.c
parent6effa87475986093007e3f2dcfd1f781de0993b1 (diff)
downloadfocaccia-qemu-12eeb04ab4dd98f802ffc503f0da948a8c843086.tar.gz
focaccia-qemu-12eeb04ab4dd98f802ffc503f0da948a8c843086.zip
page-vary: Move and rename qemu_target_page_bits_min
Rename to migration_legacy_page_bits, to make it clear that
we cannot change the value without causing a migration break.
Move to page-vary.h and page-vary-target.c.
Define via TARGET_PAGE_BITS if not TARGET_PAGE_BITS_VARY.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'page-target.c')
-rw-r--r--page-target.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/page-target.c b/page-target.c
index 321e43d06f..8fcd5443b5 100644
--- a/page-target.c
+++ b/page-target.c
@@ -9,11 +9,6 @@
 #include "qemu/osdep.h"
 #include "exec/target_page.h"
 
-int qemu_target_page_bits_min(void)
-{
-    return TARGET_PAGE_BITS_MIN;
-}
-
 /* Convert target pages to MiB (2**20). */
 size_t qemu_target_pages_to_MiB(size_t pages)
 {