summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2015-11-17 15:06:21 -0500
committerJohn Snow <jsnow@redhat.com>2015-11-17 15:06:21 -0500
commitca78ecfa72f311cd647b12a41d93e1ce54f18e66 (patch)
tree865a9e75f2bdf3dc916b73b862f4511e1b2e9276 /include
parent5f81724d80a1492c73d329242663962139db739b (diff)
downloadhqemu-ca78ecfa72f311cd647b12a41d93e1ce54f18e66.zip
hqemu-ca78ecfa72f311cd647b12a41d93e1ce54f18e66.tar.gz
block: add blk_abort_aio_request
Signed-off-by: Peter Lieven <pl@kamp.de> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 1447345846-15624-3-git-send-email-pl@kamp.de Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/block-backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h
index f4a68e2..fb068ea4 100644
--- a/include/sysemu/block-backend.h
+++ b/include/sysemu/block-backend.h
@@ -184,5 +184,8 @@ int blk_save_vmstate(BlockBackend *blk, const uint8_t *buf,
int blk_load_vmstate(BlockBackend *blk, uint8_t *buf, int64_t pos, int size);
int blk_probe_blocksizes(BlockBackend *blk, BlockSizes *bsz);
int blk_probe_geometry(BlockBackend *blk, HDGeometry *geo);
+BlockAIOCB *blk_abort_aio_request(BlockBackend *blk,
+ BlockCompletionFunc *cb,
+ void *opaque, int ret);
#endif
OpenPOWER on IntegriCloud