diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-14 17:22:24 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-27 11:48:47 -0200 |
commit | 58e21ef5ab262fb91256435c31cc7bfeead59754 (patch) | |
tree | 339eeb435a33ff80f6da27f178acd19067c14d1e /block.h | |
parent | d6bf279e7a949ad49a48a215f9ec28cb6ceb28aa (diff) |
block: Rename the BlockIOStatus enum values
The biggest change is to rename its prefix from BDRV_IOS to
BLOCK_DEVICE_IO_STATUS.
Next commit will convert the query-block command to the QAPI
and that's how the enumeration is going to be generated.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r-- | block.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -78,7 +78,8 @@ typedef enum { } BlockMonEventAction; typedef enum { - BDRV_IOS_OK, BDRV_IOS_FAILED, BDRV_IOS_ENOSPC, BDRV_IOS_MAX + BLOCK_DEVICE_IO_STATUS_OK, BLOCK_DEVICE_IO_STATUS_FAILED, + BLOCK_DEVICE_IO_STATUS_NOSPACE, BLOCK_DEVICE_IO_STATUS_MAX } BlockIOStatus; void bdrv_iostatus_enable(BlockDriverState *bs); |