diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-24 21:03:48 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-05-18 19:21:00 +0200 |
commit | 46d702b106d20beda2fcd0f96ddc44855ba262b3 (patch) | |
tree | ce122bd7827f2bcc9120e28fb1bf63b498f18fd4 /exec.c | |
parent | 51180423a226adbd80d64bf75b8522256b1266f1 (diff) |
migration: Make savevm.c target independent
It only needed TARGET_PAGE_SIZE/BITS/BITS_MIN values, so just export
them from exec.h
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -3444,6 +3444,15 @@ size_t qemu_target_page_size(void) return TARGET_PAGE_SIZE; } +int qemu_target_page_bits(void) +{ + return TARGET_PAGE_BITS; +} + +int qemu_target_page_bits_min(void) +{ + return TARGET_PAGE_BITS_MIN; +} #endif /* |