Re: [PATCH 01/19] libxl_migration: Resolve Coverity NULL_RETURNS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 08/28/2014 11:20 AM, Jim Fehlig wrote:
> John Ferlan wrote:

>>>     
>>
>> I am going to remove this one from my series and let you handle it.
>>   
> 
> After looking at the code again, I think it is safest to go with your patch.
> 
>> I would seem perhaps that the code was there to ensure that if either of
>> the calls to virDomainObjSetState() ended up resulting in 'dom' not
>> returning something from the virGetDomain(), then like perhaps the qemu
>> migration code, the "best choice" was to remove it.
> 
> Yep, agreed.  I haven't convinced myself that it is impossible for
> virGetDomain() to return a NULL domainPtr, but in the event it does I
> agree it is best to remove the domain.
> 
> Regards,
> Jim
> 

Close enough to an ACK for me ;-)

I've pushed the change

Thanks

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]