Skip to content

Commit

Permalink
qemu-img: decrease progress update interval on convert
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
plieven authored and stefanhaRH committed Dec 6, 2013
1 parent 24f833c commit 4058898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu-img.c
Expand Up @@ -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);
Expand Down

0 comments on commit 4058898

Please sign in to comment.