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

Guannan Ren gren at redhat.com
Tue Aug 27 07:09:10 UTC 2013


On 08/26/2013 10:05 PM, Eric Blake wrote:
> 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.
>

Thanks, pushed

Guannan




More information about the libvir-list mailing list