mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
6effa87475
commit
12eeb04ab4
5 changed files with 21 additions and 9 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue