From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF6K8-0002xP-I0 for qemu-devel@nongnu.org; Wed, 27 Apr 2011 11:06:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QF6K7-0004CU-It for qemu-devel@nongnu.org; Wed, 27 Apr 2011 11:06:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF6K7-0004CM-Ah for qemu-devel@nongnu.org; Wed, 27 Apr 2011 11:06:39 -0400 Message-ID: <4DB830D2.7010706@redhat.com> Date: Wed, 27 Apr 2011 17:05:54 +0200 From: Jes Sorensen MIME-Version: 1.0 References: <1303136821-13333-1-git-send-email-Jes.Sorensen@redhat.com> <1303136821-13333-2-git-send-email-Jes.Sorensen@redhat.com> <20110427120520.74e348d9@doriath> In-Reply-To: <20110427120520.74e348d9@doriath> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: kwolf@redhat.com, qemu-devel@nongnu.org, Markus Armbruster On 04/27/11 17:05, Luiz Capitulino wrote: > On Mon, 18 Apr 2011 16:27:01 +0200 > Jes.Sorensen@redhat.com wrote: > >> From: Jes Sorensen >> >> This is quivalent to snapshot_blkdev in the human monitor, with _sync >> added to the command name to make it explicit that the command is >> synchronous and leave space for a future async version. > > I'm not sure appending "_sync" is such a good convention, most commands > are sync today and they don't have it. I'd prefer to call it snapshot_blkdev > and note in the documentation how it works. > > On the other hand, I'm not sure how Anthony is going to model async > commands, so maybe he has a better suggestion. The _sync prefix is on purpose to leave space for a possible async implementation of the snapshot command in the future. This isn't related to it being a sync vs async qmp command though. Jes