This patch series replaces all code, which used prlctl command
to interact with parallels cloud server with calls to
parallels sdk functions.
The model of this driver remain almost the same - in creates a
list of virDomainObj objects on connect and then functions, which
returns different information get info from this list.
But functions, which modify domains (change state, define or undefine
domain) don't modify this list directly. On connect driver subscribes
to event from PCS and modify the list from that events handler.
So cached list of domains will be always up-to-date either after
modifications from currect connection or after modifications by
another tools (like prlctl) or libvirt connections.
Alexander Burluka (4):
parallels: get domain info with SDK
parallels: handle events from parallels server
parallels: added function virDomainIsActive()
parallels: Add domainCreateWithFlags() function.
Dmitry Guryanov (8):
parallels: move IS_CT macro to parallels_utils.h
parallels: move parallelsDomNotFoundError to parallels_utils.h
parallels: reimplement functions, which change domain state
parallels: rewrite parallelsApplyConfig with SDK
parallels: create VMs and containers with sdk
parallels: fix parallelsDomainDefineXML
parallels: add cdroms support
parallels: implement domainUndefine and domainUndefineFlags
src/parallels/parallels_driver.c | 2448 +++++++------------------------------
src/parallels/parallels_sdk.c | 2456 ++++++++++++++++++++++++++++++++++++++
src/parallels/parallels_sdk.h | 19 +
src/parallels/parallels_utils.h | 11 +
4 files changed, 2939 insertions(+), 1995 deletions(-)
--
1.9.3