From e81aa6e8c41c14f1ff46dfe7085174bc8331fbe1 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Paolo Bonzini Date: Mon, 9 Dec 2013 14:09:38 +0100 Subject: [PATCH 50/50] qemu-img: decrease progress update interval on convert RH-Author: Paolo Bonzini Message-id: <1386598178-11845-53-git-send-email-pbonzini@redhat.com> Patchwork-id: 56089 O-Subject: [RHEL 7.0 qemu-kvm PATCH 52/52] qemu-img: decrease progress update interval on convert Bugzilla: 1039557 RH-Acked-by: Jeffrey Cody RH-Acked-by: Fam Zheng RH-Acked-by: Stefan Hajnoczi From: Peter Lieven when doing very large jobs updating the progress only every 2% is too rare. Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi (cherry picked from commit 405889820bcd5c2abf4eb70598e96f525f862c0f) --- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Michal Novotny --- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-img.c b/qemu-img.c index 55bb82c..1fe175b 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -1225,7 +1225,7 @@ static int img_convert(int argc, char **argv) out_filename = argv[argc - 1]; /* Initialize before goto out */ - qemu_progress_init(progress, 2.0); + qemu_progress_init(progress, 1.0); if (options && is_help_option(options)) { ret = print_block_option_help(out_filename, out_fmt); -- 1.7.11.7