]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Prepare qemuDomainDetectVcpuPids for reuse
authorPeter Krempa <pkrempa@redhat.com>
Thu, 17 Dec 2015 15:04:23 +0000 (16:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Feb 2016 12:10:04 +0000 (13:10 +0100)
commit451b955d62a3e1a41ec7b3edeba39d965f8dbd81
treeb1205630702de65b1ba2ad2b82dd79cbd41319fe
parente97d1d20b174f3cf4bc7052d29000999db658de7
qemu: domain: Prepare qemuDomainDetectVcpuPids for reuse

Free the old vcpupids array in case when this function is called again
during the run of the VM. It will be later reused in the vCPU hotplug
code. The function now returns the number of detected VCPUs.
src/qemu/qemu_domain.c