aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2017-06-27 12:10:17 +0800
committerJuan Quintela <quintela@redhat.com>2017-06-28 11:18:39 +0200
commit15c38503253bb9ba9b8efd17662069f69ca2b997 (patch)
tree75a5779c345665085ff9846e26a521cb39e515c0 /migration/migration.h
parent71dd4c1a5672cafe9fb89abc83fe2a962f39ec42 (diff)
migration: move skip_section_footers
Move it into MigrationState, revert its meaning and renaming it to send_section_footer, with a property bound to it. Same trick is played like previous patches. Removing savevm_skip_section_footers(). Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <1498536619-14548-9-git-send-email-peterx@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r--migration/migration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/migration.h b/migration/migration.h
index 4d4ea0debf..994b017015 100644
--- a/migration/migration.h
+++ b/migration/migration.h
@@ -145,6 +145,8 @@ struct MigrationState
/* Whether we send QEMU_VM_CONFIGURATION during migration */
bool send_configuration;
+ /* Whether we send section footer during migration */
+ bool send_section_footer;
};
void migrate_set_state(int *state, int old_state, int new_state);