[libvirt] [PATCH 3/8] Remove virConnectPtr from all node device XML APIs

Daniel Veillard veillard at redhat.com
Wed Feb 10 14:16:32 UTC 2010


On Wed, Feb 10, 2010 at 01:36:21PM +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 node_device_conf.{h,c} and update all callers to
> match
> ---
>  src/conf/node_device_conf.c          |  208 +++++++++++++++-------------------
>  src/conf/node_device_conf.h          |   27 ++---
>  src/node_device/node_device_driver.c |   57 ++++-----
>  src/node_device/node_device_hal.c    |    3 +-
>  src/node_device/node_device_udev.c   |    4 +-
>  src/qemu/qemu_driver.c               |    2 +-
>  src/test/test_driver.c               |   44 ++++----
>  src/xen/xen_driver.c                 |    2 +-
>  tests/nodedevxml2xmltest.c           |    4 +-
>  9 files changed, 155 insertions(+), 196 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