This is a work-around for SMP support. 26/27126/1
authoryucheng yu <yu-cheng.yu@intel.com>
Fri, 5 Sep 2014 00:15:10 +0000 (17:15 -0700)
committeryucheng yu <yu-cheng.yu@intel.com>
Fri, 5 Sep 2014 00:18:23 +0000 (17:18 -0700)
Change-Id: I4230f1d029833ffc42940003c09499a64cf46500

target-i386/hax-all.c

index 9b9449f..29ff213 100644 (file)
@@ -595,8 +595,8 @@ static int hax_vcpu_interrupt(CPUArchState *env)
      * Try to inject an interrupt if the guest can accept it
      * Unlike KVM, HAX kernel check for the eflags, instead of qemu
      */
-    if (ht->ready_for_interrupt_injection &&
-      (cpu->interrupt_request & CPU_INTERRUPT_HARD))
+    if (ht->ready_for_interrupt_injection /*&&
+      (cpu->interrupt_request & CPU_INTERRUPT_HARD)*/)
     {
         int irq;