]> git.ipfire.org Git - thirdparty/libvirt.git/commit
parallels: create VMs and containers with sdk
authorDmitry Guryanov <dguryanov@parallels.com>
Mon, 1 Dec 2014 15:38:53 +0000 (18:38 +0300)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 9 Dec 2014 18:42:04 +0000 (19:42 +0100)
commit66d89199b481e2986b1b3cc3c08eddefd76bf87f
tree21490b8074cfa339bb3135d2f4b635a053e370b1
parent02954c0bd30a703927f58618b3e86f5b7b87fea7
parallels: create VMs and containers with sdk

This patch replaces code, which creates domains by
running prlctl command.

prlsdkCreateVm/Ct will do prlsdkApplyConfig, because
we send request to the server only once in this case.

But prlsdkApplyConfig will be called also from
parallelsDomainDefineXML function. There is no problem with
it, parallelsDomainDefineXML will be refactored later.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
src/parallels/parallels_driver.c
src/parallels/parallels_sdk.c
src/parallels/parallels_sdk.h