summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-28 17:22:55 +0200
committerKevin Wolf <kwolf@redhat.com>2012-09-28 19:40:26 +0200
commit92aa5c6d77ac29574c1717bcf57827fa1e586f31 (patch)
treebac807fef0378023cffa43a8ddcc47b2ab29d10b /block_int.h
parentff06f5f351c3b19d5cdcb8bcb9f9cc9a01cac066 (diff)
downloadqemu-92aa5c6d77ac29574c1717bcf57827fa1e586f31.tar.gz
iostatus: move BlockdevOnError declaration to QAPI
This will let block-stream reuse the enum. Places that used the enums are renamed accordingly. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block_int.h b/block_int.h
index b98c770b96..615aafca8e 100644
--- a/block_int.h
+++ b/block_int.h
@@ -323,7 +323,7 @@ void stream_start(BlockDriverState *bs, BlockDriverState *base,
*/
void commit_start(BlockDriverState *bs, BlockDriverState *base,
BlockDriverState *top, int64_t speed,
- BlockErrorAction on_error, BlockDriverCompletionFunc *cb,
+ BlockdevOnError on_error, BlockDriverCompletionFunc *cb,
void *opaque, Error **errp);
#endif /* BLOCK_INT_H */