]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Replace checking for vcpu<->pid mapping availability with a helper
authorPeter Krempa <pkrempa@redhat.com>
Wed, 11 Nov 2015 13:20:04 +0000 (14:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Dec 2015 13:57:12 +0000 (14:57 +0100)
commit220a2d51dea5beb3f5ba4854dabd48c1560d7e21
treeb292219362e778163e7fed40f0da3e88a3167219
parente4bf9a3bccd1d84114543c08162e7a3cd271b3ec
qemu: Replace checking for vcpu<->pid mapping availability with a helper

Add qemuDomainHasVCpuPids to do the checking and replace in place checks
with it.

We no longer need checking whether the thread contains fake data
(vcpupids[0] == vm->pid) as in b07f3d821dfb11a118ee75ea275fd6ab737d9500
and 65686e5a81d654d834d338fceeaf0229b2ca4f0d this was removed.
src/qemu/qemu_cgroup.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c