]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: vcpuinfo: Report vcpu number from the structure rather than it's position
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Aug 2016 18:48:52 +0000 (14:48 -0400)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 26 Aug 2016 15:23:00 +0000 (11:23 -0400)
commit64f26276bfb2c4c01a3fc007e5449c9ca3d93de2
tree538b37bae25347205f883623b7f09550fe898fd2
parent0c3e499c781cf2e7391cbf381fbfd443fea8ecfd
virsh: vcpuinfo: Report vcpu number from the structure rather than it's position

virVcpuInfo contains the vcpu number that the data refers to. Report
what's returned by the daemon rather than the sequence number as with
sparse vcpu topologies they won't match.
tools/virsh-domain.c