Add "cache" parameter to "-drive" (Laurent Vivier).
[qemu] / block.h
diff --git a/block.h b/block.h
index 69cfbb6..b52ee92 100644 (file)
--- a/block.h
+++ b/block.h
@@ -44,6 +44,7 @@ typedef struct QEMUSnapshotInfo {
                                      use a disk image format on top of
                                      it (default for
                                      bdrv_file_open()) */
+#define BDRV_O_DIRECT      0x0020
 
 #ifndef QEMU_IMG
 void bdrv_info(void);