]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: vcpuinfo: Report proper vcpu numbers and data for offline VMs
authorPeter Krempa <pkrempa@redhat.com>
Tue, 11 Oct 2016 16:03:50 +0000 (18:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 12 Oct 2016 15:29:07 +0000 (17:29 +0200)
commita62655f9c33a8f7c6257779ddbdbf1352d53a526
tree1cbe896b738913cce271ab94c4e0dc6c67092a6c
parentc946a30af21c46673de83f7b1c51394db085d06c
virsh: vcpuinfo: Report proper vcpu numbers and data for offline VMs

If the VM is offline virsh attempted to at least report the pinning
information for the VM. This would not work properly now that the vcpus
can be sparse. Fix it by getting the vcpu states from the XML.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1375920
tools/virsh-domain.c