From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlHg1-0000rP-B9 for qemu-devel@nongnu.org; Tue, 26 Nov 2013 07:23:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlHfs-0001Fy-Ul for qemu-devel@nongnu.org; Tue, 26 Nov 2013 07:23:37 -0500 Received: from mx.ipv6.kamp.de ([2a02:248:0:51::16]:36642 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlHfs-0001Fh-IR for qemu-devel@nongnu.org; Tue, 26 Nov 2013 07:23:28 -0500 Message-ID: <529492D5.8020406@kamp.de> Date: Tue, 26 Nov 2013 13:23:49 +0100 From: Peter Lieven MIME-Version: 1.0 References: <1385456183-24840-1-git-send-email-pl@kamp.de> <1385456183-24840-9-git-send-email-pl@kamp.de> <52947226.1060900@redhat.com> In-Reply-To: <52947226.1060900@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2 1.8 8/9] qemu-img: add option to show progress in sectors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On 26.11.2013 11:04, Paolo Bonzini wrote: > I think the right way to do this would be to add the functionality to > qemu-progress.c (i.e. pass a number of sectors and let it choose between > printing % or sectors). I was thinking about the same, but is this not beyond the scope of this patch? ;-) I don't mind leaving this patch out if you or the maintainers are strongly against it. I just need it internally to show the progress of a convert operation. I could theoretically calculate this the information I need also from the percentage output. Its a little bit more complicated if more than one hard drive is converted. Peter