Re: [PATCH v3 3/5] x86/paravirt: Add paravirt_{read,write}_msr

From: Paolo Bonzini
Date: Mon Mar 14 2016 - 10:03:10 EST




On 11/03/2016 20:06, Andy Lutomirski wrote:
> This adds paravirt hooks for unsafe MSR access. On native, they
> call native_{read,write}_msr. On Xen, they use
> xen_{read,write}_msr_safe.
>
> Nothing uses them yet for ease of bisection. The next patch will
> use them in rdmsrl, wrmsrl, etc.
>
> I intentionally didn't make them OOPS on #GP on Xen. I think that
> should be done separately by the Xen maintainers.

Please do the same for KVM.

Paolo