summaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-10-14 17:11:23 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-10-27 11:48:47 -0200
commitd6bf279e7a949ad49a48a215f9ec28cb6ceb28aa (patch)
tree1dd1a3912113b2a12aa0bf295df8404c334627e8 /block.h
parentde0b36b67ea3e1ab3aa1b6625c4fd5cb29fa0ada (diff)
downloadqemu-d6bf279e7a949ad49a48a215f9ec28cb6ceb28aa.tar.gz
qemu-d6bf279e7a949ad49a48a215f9ec28cb6ceb28aa.tar.bz2
qemu-d6bf279e7a949ad49a48a215f9ec28cb6ceb28aa.zip
block: iostatus: Drop BDRV_IOS_INVAL
A future commit will convert bdrv_info() to the QAPI and it won't provide IOS_INVAL. Luckily all we have to do is to add a new 'iostatus_enabled' member to BlockDriverState and use it instead. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/block.h b/block.h
index 5a042c96e7..1823e93801 100644
--- a/block.h
+++ b/block.h
@@ -78,8 +78,7 @@ typedef enum {
} BlockMonEventAction;
typedef enum {
- BDRV_IOS_INVAL, BDRV_IOS_OK, BDRV_IOS_FAILED, BDRV_IOS_ENOSPC,
- BDRV_IOS_MAX
+ BDRV_IOS_OK, BDRV_IOS_FAILED, BDRV_IOS_ENOSPC, BDRV_IOS_MAX
} BlockIOStatus;
void bdrv_iostatus_enable(BlockDriverState *bs);