v1 -> v2: The re-organization of the checks in check_vmentry_prereqs() has now been done based on the ordering of the checks in the chapter "Basic VM-Entry Checks" in Intel SDM vol 3C. [PATCH v2 1/6] nVMX x86: Re-name check_vmentry_pre[post]reqs to [PATCH v2 2/6] nVMX x86: Re-organize the code in [PATCH v2 3/6] nVMX x86: Re-organize the code in [PATCH v2 4/6] nVMX x86: Re-organize the code in [PATCH v2 5/6] nVMX x86: Re-organize the code in [PATCH v2 6/6] nVMX x86: Re-organize the code in arch/x86/kvm/vmx.c | 155 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 100 insertions(+), 55 deletions(-) Krish Sadhukhan (6): nVMX x86: Re-name check_vmentry_pre[post]reqs to nested_check_vmentry_pre[post]reqs nVMX x86: Re-organize the code in nested_check_vmentry_prereqs(), that are related to VM-Execution Control Fields nVMX x86: Re-organize the code in check_vmentry_prereqs(), that are related to VM-Exit Control Fields nVMX x86: Re-organize the code in nested_check_vmentry_prereqs(), that are related to VM-Entry Control Fields nVMX x86: Re-organize the code in nested_check_vmentry_prereqs(), that are related to Host Control Registers and MSRs nVMX x86: Re-organize the code in nested_check_vmentry_prereqs(), related to Guest Non-Register State