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

[libvirt] [PATCH v3 00/12] parallels: rewrite driver with parallels SDK



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.

Changes in v2:
 * Rebase to latest libvirt sources
 * Use only "parallels" prefix for functions in parallelsDriver,
   so that make check will pass
 * Update privconn->domains in case we change something from current
   connection.

Changes in v3:
* in parallels: get domain info with SDK:
replace
+    case VIR_ARCH_X86_64:
with
+    case PCM_CPU_MODE_64:

* in parallels: handle events from parallels server
fix make syntax-check error in:

+    if (PRL_FAILED(ret)) {
+        logPrlError(ret);
+    }

* in rewrite parallelsApplyConfig with SDK:
in prlsdkApplyConfig function, don't commit changes if
there is an error in parallelsDoApplyConfig

* in parallels: create VMs and containers with sdk
Handle error from parallelsDoApplyConfig in prlsdkCreateVm.




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: refactor parallelsDomainDefineXML
  parallels: add cdroms support
  parallels: implement domainUndefine and domainUndefineFlags

 src/parallels/parallels_driver.c | 2456 ++++++++------------------------------
 src/parallels/parallels_sdk.c    | 2454 +++++++++++++++++++++++++++++++++++++
 src/parallels/parallels_sdk.h    |   25 +
 src/parallels/parallels_utils.h  |   11 +
 4 files changed, 2960 insertions(+), 1986 deletions(-)

-- 
1.9.3


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