[libvirt] [PATCH 3/4] Remove virConnectPtr from all domain XML parsing/formatting APIs

Daniel Veillard veillard at redhat.com
Wed Feb 10 10:35:39 UTC 2010


On Tue, Feb 09, 2010 at 07:20:34PM +0000, Daniel P. Berrange wrote:
> The virConnectPtr is no longer required for error reporting since
> that is recorded in a thread local. Remove use of virConnectPtr
> from all APIs in domain_conf.{h,c} and update all callers to
> match
> ---
>  src/conf/domain_conf.c      |  763 +++++++++++++++++++------------------------
>  src/conf/domain_conf.h      |   54 +--
>  src/esx/esx_driver.c        |    8 +-
>  src/lxc/lxc_controller.c    |    5 +-
>  src/lxc/lxc_driver.c        |   40 +--
>  src/opennebula/one_driver.c |    8 +-
>  src/openvz/openvz_driver.c  |   10 +-
>  src/phyp/phyp_driver.c      |    4 +-
>  src/qemu/qemu_driver.c      |   76 ++---
>  src/test/test_driver.c      |   30 +-
>  src/uml/uml_driver.c        |   28 +-
>  src/vbox/vbox_tmpl.c        |    8 +-
>  src/xen/xen_driver.c        |    7 +-
>  src/xen/xend_internal.c     |   19 +-
>  src/xen/xm_internal.c       |   17 +-
>  tests/qemuargv2xmltest.c    |    2 +-
>  tests/qemuxml2argvtest.c    |    2 +-
>  tests/qemuxml2xmltest.c     |    4 +-
>  tests/sexpr2xmltest.c       |    2 +-
>  tests/vmx2xmltest.c         |    2 +-
>  tests/xmconfigtest.c        |    4 +-
>  tests/xml2sexprtest.c       |    2 +-
>  tests/xml2vmxtest.c         |    2 +-
>  23 files changed, 485 insertions(+), 612 deletions(-)
> 

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