diff options
| author | Eduardo Habkost | 2019-06-09 01:34:47 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2019-07-05 22:08:04 +0200 |
| commit | 79974027dc0de4e256b869e2d32168c1a44896d3 (patch) | |
| tree | 237d29554232bb146631b71142675a22293bb4e5 /qapi | |
| parent | vl.c: Add -smp, dies=* command line support and update doc (diff) | |
| download | qemu-79974027dc0de4e256b869e2d32168c1a44896d3.tar.gz qemu-79974027dc0de4e256b869e2d32168c1a44896d3.tar.xz qemu-79974027dc0de4e256b869e2d32168c1a44896d3.zip | |
qmp: Add deprecation information to query-machines
Export machine type deprecation status through the query-machines
QMP command. With this, libvirt and management software will be
able to show this information to users and/or suggest changes to
VM configuration to avoid deprecated machines.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190608233447.27970-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/machine.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qapi/machine.json b/qapi/machine.json index 78d34ef717..6db8a7e2ec 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -321,12 +321,17 @@ # @numa-mem-supported: true if '-numa node,mem' option is supported by # the machine type and false otherwise (since 4.1) # +# @deprecated: if true, the machine type is deprecated and may be removed +# in future versions of QEMU according to the QEMU deprecation +# policy (since 4.1.0) +# # Since: 1.2.0 ## { 'struct': 'MachineInfo', 'data': { 'name': 'str', '*alias': 'str', '*is-default': 'bool', 'cpu-max': 'int', - 'hotpluggable-cpus': 'bool', 'numa-mem-supported': 'bool'} } + 'hotpluggable-cpus': 'bool', 'numa-mem-supported': 'bool', + 'deprecated': 'bool' } } ## # @query-machines: |
