Re: [PATCH v3 5/8] x86/pv: allow reading FEATURE_CONTROL MSR

2020-09-03 Thread Roger Pau Monné
On Thu, Sep 03, 2020 at 03:06:38PM +0100, Andrew Cooper wrote: > On 03/09/2020 14:33, Roger Pau Monné wrote: > > On Wed, Sep 02, 2020 at 09:56:48PM +0100, Andrew Cooper wrote: > >> On 01/09/2020 11:54, Roger Pau Monne wrote: > >>> Linux PV guests will attempt to read the FEATURE_CONTROL MSR, so mov

Re: [PATCH v3 5/8] x86/pv: allow reading FEATURE_CONTROL MSR

2020-09-03 Thread Andrew Cooper
On 03/09/2020 14:33, Roger Pau Monné wrote: > On Wed, Sep 02, 2020 at 09:56:48PM +0100, Andrew Cooper wrote: >> On 01/09/2020 11:54, Roger Pau Monne wrote: >>> Linux PV guests will attempt to read the FEATURE_CONTROL MSR, so move >>> the handling done in VMX code into guest_rdmsr as it can be share

Re: [PATCH v3 5/8] x86/pv: allow reading FEATURE_CONTROL MSR

2020-09-03 Thread Roger Pau Monné
On Wed, Sep 02, 2020 at 09:56:48PM +0100, Andrew Cooper wrote: > On 01/09/2020 11:54, Roger Pau Monne wrote: > > Linux PV guests will attempt to read the FEATURE_CONTROL MSR, so move > > the handling done in VMX code into guest_rdmsr as it can be shared > > between PV and HVM guests that way. > > >

Re: [PATCH v3 5/8] x86/pv: allow reading FEATURE_CONTROL MSR

2020-09-02 Thread Andrew Cooper
On 01/09/2020 11:54, Roger Pau Monne wrote: > Linux PV guests will attempt to read the FEATURE_CONTROL MSR, so move > the handling done in VMX code into guest_rdmsr as it can be shared > between PV and HVM guests that way. > > Signed-off-by: Roger Pau Monné > --- > Changes from v1: > - Move the V

[PATCH v3 5/8] x86/pv: allow reading FEATURE_CONTROL MSR

2020-09-01 Thread Roger Pau Monne
Linux PV guests will attempt to read the FEATURE_CONTROL MSR, so move the handling done in VMX code into guest_rdmsr as it can be shared between PV and HVM guests that way. Signed-off-by: Roger Pau Monné --- Changes from v1: - Move the VMX implementation into guest_rdmsr. --- xen/arch/x86/hvm/v