summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Reitz2015-02-05 19:58:24 +0100
committerStefan Hajnoczi2015-02-16 16:07:19 +0100
commitc0191e763b2f77cc5311d3aa6e487f3fe8a4c96f (patch)
tree60a53963e25d9d69fd7dc88748ec2f36fcfd368d /include
parentblock: Clamp BlockBackend requests (diff)
downloadqemu-c0191e763b2f77cc5311d3aa6e487f3fe8a4c96f.tar.gz
qemu-c0191e763b2f77cc5311d3aa6e487f3fe8a4c96f.tar.xz
qemu-c0191e763b2f77cc5311d3aa6e487f3fe8a4c96f.zip
block: Remove "growable" from BDS
Now that request clamping is done in the BlockBackend, the "growable" field can be removed from the BlockDriverState. All BDSs are now treated as being "growable" (that is, they are allowed to grow; they are not necessarily actually able to). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1423162705-32065-16-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 7ad19503df..b340e7e140 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -369,9 +369,6 @@ struct BlockDriverState {
/* I/O Limits */
BlockLimits bl;
- /* Whether the disk can expand beyond total_sectors */
- int growable;
-
/* Whether produces zeros when read beyond eof */
bool zero_beyond_eof;