KVM: SVM: check for nested VINTR flag in svm_interrupt_allowed
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:47 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 07:46:37 +0000 (10:46 +0300)
commit108768de55949c778bd95b36f3b17e652e59cd5b
treedd8120651d7ad6af8c4c2f32b591e30a183dbf6d
parent26666957a58fab7c8a4a31f1ab24d3bbf4c58c7a
KVM: SVM: check for nested VINTR flag in svm_interrupt_allowed

Not checking for this flag breaks any nested hypervisor that does not
set VINTR. So fix it with this patch.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c