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(-)