[libvirt] [PATCH] virsh: correct the cmdDomIfGetLink function return value error

Alex Jia ajia at redhat.com
Thu Dec 8 09:31:03 UTC 2011


On 12/08/2011 05:25 PM, Peter Krempa wrote:
> On 12/08/2011 07:30 AM, ajia at redhat.com wrote:
>> From: Alex Jia<ajia at redhat.com>
>>
>> * tools/virsh.c: Although finding interface with matching mac addr, 
>> forgot to
>> set 'ret' boolean value to 'true'.
>>
>> * how to reproduce?
>>    % virsh domif-getlink<guest name> <interface mac>
>>    % echo $?
>>
>> Signed-off-by: Alex Jia<ajia at redhat.com>
>> ---
>
> Your patch failed to apply as the context is ambigous with a function 
> not far away from this. Also 3-way merge failed due to invalid git 
> hashes. You probably had more patches on a branch which are not upstream.
>
> Anyways, thanks for finding this. I'm going to push a fix based on 
> your patch.
>
>
>
Peter, thanks, you probably need to ACK '[libvirt][PATCH] virsh: plug 
memory leak on cmdBlkdeviotune() sucessful path' and '[libvirt][PATCH] 
virsh: plug memory leak on cmdDomIfGetLink() sucessful path' firstly, 
and Osier have given a ACKed.

Alex




More information about the libvir-list mailing list