Dom0 doesn't have a toolstack to explicitly decide that ITSC is safe to offer.
For domains which are automatically built with disable_migrate set, offer ITSC
automatically.
This is important for HVM-based dom0, and for when cpuid faulting is imposed
on the control domain.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
*d->arch.cpuid = is_pv_domain(d) ? pv_max_policy : hvm_max_policy;
+ if ( d->disable_migrate )
+ d->arch.cpuid->extd.itsc = cpu_has_itsc;
+
recalculate_cpuid_policy(d);
for ( i = 0; i < MAX_CPUID_INPUT; i++ )