From: Pavel Glushchak Date: Thu, 8 Dec 2016 08:49:15 +0000 (+0300) Subject: vz: set PVMT_DONT_CREATE_DISK migration flag X-Git-Tag: v3.0.0-rc1~352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bafa1d721106105325458973eef93e615780357;p=thirdparty%2Flibvirt.git vz: set PVMT_DONT_CREATE_DISK migration flag This flag tells backend not to create instance disks making behavior the same as in qemu driver. Disk files have to be created beforehand on target host manually or by upper management layer i.e. OpenStack Nova. Signed-off-by: Pavel Glushchak --- diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index d13c86afce..4cd988a8bc 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -4740,7 +4740,7 @@ int prlsdkSwitchToSnapshot(virDomainObjPtr dom, const char *uuid, bool paused) * connection to dispatcher */ -#define PRLSDK_MIGRATION_FLAGS (PSL_HIGH_SECURITY) +#define PRLSDK_MIGRATION_FLAGS (PSL_HIGH_SECURITY | PVMT_DONT_CREATE_DISK) int prlsdkMigrate(virDomainObjPtr dom, virURIPtr uri, const unsigned char *session_uuid,