]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh-domain: Flip logic in cmdSetvcpus
authorPeter Krempa <pkrempa@redhat.com>
Tue, 13 Aug 2013 09:14:56 +0000 (11:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 13 Aug 2013 09:14:56 +0000 (11:14 +0200)
commit3abb6ec077f7fdc9ac9969b5c33f2c2d270903f3
treea316777646e0f9a4f04e8af4de1250622133b3e7
parent70547bacae7e6ad3555824d8610e78d3ecabb410
virsh-domain: Flip logic in cmdSetvcpus

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