]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add support for resctrl
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 10 Nov 2017 12:21:51 +0000 (13:21 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 25 Jan 2018 16:16:08 +0000 (17:16 +0100)
commit9a2fc2db8fe18da41c274d52b6e52316a4bbe52d
tree71a8c0739b505f235a21f616725b4d3f36cfb3fb
parentae885bb52089b1d367e7ac1ed5d8d683e0bfefbd
qemu: Add support for resctrl

We've been building up to this.  This adds support for cputune/cachetune
settings for domains in the QEMU driver.  The addition into
qemuProcessSetupVcpu() automatically adds support for hotplug.  For hot-unplug
we need to remove the allocation only if all the vCPUs were unplugged.  But
since the threads are left running, we can't really do much about it now.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1289368

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_process.c