]> xenbits.xensource.com Git - libvirt.git/commit
qemu: add vcpu.n.halted to vcpu domain stats
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Thu, 13 Oct 2016 11:42:46 +0000 (13:42 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 24 Oct 2016 22:52:36 +0000 (18:52 -0400)
commit7a51d9ebbd592e0536a8267da750f3c63af266ee
tree79b960c265698f1717845550b2770308aedd5f8d
parent08f22976b150f34aefeb545155472313e90bcfca
qemu: add vcpu.n.halted to vcpu domain stats

Extended qemuDomainGetStatsVcpu to include the per vcpu halted
indicator if reported by QEMU. The key for new boolean value
has the format "vcpu.<n>.halted".

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
src/qemu/qemu_driver.c