diff options
author | Peter Xu <peterx@redhat.com> | 2017-06-27 12:10:17 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-06-28 11:18:39 +0200 |
commit | 15c38503253bb9ba9b8efd17662069f69ca2b997 (patch) | |
tree | 75a5779c345665085ff9846e26a521cb39e515c0 /include | |
parent | 71dd4c1a5672cafe9fb89abc83fe2a962f39ec42 (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 'include')
-rw-r--r-- | include/hw/compat.h | 4 | ||||
-rw-r--r-- | include/migration/misc.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h index 1a3fd9443a..08f36004da 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -187,6 +187,10 @@ .value = "off",\ },{\ .driver = "migration",\ + .property = "send-section-footer",\ + .value = "off",\ + },{\ + .driver = "migration",\ .property = "store-global-state",\ .value = "off",\ }, diff --git a/include/migration/misc.h b/include/migration/misc.h index f30db4d778..854c28d9d3 100644 --- a/include/migration/misc.h +++ b/include/migration/misc.h @@ -41,7 +41,6 @@ int64_t self_announce_delay(int round) /* migration/savevm.c */ void dump_vmstate_json_to_file(FILE *out_fp); -void savevm_skip_section_footers(void); /* migration/migration.c */ void migration_object_init(void); |