Received: from eggs.gnu.org ([208.118.235.92]:46622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxKxf-0006cT-2M for qemu-devel@nongnu.org; Fri, 03 Aug 2012 12:42:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxKxS-0002Tb-Ml for qemu-devel@nongnu.org; Fri, 03 Aug 2012 12:42:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxKxS-0002TX-Ev for qemu-devel@nongnu.org; Fri, 03 Aug 2012 12:42:38 -0400 From: Luiz Capitulino Date: Fri, 3 Aug 2012 13:42:58 -0300 Message-Id: <1344012178-21084-5-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1344012178-21084-1-git-send-email-lcapitulino@redhat.com> References: <1344012178-21084-1-git-send-email-lcapitulino@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 4/4] hmp: show the backing file depth List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com Cc: =?UTF-8?q?Beno=C3=AEt=20Canet?= , qemu-devel@nongnu.org, Benoit Canet From: Beno=C3=AEt Canet Signed-off-by: Benoit Canet Reviewed-by: Eric Blake Signed-off-by: Luiz Capitulino --- 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=3D"); monitor_print_filename(mon, info->value->inserted->backi= ng_file); + monitor_printf(mon, " backing_file_depth=3D%" PRId64, + info->value->inserted->backing_file_depth); } monitor_printf(mon, " ro=3D%d drv=3D%s encrypted=3D%d", info->value->inserted->ro, --=20 1.7.11.2.249.g31c7954.dirty