diff options
Diffstat (limited to 'block/nfs.c')
-rw-r--r-- | block/nfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/nfs.c b/block/nfs.c index 5ce968cd57..08b43dd189 100644 --- a/block/nfs.c +++ b/block/nfs.c @@ -237,8 +237,9 @@ static void nfs_co_init_task(BlockDriverState *bs, NFSRPC *task) static void nfs_co_generic_bh_cb(void *opaque) { NFSRPC *task = opaque; + task->complete = 1; - qemu_coroutine_enter(task->co); + aio_co_wake(task->co); } static void |