aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-11-10 17:10:38 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2014-11-11 17:36:19 +0300
commit705be728c0b5546da10d8ef4239a112d1616bb97 (patch)
tree243ed864400c8887149edb33c55da62eb2f9e1e3 /block.c
parent00c2275c95edb3c355fce7e1128bdef845b9fe34 (diff)
downloadqemu-705be728c0b5546da10d8ef4239a112d1616bb97.zip
qemu-705be728c0b5546da10d8ef4239a112d1616bb97.tar.gz
qemu-705be728c0b5546da10d8ef4239a112d1616bb97.tar.bz2
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 'block.c')
-rw-r--r--block.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block.c b/block.c
index 88f6d9b..5f5b244 100644
--- a/block.c
+++ b/block.c
@@ -3877,9 +3877,9 @@ typedef struct BdrvCoGetBlockStatusData {
} BdrvCoGetBlockStatusData;
/*
- * Returns true iff the specified sector is present in the disk image. Drivers
- * not implementing the functionality are assumed to not support backing files,
- * hence all their sectors are reported as allocated.
+ * Returns the allocation status of the specified sectors.
+ * Drivers not implementing the functionality are assumed to not support
+ * backing files, hence all their sectors are reported as allocated.
*
* If 'sector_num' is beyond the end of the disk image the return value is 0
* and 'pnum' is set to 0.