thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-qemu-img-decrease-progress-update-interval-on-conver.patch.patch

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