summaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-10-11 17:08:39 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-10-11 17:08:39 -0500
commit5c0961618d5e8f92d85386cf110117e6ab5dd210 (patch)
tree11e5bd7a131daf27eb147c5bb733c40a0f588a31 /block.h
parent472de0c851af86d26e3ccebf4154a27393091053 (diff)
parenta3c4a01fb25a93d2b76d1fde1958ee616c152c5b (diff)
downloadqemu-0.13.0-rc3.tar.gz
Merge remote branch 'kwolf/for-stable-0.13' into stable-0.13v0.13.0-rc3
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)