From ea60078efd94ed5add41916fbd19fd7577f7781b Mon Sep 17 00:00:00 2001 From: Uri Lublin <uril@redhat.com> Date: Mon, 30 Mar 2009 23:15:43 +0300 Subject: [PATCH 02/12] Revert "qemu-img: info: show highest_alloc and num_free_bytes if exist (Uri Lublin)" This reverts commit b85c165715f29c8e7f936a6072d4d9ba0cc371f3. Was not accepted upstream. Using an alternative solution with watermark and asynchronous notification. Signed-off-by: Uri Lublin <uril@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Bugzilla: 489964 RH-Upstream-status: not-applicable Acked-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Dor Laor <dlaor@redhat.com> --- qemu/qemu-img.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/qemu/qemu-img.c b/qemu/qemu-img.c index 6185197..e0bc14e 100644 --- a/qemu/qemu-img.c +++ b/qemu/qemu-img.c @@ -743,10 +743,6 @@ 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); - if (bdi.num_free_bytes) - printf("num_free_bytes: %ld\n", bdi.num_free_bytes); } bdrv_get_backing_filename(bs, backing_filename, sizeof(backing_filename)); if (backing_filename[0] != '\0') { -- 1.6.1