diff options
| author | Thomas Huth <thuth@redhat.com> | 2018-09-20 09:22:07 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2018-09-25 17:26:17 +0200 |
| commit | 91c082ad86e96ee342faaa024d46fd3e6242a98e (patch) | |
| tree | efd3d2575ad3a2f1139e8b2070b47360c34b10b5 /hw/core/machine.c | |
| parent | 68cb29ea6585c6fb87ee598583c561cde246873b (diff) | |
| download | focaccia-qemu-91c082ad86e96ee342faaa024d46fd3e6242a98e.tar.gz focaccia-qemu-91c082ad86e96ee342faaa024d46fd3e6242a98e.zip | |
hw/core/machine: Officially deprecate the enforce-config-section parameter
Commit 16f7244842b5135543ef068a1adafd94c6965953 added this parameter to the documentation, including a note that it is deprecated. But it has never been added to the "Deprecated features" appendix, which is our official way to deprecate legacy parameters. So let's do this now. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
| -rw-r--r-- | hw/core/machine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c index 6b68e1218f..1987557833 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -324,6 +324,9 @@ static void machine_set_enforce_config_section(Object *obj, bool value, { 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; } |