[libvirt] [PATCH 3/7] Clean up error handling in qemudDomainAttachNetDevice()

Daniel Veillard veillard at redhat.com
Mon Jul 27 08:47:07 UTC 2009


On Wed, Jul 22, 2009 at 10:57:32PM +0100, Mark McLoughlin wrote:
> In subsequent patches we're going to have a file descriptor to close
> too, so centralize the error handling cleanups to make things easier.
> 
> * src/qemu_conf.c: in qemudDomainAttachNetDevice() consolidate the
>   error handling cleanups together

  Okay, having a more standard error handling mechanism with centralized
exits looks better, ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list