KVM: Fix interrupt unhalting a vcpu when it shouldn't
authorGleb Natapov <gleb@redhat.com>
Mon, 23 Mar 2009 10:12:11 +0000 (12:12 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:33 +0000 (11:48 +0300)
commit78646121e9a2fcf7977cc15966420e572a450bc3
tree55aeac260f4a43bef8e1bc1147f93a3f7e867ec7
parent09cec754885f900f6aab23801878c0cd217ee1d6
KVM: Fix interrupt unhalting a vcpu when it shouldn't

kvm_vcpu_block() unhalts vpu on an interrupt/timer without checking
if interrupt window is actually opened.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/interrupt.c
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c