Patchwork [V6,3/3] hmp: show the backing file depth

login
register
mail settings
Submitter Benoit Canet
Date Aug. 2, 2012, 8:22 a.m.
Message ID <1343895769-21255-4-git-send-email-benoit@irqsave.net>
Download mbox | patch
Permalink /patch/174700/
State New
Headers show

Comments

Benoit Canet - Aug. 2, 2012, 8:22 a.m.
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..25688ab 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_depth=%" PRId64,
+                    info->value->inserted->backing_file_depth);
             }
             monitor_printf(mon, " ro=%d drv=%s encrypted=%d",
                            info->value->inserted->ro,