[PATCH 0/6] Cleanups in QEMU driver wrt virConnectPtr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are many places we can stop passing around virConnectPtr now
and directly open secondary drivers where required instead.

Daniel P. Berrangé (6):
  conf: reimplement virDomainNetResolveActualType in terms of public API
  qemu: stop passing virConnectPtr into qemuMonitorStartCPUs
  conf: stop passing virConnectPtr into virDomainDiskTranslateSourcePool
  qemu: don't pass virConnectPtr around for secrets
  qemu: stop passing in virConnectPtr for looking up networks
  qemu: remove virConnectPtr from some more startup code paths

 src/conf/domain_conf.c       |  90 +++++++++++++++++++++++++----
 src/conf/domain_conf.h       |  14 +----
 src/network/bridge_driver.c  |  76 +-----------------------
 src/qemu/qemu_conf.c         |   3 +-
 src/qemu/qemu_conf.h         |   3 +-
 src/qemu/qemu_domain.c       | 111 +++++++++++++++++------------------
 src/qemu/qemu_domain.h       |  15 ++---
 src/qemu/qemu_driver.c       | 126 +++++++++++++++-------------------------
 src/qemu/qemu_hotplug.c      |  66 +++++++++------------
 src/qemu/qemu_hotplug.h      |  15 ++---
 src/qemu/qemu_migration.c    |  18 +++---
 src/qemu/qemu_monitor.c      |  10 ++--
 src/qemu/qemu_monitor.h      |  11 +---
 src/qemu/qemu_monitor_json.c |   3 +-
 src/qemu/qemu_monitor_json.h |   3 +-
 src/qemu/qemu_monitor_text.c |   9 +--
 src/qemu/qemu_monitor_text.h |   3 +-
 src/qemu/qemu_process.c      | 134 +++++++++++++++++--------------------------
 src/qemu/qemu_process.h      |  12 ++--
 tests/qemuhotplugtest.c      |   4 +-
 tests/qemumonitorjsontest.c  |   2 +-
 21 files changed, 298 insertions(+), 430 deletions(-)

-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux