]> git.proxmox.com Git - qemu.git/blobdiff - cpus.c
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
[qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index eb22bd5df19678ce5f73395769b44663b7cecdc9..b182b3d7d9884b580f279ed14e7faf0a4553f642 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -441,8 +441,7 @@ static bool cpu_thread_is_idle(CPUArchState *env)
     if (env->stopped || !runstate_is_running()) {
         return true;
     }
-    if (!env->halted || qemu_cpu_has_work(env) ||
-        (kvm_enabled() && kvm_irqchip_in_kernel())) {
+    if (!env->halted || qemu_cpu_has_work(env) || kvm_irqchip_in_kernel()) {
         return false;
     }
     return true;