When reading the codes, I find the definitions of interrupt-window exiting and nmi-window exiting don't match the names in latest intel SDM.
I have no idea whether it's the historical names, rename them to match the latest SDM to avoid confusion.
CPU_BASED_USE_TSC_OFFSETING mis-spelling in Patch 3 is found by checkpatch.pl.
Xiaoyao Li (3): KVM: VMX: Rename INTERRUPT_PENDING to INTERRUPT_WINDOW KVM: VMX: Rename NMI_PENDING to NMI_WINDOW KVM: VMX: Fix the spelling of CPU_BASED_USE_TSC_OFFSETTING
arch/x86/include/asm/vmx.h | 6 ++-- arch/x86/include/uapi/asm/vmx.h | 4 +-- arch/x86/kvm/vmx/nested.c | 28 +++++++++---------- arch/x86/kvm/vmx/vmx.c | 20 ++++++------- tools/arch/x86/include/uapi/asm/vmx.h | 4 +-- .../selftests/kvm/include/x86_64/vmx.h | 8 +++--- .../kvm/x86_64/vmx_tsc_adjust_test.c | 2 +- 7 files changed, 36 insertions(+), 36 deletions(-)