commit | e336fd4c4b2fa04e5d6c7f8ee524bfd2d9e9e8f1 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Oct 05 17:58:53 2020 +0200 |
committer | Markus Armbruster <armbru@redhat.com> | Fri Oct 09 07:08:20 2020 +0200 |
tree | 5e067cd1cc99e744e2eea9eac4cdb58904e564aa | |
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>