aboutsummaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-04-03 08:23:19 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-04-15 20:14:54 +0000
commitadc56dda0c4eed62149d28939b7d7e329ad95ae8 (patch)
tree399fd7450310e3058b18bb45da7190dd814a3123 /migration.h
parent17a4663e2dddbac36126a6fd7048634a4c95fa6e (diff)
migration: move some declarations to migration.h
Move a few migration related declarations to migration.h. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/migration.h b/migration.h
index 21707922ef..050c56c5a4 100644
--- a/migration.h
+++ b/migration.h
@@ -139,4 +139,13 @@ void add_migration_state_change_notifier(Notifier *notify);
void remove_migration_state_change_notifier(Notifier *notify);
int get_migration_state(void);
+uint64_t ram_bytes_remaining(void);
+uint64_t ram_bytes_transferred(void);
+uint64_t ram_bytes_total(void);
+
+int ram_save_live(Monitor *mon, QEMUFile *f, int stage, void *opaque);
+int ram_load(QEMUFile *f, void *opaque, int version_id);
+
+extern int incoming_expected;
+
#endif