]> git.proxmox.com Git - mirror_qemu.git/commit
machine: show if CLI option '-numa node,mem' is supported in QAPI schema
authorIgor Mammedov <imammedo@redhat.com>
Mon, 10 Jun 2019 13:10:07 +0000 (15:10 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:03 +0000 (17:08 -0300)
commitcd5ff8333a3c8742c7e178a1a6ff0b921cebacda
tree8d8c224c32430564bbb5acc576af913b865be845
parentfc3b77e20d002fb434be726f2328a17fd5edecb7
machine: show if CLI option '-numa node,mem' is supported in QAPI schema

Legacy '-numa node,mem' option has a number of issues and mgmt often
defaults to it. Unfortunately it's no possible to replace it with
an alternative '-numa memdev' without breaking migration compatibility.
What's possible though is to deprecate it, keeping option working with
old machine types only.

In order to help users to find out if being deprecated CLI option
'-numa node,mem' is still supported by particular machine type, add new
"numa-mem-supported" property to output of query-machines.

"numa-mem-supported" is set to 'true' for machines that currently support
NUMA, but it will be flipped to 'false' later on, once deprecation period
expires and kept 'true' only for old machine types that used to support
the legacy option so it won't break existing configuration that are using
it.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1560172207-378962-1-git-send-email-imammedo@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/arm/virt.c
hw/core/machine-qmp-cmds.c
hw/i386/pc.c
hw/ppc/spapr.c
include/hw/boards.h
qapi/machine.json