From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUfid-0004Fo-VI for qemu-devel@nongnu.org; Tue, 12 Jan 2010 07:19:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUfiZ-0004CK-Ai for qemu-devel@nongnu.org; Tue, 12 Jan 2010 07:19:31 -0500 Received: from [199.232.76.173] (port=34963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUfiY-0004CA-TX for qemu-devel@nongnu.org; Tue, 12 Jan 2010 07:19:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32461) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUfiV-0001On-Dg for qemu-devel@nongnu.org; Tue, 12 Jan 2010 07:19:24 -0500 Date: Tue, 12 Jan 2010 10:19:13 -0200 From: Luiz Capitulino Subject: Re: [Qemu-devel] QMP forward compatibility support Message-ID: <20100112101913.2664c795@doriath> In-Reply-To: References: <20100111163422.0d86d2bb@doriath> <4B4B748B.6010008@codemonkey.ws> <20100111220436.14c662a5@doriath> <4B4BC138.1000500@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: aliguori@us.ibm.com, dlaor@redhat.com, qemu-devel@nongnu.org, avi@redhat.com On Tue, 12 Jan 2010 09:16:43 +0100 Markus Armbruster wrote: > >> Now, if everything is disabled by default and qemu might be running > >> already, do we really need to have a handshake? > >> > > > > I think it's valuable to have a discrete period of time when no > > commands have been executed where features can be enabled. It > > simplifies some nasty edge conditions regarding enabling features > > while there are outstanding commands in flight. > > That's exactly why I lobbied for feature negotiation in the initial > handshake, i.e. client connects, server sends greeting with features, > client sends features it wants enabled, and only then we enter the > normal command loop. Protocol that don't have that tend to get it > retrofitted when they evolve. > > Let's do it now, before backward compatibility concerns force us to do > it in an ugly way. Yes, it was good to bring out the issue after all. Please, review the design I'm proposing in my reply to Anthony.