]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block/blkreplay.c
block: explicitly acquire aiocontext in bottom halves that need it
[mirror_qemu.git] / block / blkreplay.c
index a741654d353bf272684d1c01ccde00b1c2f6352b..cfc8c5be0235a3a98b74372929dbd224b405a995 100755 (executable)
@@ -60,7 +60,7 @@ static int64_t blkreplay_getlength(BlockDriverState *bs)
 static void blkreplay_bh_cb(void *opaque)
 {
     Request *req = opaque;
-    qemu_coroutine_enter(req->co);
+    aio_co_wake(req->co);
     qemu_bh_delete(req->bh);
     g_free(req);
 }