mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-203428: Check the CPU feature compatibility on migration only if the VM is on a Dundee or higher host
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
This commit is contained in:
parent
e3f7ef61a4
commit
379de1f414
@ -186,7 +186,7 @@ namespace XenAdmin.Commands
|
||||
public static bool VmCpuFeaturesIncompatibleWithHost(Host targetHost, VM vm)
|
||||
{
|
||||
// check the CPU feature compatibility for Dundee and higher hosts
|
||||
if (!Helpers.DundeeOrGreater(targetHost))
|
||||
if (!Helpers.DundeeOrGreater(targetHost) || !Helpers.DundeeOrGreater(vm.Connection))
|
||||
return false;
|
||||
|
||||
// only for running or suspended VMs
|
||||
|
Loading…
Reference in New Issue
Block a user