]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: vcpu: Reuse qemuProcessSetupVcpu in vcpu hotplug
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Jan 2016 16:00:54 +0000 (17:00 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Feb 2016 16:05:00 +0000 (17:05 +0100)
commitc6bd15026bc14c7a3a6c9f6d8d9758fdefbf81fe
tree7e6d67a164a035b94616e9cf257188deb5d9aba4
parent56971667ee4a5a5f68987be84b3c1461537451de
qemu: vcpu: Reuse qemuProcessSetupVcpu in vcpu hotplug

Since majority of the steps is shared, the function can be reused to
simplify code.

Additionally this resolves
https://bugzilla.redhat.com/show_bug.cgi?id=1244128 since the cpu
bandwidth limiting with cgroups would not be set on the hotplug path.

Additionally the code now sets the thread affinity and honors autoCpuset
as in the regular startup code path.
src/qemu/qemu_driver.c