[libvirt] [PATCH] virsh-domain: Flip logic in cmdSetvcpus

Peter Krempa pkrempa at redhat.com
Tue Aug 13 12:28:18 UTC 2013


On 08/13/13 12:03, Ján Tomko wrote:
> On 08/13/2013 11:22 AM, Peter Krempa wrote:
>> To avoid having to assign a failure code to the returned variable switch
>> this function to negative logic. This will fix issue with invalid number
>> of cpus returning success return code.
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=996466
>> ---
>>  tools/virsh-domain.c | 17 ++++++++---------
>>  1 file changed, 8 insertions(+), 9 deletions(-)
>>
> 
> ACK, nice reduction.
> 
> Jan

Pushed. Thanks.

Peter


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


More information about the libvir-list mailing list