Re: [Xen-devel] [PATCH v1 2/5] x86/msr: introduce struct msr_vcpu_policy

2017-09-25 Thread Jan Beulich
>>> On 30.08.17 at 12:34, wrote: > @@ -40,11 +44,15 @@ static void __init calculate_hvm_max_policy(void) > dp->plaform_info.available = true; > dp->plaform_info.cpuid_faulting = true; > } > + > +/* 0x0140 MSR_INTEL_MISC_FEATURES_ENABLES */ > +vp->misc_features_e

Re: [Xen-devel] [PATCH v1 2/5] x86/msr: introduce struct msr_vcpu_policy

2017-09-20 Thread Tian, Kevin
> From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > Sent: Wednesday, August 30, 2017 6:35 PM > > The new structure contains information about guest's MSRs that are > unique to each vCPU. It starts with only 1 MSR: > > MSR_INTEL_MISC_FEATURES_ENABLES > > Which currently has only 1 usabl

[Xen-devel] [PATCH v1 2/5] x86/msr: introduce struct msr_vcpu_policy

2017-08-30 Thread Sergey Dyasli
The new structure contains information about guest's MSRs that are unique to each vCPU. It starts with only 1 MSR: MSR_INTEL_MISC_FEATURES_ENABLES Which currently has only 1 usable bit: cpuid_faulting. Add 2 global policy objects: hvm_max and pv_max that are inited during boot up. Availabili