[libvirt] [PATCH 0/6] parallels: get rid of cached domains list in driver

Dmitry Guryanov dguryanov at parallels.com
Wed Sep 5 10:13:52 UTC 2012


The goal of this patch series is to get rid of cached domains
list.
Someone can create several connections to libvirt or change
something (start VM or change parameters) using native tools.
In such case first connection will not get any info about those
changes.
There is no way to check, if the cache valid, so remove it and
always query needed data using prlctl command.


Dmitry Guryanov (6):
  parallels: return a new list of domains from parallelsLoadDomains
  parallels: rename uuidstr to __uuidstr in macro
  parallels: return up-to-date info about domains
  parallels: don't track domain state in global domains list
  parallels: don't use stored domains list in parallelsDomainDefineXML
  parallels: remove domains list from _parallelsConn structure

 src/parallels/parallels_driver.c |  423 ++++++++++++++++++--------------------
 src/parallels/parallels_utils.h  |    1 -
 2 files changed, 195 insertions(+), 229 deletions(-)




More information about the libvir-list mailing list