From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwqgV-0006ik-JW for qemu-devel@nongnu.org; Thu, 02 Aug 2012 04:23:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwqgM-0002Tk-Vz for qemu-devel@nongnu.org; Thu, 02 Aug 2012 04:23:07 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:56408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwqgM-0002Ta-PZ for qemu-devel@nongnu.org; Thu, 02 Aug 2012 04:22:58 -0400 Received: by mail-we0-f173.google.com with SMTP id z53so5625421wey.4 for ; Thu, 02 Aug 2012 01:22:58 -0700 (PDT) From: "=?UTF-8?q?Beno=C3=AEt=20Canet?=" Date: Thu, 2 Aug 2012 10:22:49 +0200 Message-Id: <1343895769-21255-4-git-send-email-benoit@irqsave.net> In-Reply-To: <1343895769-21255-1-git-send-email-benoit@irqsave.net> References: <1343895769-21255-1-git-send-email-benoit@irqsave.net> Subject: [Qemu-devel] [PATCH V6 3/3] hmp: show the backing file depth List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , lcapitulino@redhat.com, pbonzini@redhat.com, eblake@redhat.com, stefanha@linux.vnet.ibm.com Signed-off-by: Benoit Canet --- hmp.c | 2 ++ 1 file changed, 2 insertions(+) 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, -- 1.7.9.5