Fix CVE-2008-0928 - insufficient block device address range checking (Anthony Liguori)
[qemu] / block_int.h
index 781789c..e1943aa 100644 (file)
@@ -121,6 +121,9 @@ struct BlockDriverState {
     uint64_t rd_ops;
     uint64_t wr_ops;
 
+    /* Whether the disk can expand beyond total_sectors */
+    int growable;
+
     /* NOTE: the following infos are only hints for real hardware
        drivers. They are not used by the block driver */
     int cyls, heads, secs, translation;