]> git.proxmox.com Git - qemu.git/blobdiff - block_int.h
user_only: compile everything with -fpie
[qemu.git] / block_int.h
index 7ebe926f5bad33b9a78e30204372c0ce14da50f0..9a3b2e09de5482695d6eae053e53a11d352e13f1 100644 (file)
@@ -117,6 +117,9 @@ struct BlockDriver {
     /* Returns number of errors in image, -errno for internal errors */
     int (*bdrv_check)(BlockDriverState* bs);
 
+    /* Set if newly created images are not guaranteed to contain only zeros */
+    int no_zero_init;
+
     struct BlockDriver *next;
 };
 
@@ -168,8 +171,7 @@ struct BlockDriverState {
     int cyls, heads, secs, translation;
     int type;
     char device_name[32];
-    int dirty_tracking;
-    uint8_t *dirty_bitmap;
+    unsigned long *dirty_bitmap;
     BlockDriverState *next;
     void *private;
 };