OSDN Git Service

target/ppc: Fix the order of kvm_enable judgment about kvmppc_set_interrupt()
[qmiga/qemu.git] / target / ppc / kvm.c
index 7698501..51112bd 100644 (file)
@@ -1320,7 +1320,7 @@ int kvmppc_set_interrupt(PowerPCCPU *cpu, int irq, int level)
         return 0;
     }
 
-    if (!kvm_enabled() || !cap_interrupt_unset) {
+    if (!cap_interrupt_unset) {
         return 0;
     }