aboutsummaryrefslogtreecommitdiff
path: root/include/exec/target_page.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-24 21:03:48 +0200
committerJuan Quintela <quintela@redhat.com>2017-05-18 19:21:00 +0200
commit46d702b106d20beda2fcd0f96ddc44855ba262b3 (patch)
treece122bd7827f2bcc9120e28fb1bf63b498f18fd4 /include/exec/target_page.h
parent51180423a226adbd80d64bf75b8522256b1266f1 (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 'include/exec/target_page.h')
-rw-r--r--include/exec/target_page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exec/target_page.h b/include/exec/target_page.h
index 626eda8029..96726c36a4 100644
--- a/include/exec/target_page.h
+++ b/include/exec/target_page.h
@@ -15,5 +15,7 @@
#define EXEC_TARGET_PAGE_H
size_t qemu_target_page_size(void);
+int qemu_target_page_bits(void);
+int qemu_target_page_bits_min(void);
#endif