From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ljg6D-0006Tw-Br for qemu-devel@nongnu.org; Tue, 17 Mar 2009 16:41:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ljg68-0006RJ-ME for qemu-devel@nongnu.org; Tue, 17 Mar 2009 16:41:20 -0400 Received: from [199.232.76.173] (port=57241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljg68-0006R9-Dn for qemu-devel@nongnu.org; Tue, 17 Mar 2009 16:41:16 -0400 Received: from mx1.redhat.com ([66.187.233.31]:45042) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ljg68-0004Jj-2q for qemu-devel@nongnu.org; Tue, 17 Mar 2009 16:41:16 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n2HKfFxb020313 for ; Tue, 17 Mar 2009 16:41:15 -0400 From: Uri Lublin Date: Tue, 17 Mar 2009 22:40:48 +0200 Message-Id: <1237322452-11337-11-git-send-email-uril@redhat.com> In-Reply-To: <1237322452-11337-10-git-send-email-uril@redhat.com> References: <1237322452-11337-1-git-send-email-uril@redhat.com> <1237322452-11337-2-git-send-email-uril@redhat.com> <1237322452-11337-3-git-send-email-uril@redhat.com> <1237322452-11337-4-git-send-email-uril@redhat.com> <1237322452-11337-5-git-send-email-uril@redhat.com> <1237322452-11337-6-git-send-email-uril@redhat.com> <1237322452-11337-7-git-send-email-uril@redhat.com> <1237322452-11337-8-git-send-email-uril@redhat.com> <1237322452-11337-9-git-send-email-uril@redhat.com> <1237322452-11337-10-git-send-email-uril@redhat.com> Subject: [Qemu-devel] [PATCH 10/14] qemu-img: info: show highest_alloc if exists Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Uri Lublin Signed-off-by: Uri Lublin --- qemu-img.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index ab380c8..9b51e85 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -746,6 +746,8 @@ static int img_info(int argc, char **argv) if (bdrv_get_info(bs, &bdi) >= 0) { if (bdi.cluster_size != 0) printf("cluster_size: %d\n", bdi.cluster_size); + if (bdi.highest_alloc) + printf("highest_alloc: %ld\n", bdi.highest_alloc); } bdrv_get_backing_filename(bs, backing_filename, sizeof(backing_filename)); if (backing_filename[0] != '\0') { -- 1.6.0.6