summary refs log tree commit diff stats
path: root/qemu-img.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2013-11-27 11:07:09 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-12-06 16:53:50 +0100
commit405889820bcd5c2abf4eb70598e96f525f862c0f (patch)
tree8e9687c9e9e64e916ccdad56ccdd783ab949aba8 /qemu-img.c
parent24f833cd43dbfb5f8ae99e8a6d3691671622d3ea (diff)
downloadfocaccia-qemu-405889820bcd5c2abf4eb70598e96f525f862c0f.tar.gz
focaccia-qemu-405889820bcd5c2abf4eb70598e96f525f862c0f.zip
qemu-img: decrease progress update interval on convert
when doing very large jobs updating the progress only every 2%
is too rare.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 76f05f2e94..7dfe982b0c 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);