From d6bf279e7a949ad49a48a215f9ec28cb6ceb28aa Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 14 Oct 2011 17:11:23 -0300 Subject: 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 --- block.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'block.h') 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); -- cgit v1.2.1