]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_capabilities: Introduce QEMU_CAPS_THREAD_CONTEXT
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 4 Aug 2022 07:54:16 +0000 (09:54 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Nov 2022 10:28:45 +0000 (11:28 +0100)
commitd5320907e34e26f8c05dd9827dbed1cf24397be6
treef22733860773bc4f6624904d79da1c0196170930
parent433587d1de8b9ac21ccbc99c067802ef2e7ac053
qemu_capabilities: Introduce QEMU_CAPS_THREAD_CONTEXT

In its commit v7.1.0-1429-g7208429223 QEMU gained new object
thread-context, which allows running specialized tasks with
affinity set to a given subset of host CPUs/NUMA nodes. Even
though only memory allocation task accepts this new object, it's
exactly what we aim to implement in libvirt. Therefore, introduce
a new capability to track whether QEMU is capable of this object.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_7.2.0.x86_64.xml