]> git.proxmox.com Git - mirror_qemu.git/blobdiff - util/aio-wait.c
configure, meson: rename targetos to host_os
[mirror_qemu.git] / util / aio-wait.c
index 98c5accd29d0f2999b59e3a898e74ba9a46ce812..b5336cf5fd2932dd0f54d98c96c68a4a16231bd7 100644 (file)
@@ -82,5 +82,5 @@ void aio_wait_bh_oneshot(AioContext *ctx, QEMUBHFunc *cb, void *opaque)
     assert(qemu_get_current_aio_context() == qemu_get_aio_context());
 
     aio_bh_schedule_oneshot(ctx, aio_wait_bh, &data);
-    AIO_WAIT_WHILE(ctx, !data.done);
+    AIO_WAIT_WHILE_UNLOCKED(NULL, !data.done);
 }