[libvirt] [PATCH] virsh: fix no error when pass a count <= 0 to setvcpus

lhuang lhuang at redhat.com
Wed Oct 21 09:34:43 UTC 2015



On 10/21/2015 05:28 PM, Andrea Bolognani wrote:
> On Wed, 2015-10-21 at 17:01 +0800, lhuang wrote:
>> Hi peter and andrea,
>>
>> I was fixing some issue in virsh client and find this old problem,
>> can i
>> post a new version of this patch ?
> Right.
>
> I guess you could use my version of the patch as a
> starting point for nicer handling of negative values,
> but make the error message when count == 0 more
> specific as Peter suggested.

Ok, i will use the error peter suggested and the way you handling of 
negative values in a new version.

Thanks a lot for your quick reply.

> Cheers.
>

Luyao




More information about the libvir-list mailing list