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

2013-09-26 Thread Ján Tomko
On 09/24/2013 10:03 AM, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@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.

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

2013-09-24 Thread Chen Hanxiao
From: Chen Hanxiao chenhanx...@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 chenhanx...@cn.fujitsu.com ---