summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorMax Reitz2019-11-01 16:25:09 +0100
committerMax Reitz2019-11-04 09:32:51 +0100
commitc28107e9e55b11cd35cf3dc2505e3e69d10dcf13 (patch)
tree65d090d70ed9fb9dcc34cce611271dcd4830c30f /include/block
parentblock: Make wait/mark serialising requests public (diff)
downloadqemu-c28107e9e55b11cd35cf3dc2505e3e69d10dcf13.tar.gz
qemu-c28107e9e55b11cd35cf3dc2505e3e69d10dcf13.tar.xz
qemu-c28107e9e55b11cd35cf3dc2505e3e69d10dcf13.zip
block: Add bdrv_co_get_self_request()
Cc: qemu-stable@nongnu.org Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20191101152510.11719-3-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 32fa323b63..dd033d0b37 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -1001,6 +1001,7 @@ void bdrv_unapply_subtree_drain(BdrvChild *child, BlockDriverState *old_parent);
bool coroutine_fn bdrv_wait_serialising_requests(BdrvTrackedRequest *self);
void bdrv_mark_request_serialising(BdrvTrackedRequest *req, uint64_t align);
+BdrvTrackedRequest *coroutine_fn bdrv_co_get_self_request(BlockDriverState *bs);
int get_tmp_filename(char *filename, int size);
BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size,