]> git.proxmox.com Git - qemu.git/blobdiff - block.h
net: notify iothread after flushing queue
[qemu.git] / block.h
diff --git a/block.h b/block.h
index 650d872f461fe88f6c6ff17c7331cbab0f7bc708..2e2be110710a05462ef55cd3f22308da2e9d427f 100644 (file)
--- a/block.h
+++ b/block.h
@@ -79,6 +79,7 @@ typedef struct BlockDevOps {
 #define BDRV_O_NO_FLUSH    0x0200 /* disable flushing on this disk */
 #define BDRV_O_COPY_ON_READ 0x0400 /* copy read backing sectors into image */
 #define BDRV_O_INCOMING    0x0800  /* consistency hint for incoming migration */
+#define BDRV_O_CHECK       0x1000  /* open solely for consistency check */
 
 #define BDRV_O_CACHE_MASK  (BDRV_O_NOCACHE | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH)