[libvirt] [PATCH 1/4] Remove passing of virConnectPtr throughout QEMU driver
Daniel Veillard
veillard at redhat.com
Wed Feb 10 10:30:17 UTC 2010
On Tue, Feb 09, 2010 at 07:20:32PM +0000, Daniel P. Berrange wrote:
> The virConnectPtr is no longer required for error reporting since
> that is recorded in a thread local. Rename qemudReportError to
> qemuReportError and remove the conn, dom & net parameters all of
> which are unused. Remove virConnectPtr from all internal QEMU
> driver APIs with exception of APIs which need it to resolve a
> virNetworkPtr into a bridge device name
> ---
> src/qemu/qemu_conf.c | 471 +++++++++---------
> src/qemu/qemu_conf.h | 21 +-
> src/qemu/qemu_driver.c | 1127 +++++++++++++++++++++---------------------
> src/qemu/qemu_monitor.c | 38 +-
> src/qemu/qemu_monitor_json.c | 200 ++++----
> src/qemu/qemu_monitor_text.c | 232 +++++-----
> tests/qemuargv2xmltest.c | 2 +-
> 7 files changed, 1026 insertions(+), 1065 deletions(-)
>
> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
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