mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
machine: remove deprecated -machine enforce-config-section option
Deprecated since 3.1 and complicates the initialization sequence, remove it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7a3b7f6b94
commit
9f2931bc65
5 changed files with 6 additions and 48 deletions
|
@ -145,7 +145,6 @@ static void migrate_fd_cancel(MigrationState *s);
|
|||
|
||||
void migration_object_init(void)
|
||||
{
|
||||
MachineState *ms = MACHINE(qdev_get_machine());
|
||||
Error *err = NULL;
|
||||
|
||||
/* This can only be called once. */
|
||||
|
@ -170,15 +169,6 @@ void migration_object_init(void)
|
|||
error_report_err(err);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/*
|
||||
* We cannot really do this in migration_instance_init() since at
|
||||
* that time global properties are not yet applied, then this
|
||||
* value will be definitely replaced by something else.
|
||||
*/
|
||||
if (ms->enforce_config_section) {
|
||||
current_migration->send_configuration = true;
|
||||
}
|
||||
}
|
||||
|
||||
void migration_shutdown(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue