]> Git Repo - qemu.git/blobdiff - block_int.h
linux-user utimensat() syscall, by Thayne Harbaugh.
[qemu.git] / block_int.h
index e8fff77a01b59cc7534cd9c39882bb57c84a9e32..b034023e0516a9cec3eb4e8cea9379340acbacdb 100644 (file)
 #ifndef BLOCK_INT_H
 #define BLOCK_INT_H
 
+#define BLOCK_FLAG_ENCRYPT     1
+#define BLOCK_FLAG_COMPRESS    2
+#define BLOCK_FLAG_COMPAT6     4
+
 struct BlockDriver {
     const char *format_name;
     int instance_size;
@@ -75,7 +79,7 @@ struct BlockDriver {
     int (*bdrv_media_changed)(BlockDriverState *bs);
     int (*bdrv_eject)(BlockDriverState *bs, int eject_flag);
     int (*bdrv_set_locked)(BlockDriverState *bs, int locked);
-   
+
     BlockDriverAIOCB *free_aiocb;
     struct BlockDriver *next;
 };
@@ -107,7 +111,7 @@ struct BlockDriverState {
     /* async read/write emulation */
 
     void *sync_aiocb;
-   
+
     /* NOTE: the following infos are only hints for real hardware
        drivers. They are not used by the block driver */
     int cyls, heads, secs, translation;
This page took 0.024593 seconds and 4 git commands to generate.