KVM: x86: Reset pending/inject NMI state on CPU reset
commit448fa4a9c5dbc6941dd19ed09692c588d815bb06
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 26 Sep 2008 07:30:48 +0000 (26 09:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:51:40 +0000 (31 16:51 +0200)
treea1f3c6bb0027d047649dd6aefcad493c2f975be7
parent60637aacfd95c368e1fbc2157275d1b621b5dcdd
KVM: x86: Reset pending/inject NMI state on CPU reset

CPU reset invalidates pending or already injected NMIs, therefore reset
the related state variables.

Based on original patch by Gleb Natapov.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c