Re: [Xen-devel] [PATCH] nvmx: implement support for MSR bitmaps

2020-01-18 Thread Tian, Kevin
> From: Roger Pau Monne > Sent: Wednesday, January 8, 2020 8:32 PM > > Current implementation of nested VMX has a half baked handling of MSR > bitmaps for the L1 VMM: it maps the L1 VMM provided MSR bitmap, but > doesn't actually load it into the nested vmcs, and thus the nested > guest vmcs ends

Re: [Xen-devel] [PATCH] nvmx: implement support for MSR bitmaps

2020-01-08 Thread Roger Pau Monné
On Wed, Jan 08, 2020 at 01:55:42PM +0100, Jan Beulich wrote: > On 08.01.2020 13:31, Roger Pau Monne wrote: > > --- a/xen/arch/x86/hvm/vmx/vvmx.c > > +++ b/xen/arch/x86/hvm/vmx/vvmx.c > > @@ -128,6 +128,16 @@ int nvmx_vcpu_initialise(struct vcpu *v) > > unmap_domain_page(vw); > > } > >

Re: [Xen-devel] [PATCH] nvmx: implement support for MSR bitmaps

2020-01-08 Thread Jan Beulich
On 08.01.2020 13:31, Roger Pau Monne wrote: > --- a/xen/arch/x86/hvm/vmx/vvmx.c > +++ b/xen/arch/x86/hvm/vmx/vvmx.c > @@ -128,6 +128,16 @@ int nvmx_vcpu_initialise(struct vcpu *v) > unmap_domain_page(vw); > } > > +if ( cpu_has_vmx_msr_bitmap ) > +{ > +nvmx->msr_merge