Group the various VMX control tests in separate functions based on their type. This is to improve readability and maintainability, and also to align the code as per the layout of the checks in chapter "VM Entries" in Intel SDM vol 3C. [kvm-unit-test 1/2] nVMX: Move all tests for VM-execution control [kvm-unit-test 2/2] nVMX: Move all tests for VM-entry control fields x86/vmx_tests.c | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) Krish Sadhukhan (2): nVMX: Move all tests for VM-execution control fields to a separate function nVMX: Move all tests for VM-entry control fields to a separate function