]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/blobdiff - block_int.h
block: make copy-on-read a per-request flag
[lisovros/qemu_apohw.git] / block_int.h
index 311bd2a6fabe7af4be6451a2678bd66af654cdc0..07d67ed282a65076c1f87b98173856b0e13ea3e4 100644 (file)
@@ -218,6 +218,9 @@ struct BlockDriverState {
     BlockDriverState *backing_hd;
     BlockDriverState *file;
 
+    /* number of in-flight copy-on-read requests */
+    unsigned int copy_on_read_in_flight;
+
     /* async read/write emulation */
 
     void *sync_aiocb;