]> git.proxmox.com Git - mirror_qemu.git/blobdiff - replay/replay-internal.c
system/cpus: rename qemu_mutex_lock_iothread() to bql_lock()
[mirror_qemu.git] / replay / replay-internal.c
index 77d0c82327ed5aeeee63f446bddc147d592af7eb..3e08e381cbbf23b667e6f2a0d696e438c74c75c6 100644 (file)
@@ -216,7 +216,7 @@ void replay_mutex_lock(void)
 {
     if (replay_mode != REPLAY_MODE_NONE) {
         unsigned long id;
-        g_assert(!qemu_mutex_iothread_locked());
+        g_assert(!bql_locked());
         g_assert(!replay_mutex_locked());
         qemu_mutex_lock(&lock);
         id = mutex_tail++;