This is my cleaned up version of Wanpeng's TSC deadline timer optimizations. The main change is a reorganization of the fast path enums, removing EXIT_FASTPATH_SKIP_EMUL_INS (following the suggestion of 林鑫龙) and renaming EXIT_FASTPATH_NOP to EXIT_FASTPATH_EXIT_HANDLED. Paolo Bonzini (1): KVM: x86: introduce kvm_can_use_hv_timer Wanpeng Li (6): KVM: VMX: Introduce generic fastpath handler KVM: X86: Introduce kvm_vcpu_exit_request() helper KVM: X86: Introduce more exit_fastpath_completion enum values KVM: VMX: Optimize posted-interrupt delivery for timer fastpath KVM: X86: TSCDEADLINE MSR emulation fastpath KVM: VMX: Handle preemption timer fastpath arch/x86/include/asm/kvm_host.h | 4 +- arch/x86/kvm/lapic.c | 31 ++++++++++----- arch/x86/kvm/lapic.h | 2 +- arch/x86/kvm/svm/svm.c | 15 ++++--- arch/x86/kvm/vmx/vmx.c | 69 +++++++++++++++++++++++---------- arch/x86/kvm/x86.c | 45 +++++++++++++++------ arch/x86/kvm/x86.h | 3 +- virt/kvm/kvm_main.c | 1 + 8 files changed, 118 insertions(+), 52 deletions(-) -- 2.18.2