On 07/02/19 20:05, Krish Sadhukhan wrote: > v2 -> v3: > 1. In patch#3, 'test_vmlaunch' has been renamed to 'test_vmx_vmlaunch' > and two wrapper functions around it have been added for testing the > VMX controls. > 2. In patch#4, a single function, 'test_sysenter_field', is now re-used > for testing both HOST_SYSENTER_ESP and HOST_SYSENTER_EIP. > > > > [PATCH 1/4 v3][KVM nVMX]: Add a vmentry check for HOST_SYSENTER_ESP and > [PATCH 2/4 v3][kvm-unit-test nVMX]: Move test_vm_entry_ctls() below test_vm_exit_ctls() > [PATCH 3/4 v3][kvm-unit-test nVMX]: Re-name 'test_vmx_controls' to 'test_vmx_vmlaunch' > [PATCH 4/4 v3][kvm-unit-test nVMX]: Test HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields > > arch/x86/kvm/vmx/nested.c | 5 +++++ > 1 file changed, 5 insertions(+) > > Krish Sadhukhan (1): > KVM nVMX: Add a vmentry check for HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields > > x86/unittests.cfg | 6 ++ > x86/vmx_tests.c | 252 ++++++++++++++++++++++++++++++++++++------------------ > 2 files changed, 175 insertions(+), 83 deletions(-) > > Krish Sadhukhan (3): > nVMX: Move test_vm_entry_ctls() below test_vm_exit_ctls() > nVMX: Re-name 'test_vmx_controls' to 'test_vmx_vmlaunch' and pass the expected error code to it > nVMX: Test HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields on vmentry of L2 guests > Applied the first two for now, thanks. I'll get soon to the other two. Paolo