Re: [libvirt] [PATCH] qemu: fix miss goto cleanup in qemuDomainAttachNetDevice

2015-01-06 Thread Michal Privoznik
On 06.01.2015 10:20, Luyao Huang wrote: This place have a wrong logic, maybe forget goto cleanup. Also fix some small things. Signed-off-by: Luyao Huang --- I am not sure i am right, but hotplug a net do not a address may cause a issue. src/qemu/qemu_hotplug.c | 5 +++-- 1 file changed, 3 i

[libvirt] [PATCH] qemu: fix miss goto cleanup in qemuDomainAttachNetDevice

2015-01-06 Thread Luyao Huang
This place have a wrong logic, maybe forget goto cleanup. Also fix some small things. Signed-off-by: Luyao Huang --- I am not sure i am right, but hotplug a net do not a address may cause a issue. src/qemu/qemu_hotplug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/s