CA-116547: During Installation of Hotfix requiring restart of PV guests displays Dom0 in the list of VMs to be rebooted in XenCenter.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2016-06-30 12:32:41 +01:00
parent 20cb3b4df1
commit 60c298d9e3

View File

@ -73,7 +73,7 @@ namespace XenAdmin.Wizards.PatchingWizard
case after_apply_guidance.restartPV: case after_apply_guidance.restartPV:
foreach (VM vm in Helpers.VMsRunningOn(servers)) foreach (VM vm in Helpers.VMsRunningOn(servers))
{ {
if (vm.IsHVM) if (vm.IsHVM || !vm.is_a_real_vm)
continue; continue;
sbLog.AppendFormat("\t{0}\r\n", vm.Name); sbLog.AppendFormat("\t{0}\r\n", vm.Name);
} }
@ -81,7 +81,7 @@ namespace XenAdmin.Wizards.PatchingWizard
case after_apply_guidance.restartHVM: case after_apply_guidance.restartHVM:
foreach (VM vm in Helpers.VMsRunningOn(servers)) foreach (VM vm in Helpers.VMsRunningOn(servers))
{ {
if (!vm.IsHVM) if (!vm.IsHVM || !vm.is_a_real_vm)
continue; continue;
sbLog.AppendFormat("\t{0}\r\n", vm.Name); sbLog.AppendFormat("\t{0}\r\n", vm.Name);
} }