[libvirt] [PATCH] virsh: fix return value error of cpu-stats

Eric Blake eblake at redhat.com
Mon Aug 26 14:05:48 UTC 2013


On 08/23/2013 04:22 AM, Guannan Ren wrote:
> virsh cpu-stats guest --start 0 --count 3
> It outputs right but the return value is 1 rather than 0
> echo $?
> 1
> 
> Found by running libvirt-autotest
> ./run -t libvirt --tests virsh_cpu_stats
> ---
>  tools/virsh-domain.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130826/9163cb70/attachment-0001.sig>


More information about the libvir-list mailing list