KVM: nVMX: make emulated nested preemption timer pinned
authorWanpeng Li <wanpeng.li@hotmail.com>
Tue, 30 Aug 2016 08:14:01 +0000 (16:14 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Sep 2016 17:34:27 +0000 (19:34 +0200)
commitf15a75eedc18e1fece8e01f1a6f7d135e61b0750
treea2959368546d3e5a50a522ce99ecdd2507e781f5
parent72e0ae58a0fbded49d6fa80dcca5aaea9eb5a73f
KVM: nVMX: make emulated nested preemption timer pinned

Commit 61abdbe0bc ("kvm: x86: make lapic hrtimer pinned") pins the emulated
lapic timer. This patch does the same for the emulated nested preemption
timer to avoid vmexit an unrelated vCPU and the latency of kicking IPI to
another vCPU.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c