X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/f777501cc9e8f3a91da076e937b5565510eb4420..873359d411eeb380906761e46839a2b705dbcf75:/cpus.c diff --git a/cpus.c b/cpus.c index 3de2e27f41..e476a3cd5e 100644 --- a/cpus.c +++ b/cpus.c @@ -70,7 +70,8 @@ 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_irqchip_in_kernel()) { + if (!env->halted || qemu_cpu_has_work(env) || + kvm_async_interrupts_enabled()) { return false; } return true;