projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c7916
)
qed: track dirty flag status
author
Dong Xu Wang
<wdongxu@linux.vnet.ibm.com>
Thu, 15 Mar 2012 12:13:34 +0000
(20:13 +0800)
committer
Kevin Wolf
<kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:41 +0000
(14:54 +0200)
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>
block/qed.c
patch
|
blob
|
history
diff --git
a/block/qed.c
b/block/qed.c
index d6c158086670ae694846e46a9bdebe41153dd069..19d87f3bef9b4aec94cf965b535b807a83d2711f 100644
(file)
--- a/
block/qed.c
+++ b/
block/qed.c
@@
-1434,6
+1434,7
@@
static int bdrv_qed_get_info(BlockDriverState *bs, BlockDriverInfo *bdi)
memset(bdi, 0, sizeof(*bdi));
bdi->cluster_size = s->header.cluster_size;
+ bdi->is_dirty = s->header.features & QED_F_NEED_CHECK;
return 0;
}