]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: SVM: Fix wrong interrupt injection in enable_irq_windows
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Feb 2010 15:23:01 +0000 (16:23 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:38:11 +0000 (12:38 +0300)
commit8fe546547cf6857a9d984bfe2f2194910f3fc5d0
treede627a861eecd58bbc183f88819e9ba2a41a11b0
parent112592da0dc2460c95e8a89d0c5657c6a30286aa
KVM: SVM: Fix wrong interrupt injection in enable_irq_windows

The nested_svm_intr() function does not execute the vmexit
anymore. Therefore we may still be in the nested state after
that function ran. This patch changes the nested_svm_intr()
function to return wether the irq window could be enabled.

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