CA-163138: Include the pre-check for VM migration status for supplemental pack installation, as the guidance for these is to restart the host after install.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2015-03-05 10:23:35 +00:00
parent c7f3ea5b30
commit dcd83c9cec

View File

@ -315,7 +315,8 @@ namespace XenAdmin.Wizards.PatchingWizard
//Checking can evacuate host
//CA-97061 - evacuate host -> suspended VMs. This is only needed for restartHost
if (patch != null && patch.after_apply_guidance.Contains(after_apply_guidance.restartHost))
//Also include this check for the supplemental packs (patch == null), as their guidance is restartHost
if (patch == null || patch.after_apply_guidance.Contains(after_apply_guidance.restartHost))
{
checks.Add(new KeyValuePair<string, List<Check>>(Messages.CHECKING_CANEVACUATE_STATUS, new List<Check>()));
checkGroup = checks[checks.Count - 1].Value;