]> git.proxmox.com Git - mirror_qemu.git/blobdiff - cpu-common.c
hw/fsi: Added qtest
[mirror_qemu.git] / cpu-common.c
index c81fd72d16d5c9e5f6f8af2d10b6f8f20e9cd3a6..ce78273af5971dda7ce4e3b1bcb68b3e41e66f91 100644 (file)
@@ -351,11 +351,11 @@ void process_queued_cpu_work(CPUState *cpu)
              * BQL, so it goes to sleep; start_exclusive() is sleeping too, so
              * neither CPU can proceed.
              */
-            qemu_mutex_unlock_iothread();
+            bql_unlock();
             start_exclusive();
             wi->func(cpu, wi->data);
             end_exclusive();
-            qemu_mutex_lock_iothread();
+            bql_lock();
         } else {
             wi->func(cpu, wi->data);
         }