On 04/09/2018 20:42, Krish Sadhukhan wrote: > According to section "Checks on VMX Controls" in Intel SDM vol 3C, the > following check needs to be enforced on vmentry of L2 guests: > > If the “enable VPID” VM-execution control is 1, the value of the > of the VPID VM-execution control field must not be 0000H. > > The first patch adds the required KVM check while the second one adds a > KVM unit test. > > > [PATCH 1/2][KVM] nVMX x86: Check VPID value on vmentry of L2 guests > [PATCH 2/2][kvm-unit-test] nVMX x86: Check VPID value on vmentry of L2 guests > > arch/x86/kvm/vmx.c | 3 +++ > 1 file changed, 3 insertions(+) > > Krish Sadhukhan (1): > nVMX x86: Check VPID value on vmentry of L2 guests > > x86/vmx_tests.c | 43 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > Krish Sadhukhan (1): > nVMX x86: Check VPID value on vmentry of L2 guests > Queued, thanks. Paoo