mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
71dd4c1a56
commit
15c3850325
8 changed files with 15 additions and 15 deletions
|
@ -138,9 +138,6 @@ static int xen_init(MachineState *ms)
|
|||
return -1;
|
||||
}
|
||||
qemu_add_vm_change_state_handler(xen_change_state_handler, NULL);
|
||||
|
||||
savevm_skip_section_footers();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -155,6 +152,11 @@ static GlobalProperty xen_compat_props[] = {
|
|||
.property = "send-configuration",
|
||||
.value = "off",
|
||||
},
|
||||
{
|
||||
.driver = "migration",
|
||||
.property = "send-section-footer",
|
||||
.value = "off",
|
||||
},
|
||||
{ /* end of list */ },
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue