]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/kvm/vmx.c
[PATCH] KVM: Simplify test for interrupt window
[linux-2.6-omap-h63xx.git] / drivers / kvm / vmx.c
index e6ea76cdfdbd8c4d3ecde7418ec152bc5fe7ffb7..d4701cb4c65424e6b5d9267f2347c42445632ccf 100644 (file)
@@ -1604,8 +1604,7 @@ static int handle_interrupt_window(struct kvm_vcpu *vcpu,
         * possible
         */
        if (kvm_run->request_interrupt_window &&
-           !vcpu->irq_summary &&
-           (vmcs_readl(GUEST_RFLAGS) & X86_EFLAGS_IF)) {
+           !vcpu->irq_summary) {
                kvm_run->exit_reason = KVM_EXIT_IRQ_WINDOW_OPEN;
                ++kvm_stat.irq_window_exits;
                return 0;