]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use thread-context even with numatune's restrictive mode
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 19 May 2023 09:52:27 +0000 (11:52 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 23 May 2023 15:04:08 +0000 (17:04 +0200)
commit1bb439e4b0609aac0cd6ee3b1c0f5a5fcff0cc67
treeb2584e0af9094185394c0cbcf3b1c5ce75c9aaf3
parent1716ec3d36432235f797a3536b6b16b8cbc18858
qemu: Use thread-context even with numatune's restrictive mode

We cannot use host-nodes attribute for it, but there is no reason for us
to skip the preallocation optimisation using thread-context in such
case.  Thankfully returning the proper nodemask from
qemuBuildMemoryBackendProps is enough to trigger this.

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