mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
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 <pglushchak@virtuozzo.com>
This commit is contained in:
parent
61a0026a94
commit
5bafa1d721
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user