]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Improve vCPU data checking in qemuDomainRefreshVcpu
authorPeter Krempa <pkrempa@redhat.com>
Fri, 8 Jul 2016 13:39:32 +0000 (15:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Aug 2016 06:08:31 +0000 (08:08 +0200)
commit2bdc300a34f07a43cc1362e785c2bfdcfc73bf31
tree83abd2492ee91d661d7eb712b4ab919facdaa2f5
parent5965fa759c1b97be7e00369eff285f0af3eb2b15
qemu: domain: Improve vCPU data checking in qemuDomainRefreshVcpu

Validate the presence of the thread id according to state of the vCPU
rather than just checking the vCPU count. Additionally put the new
validation code into a separate function so that the information
retrieval can be split from the validation.
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h