]> xenbits.xensource.com Git - libvirt.git/commit
qemu: don't pin all the cpus
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 4 Sep 2012 13:26:46 +0000 (15:26 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 5 Sep 2012 17:25:10 +0000 (19:25 +0200)
commit9f86fb932654d2e89db302fbd0f36288daed2cda
treeb8c2157633089350e80fe9d6413aba4a5591bcb7
parent60efb600187f65d6db4a2a546a1e392257a7f4c6
qemu: don't pin all the cpus

This is another fix for the emulator-pin series. When going through
the cputune pinning settings, the current code is trying to pin all
the CPUs, even when not all of them are specified. This causes error
in the subsequent function which, of course, cannot find the cpu to
pin. Since it's enough to pass the correct VCPU ID to the function,
the fix is trivial.
src/qemu/qemu_cgroup.c