]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildNumaArgStr: Use modern -numa memdev= if old -numa mem= is unsupported
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 May 2020 11:56:54 +0000 (13:56 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 18 May 2020 08:36:10 +0000 (10:36 +0200)
commitaad31f46fba665ec8eef65372f845e5f04f43cc5
treede6ac7f51f643dde56895285b132f25e4e104308
parent0246a4f0a72d911991d5069079fda4f038f59995
qemuBuildNumaArgStr: Use modern -numa memdev= if old -numa mem= is unsupported

In previous commit we started tracking whether QEMU supports
'-numa mem='. This is tied to the machine type because migration
from '-numa mem=' to '-numa memdev' is impossible (or vice
versa). But since it's tied to a machine type (where migration
from one to another is also unsupported) we can allow QEMU to get
rid of the deprecated command line.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1783355
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c