Received: from eggs.gnu.org ([2001:4830:134:3::10]:53637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCapu-0003NI-1i for qemu-devel@nongnu.org; Thu, 22 Aug 2013 15:46:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCapr-0003Ay-Oj for qemu-devel@nongnu.org; Thu, 22 Aug 2013 15:46:25 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:51582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCapr-0003AZ-JI for qemu-devel@nongnu.org; Thu, 22 Aug 2013 15:46:23 -0400 Date: Thu, 22 Aug 2013 20:46:08 +0100 From: Alex Bligh Message-ID: <628ABA3A75FF6CD5BF8573E8@nimrod.local> In-Reply-To: <521666E1.2020902@redhat.com> References: <1376307710-15641-1-git-send-email-alex@alex.org.uk> <20130822114513.GC27613@stefanha-thinkpad.redhat.com> <5216057B.7040602@redhat.com> <58C9F610-8966-4CD6-A2A7-82BA2B2BDD98@alex.org.uk> <521666E1.2020902@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Qemu-devel] [PATCHv4] add qemu-img convert -C option (skip target volume creation) Reply-To: Alex Bligh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Kevin Wolf , Fam Zheng , Stefan Hajnoczi , qemu-devel@nongnu.org, Alexandre Derumier , Alex Bligh --On 22 August 2013 21:30:41 +0200 Paolo Bonzini wrote: >>> Also, this is the same as some HMP commands' "-n" option (live >>> snapshots, mirroring, backup) so I suggest to use that name. >> >> You mean -n instead of -C? Sure I can do that, but is that >> something you feel strongly about? I am aware there are a number >> of people who have been using the patch with -C for some time. > > I'll be fine if Stefan and Kevin override me, but yes, I think > consistency is important. qemu-img has offline functionality equivalent > to block jobs, and it is useful to keep qemu-img subcommands as > consistent as possible between them and with the corresponding HMP > commands. convert is the equivalent of the online mirroring block job. I note -f in hmp means 'whole disk' whereas in qemu-img it means 'format'. A quick scan suggests there are no other flags that do similar things. So this would be the first flag that is consistent I think! -- Alex Bligh