Re: [PATCH 1/2] KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled

2020-07-27 Thread Wanpeng Li
On Tue, 21 Jul 2020 at 23:25, Sean Christopherson wrote: > > On Tue, Jul 21, 2020 at 12:35:01PM +0200, Vitaly Kuznetsov wrote: > > Wanpeng Li writes: > > > > > From: Wanpeng Li > > > > > > Prevent setting the tscdeadline timer if the lapic is hw disabled. > > > > > > Signed-off-by: Wanpeng Li

Re: [PATCH 1/2] KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled

2020-07-21 Thread Sean Christopherson
On Tue, Jul 21, 2020 at 12:35:01PM +0200, Vitaly Kuznetsov wrote: > Wanpeng Li writes: > > > From: Wanpeng Li > > > > Prevent setting the tscdeadline timer if the lapic is hw disabled. > > > > Signed-off-by: Wanpeng Li A Fixes and/or Cc stable is probably needed for this. > > --- > >

Re: [PATCH 1/2] KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled

2020-07-21 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > Prevent setting the tscdeadline timer if the lapic is hw disabled. > > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/lapic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > index

[PATCH 1/2] KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled

2020-07-21 Thread Wanpeng Li
From: Wanpeng Li Prevent setting the tscdeadline timer if the lapic is hw disabled. Signed-off-by: Wanpeng Li --- arch/x86/kvm/lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 5bf72fc..4ce2ddd 100644 ---