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@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list