KVM: x86: handle 0 write to TSC_DEADLINE MSR
authorRadim Krčmář <rkrcmar@redhat.com>
Fri, 6 Oct 2017 17:25:53 +0000 (19:25 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:53 +0000 (14:01 +0200)
commit86bbc1e6d7ce016f1b2e8c29864cd7b75b00ff96
tree2e1e68784b92b9b1b7dc302daa98548ccc7f0170
parent46bea48ac241fe0b413805952dda74dd0c09ba8b
KVM: x86: handle 0 write to TSC_DEADLINE MSR

0 should disable the timer, but start_hv_timer will recognize it as an
expired timer instead.

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