aboutsummaryrefslogtreecommitdiff
path: root/migration/savevm.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-06-28 11:52:26 +0200
committerDr. David Alan Gilbert <dgilbert@redhat.com>2017-07-10 17:52:21 +0100
commitacb5ea86971a7f3d0eac30996c4d0eab7b873879 (patch)
tree34a5d6dc816da696f607201a907fd3fbbc4d8dcf /migration/savevm.h
parent70f794fcfa7c1b9d7af465d124a0e6175da30e39 (diff)
migration: Create load_setup()/cleanup() methods
We need to do things at load time and at cleanup time. Signed-off-by: Juan Quintela <quintela@redhat.com> -- Move the printing of the error message so we can print the device giving the error. Add call to postcopy stuff Message-Id: <20170628095228.4661-4-quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/savevm.h')
-rw-r--r--migration/savevm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/savevm.h b/migration/savevm.h
index 6babc6221a..295c4a1f2c 100644
--- a/migration/savevm.h
+++ b/migration/savevm.h
@@ -53,5 +53,6 @@ void qemu_savevm_send_postcopy_ram_discard(QEMUFile *f, const char *name,
uint64_t *length_list);
int qemu_loadvm_state(QEMUFile *f);
+void qemu_loadvm_state_cleanup(void);
#endif