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

Ján Tomko jtomko at redhat.com
Thu Sep 26 13:20:13 UTC 2013


On 09/24/2013 10:03 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> 
> 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 at cn.fujitsu.com>
> ---
>  src/qemu/qemu_driver.c  | 2 +-
>  src/qemu/qemu_hotplug.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

ACK and pushed.

Jan




More information about the libvir-list mailing list