From: Dong Xu Wang <wdon...@linux.vnet.ibm.com> Signed-off-by: Dong Xu Wang <wdon...@linux.vnet.ibm.com> Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kw...@redhat.com> --- block/qed.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/block/qed.c b/block/qed.c index d6c1580..19d87f3 100644 --- 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; } -- 1.7.6.5