]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block.h
block: Introduce BDRV_O_NO_BACKING
[mirror_qemu.git] / block.h
diff --git a/block.h b/block.h
index fa51ddf1505747f709297d1919b9fa293b39b696..f660d5f4d936d4a11eab10cf251fe1638258cfe7 100644 (file)
--- a/block.h
+++ b/block.h
@@ -39,6 +39,7 @@ typedef struct QEMUSnapshotInfo {
 #define BDRV_O_NOCACHE     0x0020 /* do not use the host page cache */
 #define BDRV_O_CACHE_WB    0x0040 /* use write-back caching */
 #define BDRV_O_NATIVE_AIO  0x0080 /* use native AIO instead of the thread pool */
+#define BDRV_O_NO_BACKING  0x0100 /* don't open the backing file */
 
 #define BDRV_O_CACHE_MASK  (BDRV_O_NOCACHE | BDRV_O_CACHE_WB)