summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/block_int.h b/block_int.h
index b3bc5b3871..26cc4ffbac 100644
--- a/block_int.h
+++ b/block_int.h
@@ -73,7 +73,8 @@ struct BlockDriver {
};
struct BlockDriverState {
- int64_t total_sectors; /* XXX: will be suppressed */
+ int64_t total_sectors; /* if we are reading a disk image, give its
+ size in sectors */
int read_only; /* if true, the media is read only */
int inserted; /* if true, the media is present */
int removable; /* if true, the media can be removed */