diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-10-05 17:58:53 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-10-09 07:08:20 +0200 |
commit | e336fd4c4b2fa04e5d6c7f8ee524bfd2d9e9e8f1 (patch) | |
tree | 5e067cd1cc99e744e2eea9eac4cdb58904e564aa /authz | |
parent | 26b0b698c00bd9176f86c539aeb680481fa19473 (diff) |
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 'authz')
0 files changed, 0 insertions, 0 deletions