[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 04/13] hw/core/machine: Officially deprecate the enfo
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PULL 04/13] hw/core/machine: Officially deprecate the enforce-config-section parameter |
Date: |
Tue, 25 Sep 2018 18:03:38 +0200 |
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 <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
hw/core/machine.c | 3 +++
qemu-deprecated.texi | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/hw/core/machine.c b/hw/core/machine.c
index 6b68e12..1987557 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;
}
diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi
index 9b918f0..16ff946 100644
--- a/qemu-deprecated.texi
+++ b/qemu-deprecated.texi
@@ -35,6 +35,11 @@ which is the default.
@section System emulator command line arguments
address@hidden -machine enforce-config-section=on|off (since 3.1)
+
+The @option{enforce-config-section} parameter is replaced by the
address@hidden address@hidden|off}} option.
+
@subsection -no-kvm (since 1.3.0)
The ``-no-kvm'' argument is now a synonym for setting
--
1.8.3.1
- [Qemu-devel] [PULL 00/13] Deprecation, qtests and some trivial doc updates, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 01/13] Makefile: Add missing dependency for qemu-deprecated.texi, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 04/13] hw/core/machine: Officially deprecate the enforce-config-section parameter,
Thomas Huth <=
- [Qemu-devel] [PULL 03/13] net/slirp: Deprecate the [hub_id name] parameter tuple, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 05/13] memfd: fix possible usage of the uninitialized file descriptor, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 06/13] trivial: Make bios files and source files non-executable, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 02/13] net: Deprecate the "name" parameter of -net, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 07/13] docs: Fix some typos (most found by codespell), Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 08/13] qdev: fix a typo in comment, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 09/13] hw/qdev-core: Fix description of instance_init, Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 12/13] Revert "check: Move endianess test to common", Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 11/13] Revert "check: Move wdt_ib700 test to common", Thomas Huth, 2018/09/25
- [Qemu-devel] [PULL 10/13] tests/migration: Speed up the test on ppc64, Thomas Huth, 2018/09/25