diff options
author | Kevin Wolf | 2020-10-05 17:58:53 +0200 |
---|---|---|
committer | Markus Armbruster | 2020-10-09 07:08:20 +0200 |
commit | e336fd4c4b2fa04e5d6c7f8ee524bfd2d9e9e8f1 (patch) | |
tree | 5e067cd1cc99e744e2eea9eac4cdb58904e564aa /contrib | |
parent | util/async: Add aio_co_reschedule_self() (diff) | |
download | qemu-e336fd4c4b2fa04e5d6c7f8ee524bfd2d9e9e8f1.tar.gz qemu-e336fd4c4b2fa04e5d6c7f8ee524bfd2d9e9e8f1.tar.xz qemu-e336fd4c4b2fa04e5d6c7f8ee524bfd2d9e9e8f1.zip |
block: Add bdrv_co_enter()/leave()
Add a pair of functions to temporarily move the current coroutine to the
AioContext of a given BlockDriverState.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201005155855.256490-13-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions