mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
24f833cd43
commit
405889820b
|
@ -1245,7 +1245,7 @@ static int img_convert(int argc, char **argv)
|
||||||
out_filename = argv[argc - 1];
|
out_filename = argv[argc - 1];
|
||||||
|
|
||||||
/* Initialize before goto out */
|
/* Initialize before goto out */
|
||||||
qemu_progress_init(progress, 2.0);
|
qemu_progress_init(progress, 1.0);
|
||||||
|
|
||||||
if (options && is_help_option(options)) {
|
if (options && is_help_option(options)) {
|
||||||
ret = print_block_option_help(out_filename, out_fmt);
|
ret = print_block_option_help(out_filename, out_fmt);
|
||||||
|
|
Loading…
Reference in New Issue