diff options
| author | Fam Zheng | 2014-11-10 10:10:38 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2014-11-11 15:36:19 +0100 |
| commit | 705be728c0b5546da10d8ef4239a112d1616bb97 (patch) | |
| tree | 243ed864400c8887149edb33c55da62eb2f9e1e3 /include | |
| parent | sysbus: Correct SYSTEM_BUS(obj) defines (diff) | |
| download | qemu-705be728c0b5546da10d8ef4239a112d1616bb97.tar.gz qemu-705be728c0b5546da10d8ef4239a112d1616bb97.tar.xz qemu-705be728c0b5546da10d8ef4239a112d1616bb97.zip | |
block: Fix comment for bdrv_co_get_block_status
It returns more information than binary, fix the comment.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
| -rw-r--r-- | include/block/block.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h index 341054dcf7..603d4b4392 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -83,7 +83,9 @@ typedef enum { #define BDRV_SECTOR_SIZE (1ULL << BDRV_SECTOR_BITS) #define BDRV_SECTOR_MASK ~(BDRV_SECTOR_SIZE - 1) -/* BDRV_BLOCK_DATA: data is read from bs->file or another file +/* + * Allocation status flags + * BDRV_BLOCK_DATA: data is read from bs->file or another file * BDRV_BLOCK_ZERO: sectors read as zero * BDRV_BLOCK_OFFSET_VALID: sector stored in bs->file as raw data * BDRV_BLOCK_ALLOCATED: the content of the block is determined by this |
