diff --git a/cpus.c b/cpus.c index a2d92c7a881cbcd5e9130a9ad0ac4f3cba1b4b36..c232265cd25245fae1983ed4e1c775709fc66908 100644 --- a/cpus.c +++ b/cpus.c @@ -974,9 +974,10 @@ void pause_all_vcpus(void) if (qemu_in_vcpu_thread()) { cpu_stop_current(); if (!kvm_enabled()) { + penv = first_cpu; while (penv) { CPUState *pcpu = ENV_GET_CPU(penv); - pcpu->stop = 0; + pcpu->stop = false; pcpu->stopped = true; penv = penv->next_cpu; }