v3 -> v4: 1. v3 did not include a few x86_ops and x86_nested_ops in the macro expansion process of function names. This set has covered all those left-out ops. 2. Patch# 6 from v3 has been dropped as those changes already exist in QEMU source. [PATCH 1/5 v4] KVM: x86: Change names of some of the kvm_x86_ops [PATCH 2/5 v4] KVM: SVM: Fill in conforming svm_x86_ops via macro [PATCH 3/5 v4] KVM: nSVM: Fill in conforming svm_nested_ops via macro [PATCH 4/5 v4] KVM: VMX: Fill in conforming vmx_x86_ops via macro [PATCH 5/5 v4] KVM: nVMX: Fill in conforming vmx_nested_ops via macro arch/arm64/include/asm/kvm_host.h | 2 +- arch/mips/include/asm/kvm_host.h | 2 +- arch/powerpc/include/asm/kvm_host.h | 2 +- arch/s390/kvm/kvm-s390.c | 2 +- arch/x86/include/asm/kvm_host.h | 16 +- arch/x86/kvm/lapic.c | 2 +- arch/x86/kvm/pmu.h | 4 +- arch/x86/kvm/svm/avic.c | 11 +- arch/x86/kvm/svm/nested.c | 20 +-- arch/x86/kvm/svm/pmu.c | 2 +- arch/x86/kvm/svm/sev.c | 4 +- arch/x86/kvm/svm/svm.c | 296 ++++++++++++++++++++---------------- arch/x86/kvm/svm/svm.h | 15 +- arch/x86/kvm/vmx/evmcs.c | 6 +- arch/x86/kvm/vmx/evmcs.h | 4 +- arch/x86/kvm/vmx/nested.c | 39 +++-- arch/x86/kvm/vmx/pmu_intel.c | 2 +- arch/x86/kvm/vmx/posted_intr.c | 6 +- arch/x86/kvm/vmx/posted_intr.h | 4 +- arch/x86/kvm/vmx/vmx.c | 262 +++++++++++++++---------------- arch/x86/kvm/vmx/vmx.h | 4 +- arch/x86/kvm/x86.c | 41 ++--- include/linux/kvm_host.h | 2 +- include/uapi/linux/kvm.h | 6 +- tools/include/uapi/linux/kvm.h | 6 +- virt/kvm/kvm_main.c | 4 +- 26 files changed, 405 insertions(+), 359 deletions(-) Krish Sadhukhan (5): KVM: x86: Change names of some of the kvm_x86_ops functions to make them more semantical and readable KVM: SVM: Fill in conforming svm_x86_ops via macro KVM: nSVM: Fill in conforming svm_nested_ops via macro KVM: VMX: Fill in conforming vmx_x86_ops via macro KVM: nVMX: Fill in conforming vmx_nested_ops via macro