Re: [Xen-devel] [PATCH v5 1/4] nvmx: implement support for MSR bitmaps

2020-02-18 Thread Tian, Kevin
> From: Roger Pau Monne > Sent: Monday, February 17, 2020 7:46 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

[Xen-devel] [PATCH v5 1/4] nvmx: implement support for MSR bitmaps

2020-02-17 Thread Roger Pau Monne
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 up using the same MSR bitmap as the L1 VMM. This is wrong as there's no