diff options
author | Paolo Bonzini | 2020-10-21 11:39:33 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-10-26 12:08:39 +0100 |
commit | 9f2931bc65ea7a453b8778e00c3c825923d97b75 (patch) | |
tree | d91c83f89930753a6d92371fab7a4db351d636c7 /hw/core | |
parent | win32: boot broken when bind & data dir are the same (diff) | |
download | qemu-9f2931bc65ea7a453b8778e00c3c825923d97b75.tar.gz qemu-9f2931bc65ea7a453b8778e00c3c825923d97b75.tar.xz qemu-9f2931bc65ea7a453b8778e00c3c825923d97b75.zip |
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>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/machine.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c index d740a7e963..7a0b263cda 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -411,24 +411,6 @@ static bool machine_get_suppress_vmdesc(Object *obj, Error **errp) return ms->suppress_vmdesc; } -static void machine_set_enforce_config_section(Object *obj, bool value, - Error **errp) -{ - MachineState *ms = MACHINE(obj); - - warn_report("enforce-config-section is deprecated, please use " - "-global migration.send-configuration=on|off instead"); - - ms->enforce_config_section = value; -} - -static bool machine_get_enforce_config_section(Object *obj, Error **errp) -{ - MachineState *ms = MACHINE(obj); - - return ms->enforce_config_section; -} - static char *machine_get_memory_encryption(Object *obj, Error **errp) { MachineState *ms = MACHINE(obj); @@ -857,11 +839,6 @@ static void machine_class_init(ObjectClass *oc, void *data) object_class_property_set_description(oc, "suppress-vmdesc", "Set on to disable self-describing migration"); - object_class_property_add_bool(oc, "enforce-config-section", - machine_get_enforce_config_section, machine_set_enforce_config_section); - object_class_property_set_description(oc, "enforce-config-section", - "Set on to enforce configuration section migration"); - object_class_property_add_str(oc, "memory-encryption", machine_get_memory_encryption, machine_set_memory_encryption); object_class_property_set_description(oc, "memory-encryption", |