summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-11-18 14:47:36 +0100
committerKevin Wolf <kwolf@redhat.com>2017-06-26 14:51:15 +0200
commit48cc565e767d1cb4965150d258ebd15a1b3de488 (patch)
tree895f4ae830b88778a79412291278b699cc9037d9 /qemu-io-cmds.c
parent0806c3b5dd1aced4c50eda65e9ecc9cfab4ee58e (diff)
downloadfocaccia-qemu-48cc565e767d1cb4965150d258ebd15a1b3de488.tar.gz
focaccia-qemu-48cc565e767d1cb4965150d258ebd15a1b3de488.zip
qed: Simplify request handling
Now that we process a request in the same coroutine from beginning to
end and don't drop out of it any more, we can look like a proper
coroutine-based driver and simply call qed_aio_next_io() and get a
return value from it instead of spawning an additional coroutine that
reenters the parent when it's done.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions