KVM: VMX: Stop the preemption timer during vCPU reset
authorWanpeng Li <wanpengli@tencent.com>
Thu, 5 Sep 2019 06:26:28 +0000 (14:26 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Sep 2019 16:05:53 +0000 (18:05 +0200)
commit95c065400a127291f05ab8a9e72ba65fbcda2335
tree1591261b3707567fde4c4f4496d535aa4aa9f6bc
parent2b0911d1311e8f3a3cda472e08df21bcc49a5e61
KVM: VMX: Stop the preemption timer during vCPU reset

The hrtimer which is used to emulate lapic timer is stopped during
vcpu reset, preemption timer should do the same.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c