diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-28 17:22:55 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-09-28 19:40:26 +0200 |
commit | 92aa5c6d77ac29574c1717bcf57827fa1e586f31 (patch) | |
tree | bac807fef0378023cffa43a8ddcc47b2ab29d10b /block.h | |
parent | ff06f5f351c3b19d5cdcb8bcb9f9cc9a01cac066 (diff) | |
download | qemu-92aa5c6d77ac29574c1717bcf57827fa1e586f31.zip qemu-92aa5c6d77ac29574c1717bcf57827fa1e586f31.tar.gz qemu-92aa5c6d77ac29574c1717bcf57827fa1e586f31.tar.bz2 |
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.h')
-rw-r--r-- | block.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -91,11 +91,6 @@ typedef struct BlockDevOps { #define BDRV_SECTOR_MASK ~(BDRV_SECTOR_SIZE - 1) typedef enum { - BLOCK_ERR_REPORT, BLOCK_ERR_IGNORE, BLOCK_ERR_STOP_ENOSPC, - BLOCK_ERR_STOP_ANY -} BlockdevOnError; - -typedef enum { BDRV_ACTION_REPORT, BDRV_ACTION_IGNORE, BDRV_ACTION_STOP } BlockErrorAction; |