KVM: x86: really disarm lapic timer when clearing TMICT
authorRadim Krčmář <rkrcmar@redhat.com>
Fri, 6 Oct 2017 17:25:54 +0000 (19:25 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:54 +0000 (14:01 +0200)
commit5d74a6999368ad1991491b1913bb80faf1925e67
tree11d7b1be0a3810b03ecf7dd66374194194239255
parent86bbc1e6d7ce016f1b2e8c29864cd7b75b00ff96
KVM: x86: really disarm lapic timer when clearing TMICT

preemption timer only looks at tscdeadline and could inject already
disarmed timer.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c