qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 44/48] qemu-img: decrease progress update interval on


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PULL 44/48] qemu-img: decrease progress update interval on convert
Date: Fri, 6 Dec 2013 17:36:43 +0100

From: Peter Lieven <address@hidden>

when doing very large jobs updating the progress only every 2%
is too rare.

Signed-off-by: Peter Lieven <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 qemu-img.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu-img.c b/qemu-img.c
index 76f05f2..7dfe982 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -1245,7 +1245,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.8.4.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]