]> git.proxmox.com Git - qemu.git/blobdiff - block_int.h
virtio-console: notify backend of guest open / close
[qemu.git] / block_int.h
index 6ebdc3eea27c51f5e8fa76be1360169b4464fe14..545ad11ff35c75d8a503e91dcbd385869f61a5fa 100644 (file)
@@ -199,6 +199,7 @@ struct BlockDriverState {
     char device_name[32];
     unsigned long *dirty_bitmap;
     int64_t dirty_count;
+    int in_use; /* users other than guest access, eg. block migration */
     QTAILQ_ENTRY(BlockDriverState) list;
     void *private;
 };