Patchwork [V3,3/3] hmp: show the backing file ancestors count

login
register
mail settings
Submitter Benoit Canet
Date July 25, 2012, 12:36 p.m.
Message ID <1343219765-12297-4-git-send-email-benoit@irqsave.net>
Download mbox | patch
Permalink /patch/173150/
State New
Headers show

Comments

Benoit Canet - July 25, 2012, 12:36 p.m.
From: BenoƮt Canet <benoit@irqsave.net>

Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 hmp.c |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/hmp.c b/hmp.c
index 6b72a64..19dcb65 100644
--- a/hmp.c
+++ b/hmp.c
@@ -227,6 +227,8 @@  void hmp_info_block(Monitor *mon)
             if (info->value->inserted->has_backing_file) {
                 monitor_printf(mon, " backing_file=");
                 monitor_print_filename(mon, info->value->inserted->backing_file);
+                monitor_printf(mon, " backing_file_ancestors_count=%" PRId64,
+                    info->value->inserted->backing_file_ancestors_count);
             }
             monitor_printf(mon, " ro=%d drv=%s encrypted=%d",
                            info->value->inserted->ro,