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

From: Andy Lutomirski
Date: Mon Mar 14 2016 - 13:00:42 EST


On Mar 14, 2016 7:03 AM, "Paolo Bonzini" <pbonzini@xxxxxxxxxx> wrote:
>
>
>
> 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.

Can you clarify? KVM uses the native version, and the native version
only oopses with this series applied if panic_on_oops is set.

--Andy