Re: [PATCH]qemu: virDomainControllerFind may return 0 if controller found

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

 



On 09/24/2013 10:03 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
> 
> The return value of virDomainControllerFind >=0 means that
> the specific controller was found.
> But some functions invoke it and treat 0 as not found.
> This patch fix these incorrect invocation.
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
> ---
>  src/qemu/qemu_driver.c  | 2 +-
>  src/qemu/qemu_hotplug.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

ACK and pushed.

Jan

--
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]