From 83dbaf6b5eba0f059a0c1608ac69186b4e161521 Mon Sep 17 00:00:00 2001 From: Mihaela Stoica Date: Thu, 23 Mar 2017 12:40:26 +0000 Subject: [PATCH] CA-237939: Cannot create VM from Checkpoint other than the resident host in pool Use VM.clone (and not VM.copy) when creating a VM from a snapshot. Signed-off-by: Mihaela Stoica --- XenAdmin/Wizards/NewVMWizard/Page_Storage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XenAdmin/Wizards/NewVMWizard/Page_Storage.cs b/XenAdmin/Wizards/NewVMWizard/Page_Storage.cs index b56f314c9..68a7a76d7 100644 --- a/XenAdmin/Wizards/NewVMWizard/Page_Storage.cs +++ b/XenAdmin/Wizards/NewVMWizard/Page_Storage.cs @@ -320,7 +320,7 @@ namespace XenAdmin.Wizards.NewVMWizard { get { - if (!Template.DefaultTemplate && !CloneCheckBox.Checked) + if (!Template.DefaultTemplate && !Template.is_a_snapshot && !CloneCheckBox.Checked) { // if target disks are all on the same SR then use that SR // otherwise iterate through disks and find first target disks that is on same SR as source disk