From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuNxd-0005mb-Ji for qemu-devel@nongnu.org; Thu, 26 Jul 2012 09:18:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuNxZ-00066Q-LN for qemu-devel@nongnu.org; Thu, 26 Jul 2012 09:18:37 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:38205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuNxZ-00064n-EA for qemu-devel@nongnu.org; Thu, 26 Jul 2012 09:18:33 -0400 Received: by mail-bk0-f45.google.com with SMTP id ji1so1039158bkc.4 for ; Thu, 26 Jul 2012 06:18:33 -0700 (PDT) From: benoit.canet@gmail.com Date: Thu, 26 Jul 2012 15:18:21 +0200 Message-Id: <1343308701-29632-5-git-send-email-benoit@irqsave.net> In-Reply-To: <1343308701-29632-1-git-send-email-benoit@irqsave.net> References: <1343308701-29632-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 V5 4/4] 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