diff options
author | Peter Maydell | 2017-04-11 14:27:05 +0200 |
---|---|---|
committer | Peter Maydell | 2017-04-11 14:27:05 +0200 |
commit | aa388ddc36e8032f41cd17bef88cc3ebaeba77c9 (patch) | |
tree | ec6ce58ff71332901a8ab5957c5221c66440a9ac /qemu-io-cmds.c | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/pull-fixes-20170411-1' into... (diff) | |
parent | sheepdog: Use bdrv_coroutine_enter before BDRV_POLL_WHILE (diff) | |
download | qemu-aa388ddc36e8032f41cd17bef88cc3ebaeba77c9.tar.gz qemu-aa388ddc36e8032f41cd17bef88cc3ebaeba77c9.tar.xz qemu-aa388ddc36e8032f41cd17bef88cc3ebaeba77c9.zip |
Merge remote-tracking branch 'remotes/famz/tags/block-pull-request' into staging
# gpg: Signature made Tue 11 Apr 2017 13:10:55 BST
# gpg: using RSA key 0xCA35624C6A9171C6
# gpg: Good signature from "Fam Zheng <famz@redhat.com>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 5003 7CB7 9706 0F76 F021 AD56 CA35 624C 6A91 71C6
* remotes/famz/tags/block-pull-request:
sheepdog: Use bdrv_coroutine_enter before BDRV_POLL_WHILE
block: Fix bdrv_co_flush early return
block: Use bdrv_coroutine_enter to start I/O coroutines
qemu-io-cmds: Use bdrv_coroutine_enter
blockjob: Use bdrv_coroutine_enter to start coroutine
block: Introduce bdrv_coroutine_enter
async: Introduce aio_co_enter
coroutine: Extract qemu_aio_coroutine_enter
tests/block-job-txn: Don't start block job before adding to txn
block: Quiesce old aio context during bdrv_set_aio_context
block: Make bdrv_parent_drained_begin/end public
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-io-cmds.c')
-rw-r--r-- | qemu-io-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index 883f53b64d..312fc6d157 100644 --- a/qemu-io-cmds.c +++ b/qemu-io-cmds.c @@ -521,7 +521,7 @@ static int do_co_pwrite_zeroes(BlockBackend *blk, int64_t offset, } co = qemu_coroutine_create(co_pwrite_zeroes_entry, &data); - qemu_coroutine_enter(co); + bdrv_coroutine_enter(blk_bs(blk), co); while (!data.done) { aio_poll(blk_get_aio_context(blk), true); } |