KVM: x86: fix SMI to halted VCPU
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Oct 2015 08:19:35 +0000 (10:19 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Oct 2015 16:29:41 +0000 (18:29 +0200)
commit73917739334c6509833b0403b81d4a04a8784bdf
tree4b689f3a9b557f7158a6f1bc1ccc56e7266d2112
parent5d9bc648b94dd719022343b8675e6c4381f0c45f
KVM: x86: fix SMI to halted VCPU

An SMI to a halted VCPU must wake it up, hence a VCPU with a pending
SMI must be considered runnable.

Fixes: 64d6067057d9658acb8675afcfba549abdb7fc16
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c