41a11b0 parent 112592da0dc2460c95e8a89d0c5657c6a30286aa author Joerg Roedel 1266592981 +0100 committer Avi Kivity 1272188291 +0300 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 Signed-off-by: Avi Kivity