From acb5ea86971a7f3d0eac30996c4d0eab7b873879 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 28 Jun 2017 11:52:26 +0200 Subject: migration: Create load_setup()/cleanup() methods We need to do things at load time and at cleanup time. Signed-off-by: Juan Quintela -- 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 Signed-off-by: Dr. David Alan Gilbert --- migration/savevm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'migration/savevm.h') 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 -- cgit v1.2.3-59-g8ed1b