mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CA-212078: Do not check for CPU compatibility feature when the VM's resident host is not dundee or greater.
This commit is contained in:
parent
41f749e941
commit
5b19081d61
@ -185,8 +185,8 @@ 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) || !Helpers.DundeeOrGreater(vm.Connection))
|
||||
// check the CPU feature compatibility for Dundee and higher hosts
|
||||
if (!Helpers.DundeeOrGreater(targetHost) || !Helpers.DundeeOrGreater(vm.Connection.Resolve(vm.resident_on)))
|
||||
return false;
|
||||
|
||||
// only for running or suspended VMs
|
||||
|
Loading…
Reference in New Issue
Block a user