KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
authorWanpeng Li <wanpengli@tencent.com>
Wed, 19 Aug 2020 08:55:27 +0000 (16:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 06:46:13 +0000 (08:46 +0200)
commitaa915c287b9abf76a1e2ce6c13df6ef976bc7523
tree833a3920daabef36e56c35b8a80a88913119a1cb
parent7cabb35d2106d567af15ea1040c7737f34b29cd8
KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit

commit 99b82a1437cb31340dbb2c437a2923b9814a7b15 upstream.

According to SDM 27.2.4, Event delivery causes an APIC-access VM exit.
Don't report internal error and freeze guest when event delivery causes
an APIC-access exit, it is handleable and the event will be re-injected
during the next vmentry.

Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1597827327-25055-2-git-send-email-wanpengli@tencent.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c