From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuM3L-0000OL-QJ for qemu-devel@nongnu.org; Thu, 26 Jul 2012 07:16:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuM3E-0003cx-SA for qemu-devel@nongnu.org; Thu, 26 Jul 2012 07:16:23 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:49779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuM3E-0003cj-M9 for qemu-devel@nongnu.org; Thu, 26 Jul 2012 07:16:16 -0400 Received: by mail-we0-f173.google.com with SMTP id z53so1256166wey.4 for ; Thu, 26 Jul 2012 04:16:16 -0700 (PDT) From: benoit.canet@gmail.com Date: Thu, 26 Jul 2012 13:16:06 +0200 Message-Id: <1343301366-18028-4-git-send-email-benoit@irqsave.net> In-Reply-To: <1343301366-18028-1-git-send-email-benoit@irqsave.net> References: <1343301366-18028-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH V4 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 From: BenoƮt Canet 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