Re: [Xen-devel] [PATCH v1 1/5] x86/msr: introduce struct msr_domain_policy

2017-09-20 Thread Tian, Kevin
> From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > Sent: Wednesday, August 30, 2017 6:34 PM > > The new structure contains information about guest's MSRs that are > shared between all domain's vCPUs. It starts with only 1 MSR: > > MSR_INTEL_PLATFORM_INFO > > Which currently has only 1

[Xen-devel] [PATCH v1 1/5] x86/msr: introduce struct msr_domain_policy

2017-08-30 Thread Sergey Dyasli
The new structure contains information about guest's MSRs that are shared between all domain's vCPUs. It starts with only 1 MSR: MSR_INTEL_PLATFORM_INFO 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. It's