[libvirt] [PATCH 5/8] Remove virConnectPtr from CPU XML APIs

Daniel Veillard veillard at redhat.com
Wed Feb 10 14:17:59 UTC 2010


On Wed, Feb 10, 2010 at 01:36:23PM +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 cpu_conf.{h,c} and update all callers to
> match
> ---
>  src/conf/capabilities.c |    2 +-
>  src/conf/cpu_conf.c     |   54 ++++++++++++++++++++-----------------------
>  src/conf/cpu_conf.h     |   12 +++------
>  src/conf/domain_conf.c  |    4 +-
>  src/cpu/cpu.c           |   58 ++++++++++++++++++++--------------------------
>  src/cpu/cpu.h           |   27 ++++++++-------------
>  src/cpu/cpu_map.c       |    8 +++---
>  src/cpu/cpu_x86.c       |   24 +++++++++---------
>  src/qemu/qemu_conf.c    |   14 +++++-----
>  src/qemu/qemu_driver.c  |    2 +-
>  10 files changed, 91 insertions(+), 114 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