]> git.proxmox.com Git - qemu.git/blobdiff - block.h
raw-posix: add Linux native AIO support
[qemu.git] / block.h
diff --git a/block.h b/block.h
index ccd4c1e70085efca8317bac49205c769884c9b5c..28bf357091deea4697a62be437c554dfb5e599ac 100644 (file)
--- a/block.h
+++ b/block.h
@@ -37,6 +37,7 @@ typedef struct QEMUSnapshotInfo {
                                      bdrv_file_open()) */
 #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_CACHE_MASK  (BDRV_O_NOCACHE | BDRV_O_CACHE_WB)