mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CP-14085: Added Assert for CPU feature masking
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
0a6955d157
commit
fe9f4cf555
@ -88,7 +88,10 @@ namespace XenAdmin.Actions
|
||||
{
|
||||
// No CPU masking is needed for Dundee or greater hosts
|
||||
if (Helpers.DundeeOrGreater(host))
|
||||
{
|
||||
System.Diagnostics.Trace.Assert(false, "No CPU masking should be done for Dundee or greater hosts");
|
||||
continue;
|
||||
}
|
||||
|
||||
Host.set_cpu_features(host.Connection.Session, host.opaque_ref, poolMaster.cpu_info["features"]);
|
||||
RebootHostAction action = new RebootHostAction(host, acceptNTolChanges);
|
||||
|
Loading…
Reference in New Issue
Block a user