[PATCH] numa: forbid '-numa node, mem' for 5.1 and newer machine types

Michal Privoznik mprivozn at redhat.com
Thu Jun 4 09:09:31 UTC 2020


On 6/2/20 10:41 AM, Igor Mammedov wrote:
> Deprecation period is run out and it's a time to flip the switch
> introduced by cd5ff8333a.  Disable legacy option for new machine
> types (since 5.1) and amend documentation.
> 
> '-numa node,memdev' shall be used instead of disabled option
> with new machine types.
> 
> Signed-off-by: Igor Mammedov <imammedo at redhat.com>
> ---
>   - rebased on top of current master
>   - move compat mode from 4.2 to 5.0
> 
> CC: peter.maydell at linaro.org
> CC: ehabkost at redhat.com
> CC: marcel.apfelbaum at gmail.com
> CC: mst at redhat.com
> CC: pbonzini at redhat.com
> CC: rth at twiddle.net
> CC: david at gibson.dropbear.id.au
> CC: libvir-list at redhat.com
> CC: qemu-arm at nongnu.org
> CC: qemu-ppc at nongnu.org
> ---
>   docs/system/deprecated.rst | 17 -----------------
>   hw/arm/virt.c              |  2 +-
>   hw/core/numa.c             |  6 ++++++
>   hw/i386/pc.c               |  1 -
>   hw/i386/pc_piix.c          |  1 +
>   hw/i386/pc_q35.c           |  1 +
>   hw/ppc/spapr.c             |  2 +-
>   qemu-options.hx            |  9 +++++----
>   8 files changed, 15 insertions(+), 24 deletions(-)

This works with libvirt perfectly.

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list