]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Add alternative detection of QEMU_CAPS_NUMA
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Aug 2021 14:28:15 +0000 (16:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 18 Aug 2021 07:58:11 +0000 (09:58 +0200)
commit556bfdb85daeae19b99ef699b74096531acecb7d
treec214975a69e65fdae9224ec4b1bc443067122529
parent88f75119232e4b8f60df8de30a0b0e257c87bd2f
qemu: capabilities: Add alternative detection of QEMU_CAPS_NUMA

'set-numa-node' is the command which can set the equivalent parameters
to '-numa' in preconfig mode, so we can use it as witness to see that
-numa is supported.

To ensure that the old detection method is removed once we'll be bumping
qemu support add a comment with the appropriate version check.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c