KVM: LAPIC: Return 0 when getting the tscdeadline timer if the lapic is hw disabled
authorWanpeng Li <wanpengli@tencent.com>
Thu, 10 Sep 2020 09:50:36 +0000 (17:50 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:08 +0000 (07:57 -0400)
commita970e9b216a28b81c0417ab978ff2e248880b86d
tree9fc83fd4538f24f1049fda7ba50dc2680b9ae157
parentae6f24968608f71a51814d80ee8fcd38e799a0fd
KVM: LAPIC: Return 0 when getting the tscdeadline timer if the lapic is hw disabled

Return 0 when getting the tscdeadline timer if the lapic is hw disabled.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1599731444-3525-2-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c