aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>2012-03-15 20:13:33 +0800
committerKevin Wolf <kwolf@redhat.com>2012-04-05 14:54:41 +0200
commit64c79160b456c2d6aabc63e40b32e392a9ea3c90 (patch)
tree2c7c3bc9967c3c1c57068b15a48308a408c66d88 /block.h
parent11c9c615c8e776e59ad0c6c6ed00ec7d38b5d865 (diff)
qemu-img: add dirty flag status
Some block drivers can verify their image files are clean or not. So we can show it while using "qemu-img info". Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block.h b/block.h
index ea12f5df30..4e99e1816e 100644
--- a/block.h
+++ b/block.h
@@ -15,6 +15,7 @@ typedef struct BlockDriverInfo {
int cluster_size;
/* offset at which the VM state can be saved (0 if not possible) */
int64_t vm_state_offset;
+ bool is_dirty;
} BlockDriverInfo;
typedef struct BlockFragInfo {