aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-09-08 14:26:57 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-09-08 14:26:57 -0500
commitaab2e8f79ad253c760787ff3ce4d64967fed0003 (patch)
treebc837d155b4d558b71ad196c561f9e71c10136d0 /block.h
parentdccbe6fbab47c9a2589f436e0592933b47cbe40b (diff)
parent7ec5e6a4ca43494949465f9f9f3d9e4c7c620503 (diff)
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'block.h')
-rw-r--r--block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block.h b/block.h
index db131a3438..5f6438010f 100644
--- a/block.h
+++ b/block.h
@@ -35,7 +35,7 @@ typedef struct QEMUSnapshotInfo {
#define BDRV_O_NO_BACKING 0x0100 /* don't open the backing file */
#define BDRV_O_NO_FLUSH 0x0200 /* disable flushing on this disk */
-#define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_CACHE_WB)
+#define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH)
#define BDRV_SECTOR_BITS 9
#define BDRV_SECTOR_SIZE (1ULL << BDRV_SECTOR_BITS)