Re: [Xen-devel] [PATCH v1 4/5] x86/msr: introduce guest_rdmsr()

2017-09-20 Thread Tian, Kevin
> From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > Sent: Wednesday, August 30, 2017 6:35 PM > > The new function is responsible for handling RDMSR from both HVM and > PV > guests. Currently it handles only 2 MSRs: > > MSR_INTEL_PLATFORM_INFO > MSR_INTEL_MISC_FEATURES_ENABLES > > I

Re: [Xen-devel] [PATCH v1 4/5] x86/msr: introduce guest_rdmsr()

2017-08-30 Thread Andrew Cooper
On 30/08/17 11:34, Sergey Dyasli wrote: > The new function is responsible for handling RDMSR from both HVM and PV > guests. Currently it handles only 2 MSRs: > > MSR_INTEL_PLATFORM_INFO > MSR_INTEL_MISC_FEATURES_ENABLES > > It has a different behaviour compared to the old MSR handlers: if M

[Xen-devel] [PATCH v1 4/5] x86/msr: introduce guest_rdmsr()

2017-08-30 Thread Sergey Dyasli
The new function is responsible for handling RDMSR from both HVM and PV guests. Currently it handles only 2 MSRs: MSR_INTEL_PLATFORM_INFO MSR_INTEL_MISC_FEATURES_ENABLES It has a different behaviour compared to the old MSR handlers: if MSR is being handled by guest_rdmsr() then RDMSR will