]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Pass the correct cpu count when calling virDomainGetCPUStats.
authorNitesh Konkar <niteshkonkar.libvirt@gmail.com>
Fri, 1 Apr 2016 06:05:04 +0000 (02:05 -0400)
committerJán Tomko <jtomko@redhat.com>
Fri, 1 Apr 2016 09:36:04 +0000 (11:36 +0200)
commitd9a0a885e2b1cf3c9fc5260f9cdf4fc8a768f26c
tree8b968d91ac540dd73a6449767cdaddbcd4cdd11b
parentabf50874d63d25f41d588036d1444ece5a067e46
Pass the correct cpu count when calling virDomainGetCPUStats.

When using the --start option, the show_count should not be set to
max_id as the --start <cpu> means we dont need those many initial cpu
stats. Hence, show_count should be adjusted accordingly.

https://bugzilla.redhat.com/show_bug.cgi?id=1249441

Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
tools/virsh-domain.c