Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV7BU-0007Sd-8Z for qemu-devel@nongnu.org; Wed, 13 Jan 2010 12:39:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV7BP-0007Qt-NY for qemu-devel@nongnu.org; Wed, 13 Jan 2010 12:39:07 -0500 Received: from [199.232.76.173] (port=48900 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV7BP-0007QQ-H4 for qemu-devel@nongnu.org; Wed, 13 Jan 2010 12:39:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28788) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NV7BO-00077O-D8 for qemu-devel@nongnu.org; Wed, 13 Jan 2010 12:39:02 -0500 From: Markus Armbruster Subject: Re: [Qemu-devel] QMP forward compatibility support References: <20100111163422.0d86d2bb@doriath> <4B4B748B.6010008@codemonkey.ws> <20100111220436.14c662a5@doriath> <4B4BC138.1000500@codemonkey.ws> <20100112101102.396b15fb@doriath> <20100113150643.24509d01@doriath> Date: Wed, 13 Jan 2010 18:38:57 +0100 In-Reply-To: <20100113150643.24509d01@doriath> (Luiz Capitulino's message of "Wed, 13 Jan 2010 15:06:43 -0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: aliguori@us.ibm.com, dlaor@redhat.com, qemu-devel@nongnu.org, avi@redhat.com Luiz Capitulino writes: > On Wed, 13 Jan 2010 17:53:38 +0100 > Markus Armbruster wrote: > >> Luiz Capitulino writes: [...] >> > I'm thinking in something like this: >> > >> > 1. Connection is made, the greeting message is sent and QMP is >> > in 'handshake mode' >> > >> > 2. In this mode only commands to enable/disable protocol >> > capabilities are allowed >> > >> > 3. When the client is done with the setup, it issues the >> > command 'enable-qmp', which puts the protocol into 'running mode', >> > where any command is accepted >> >> Really "any command"? What about commands to enable/disable protocol >> capabilities? > > I think that playing with some protocol bits might be safe, like > enabling async messages. > > I'm not saying this is a good practice, but forbidding it seems a bit > extreme at first. Allowing stuff when it turns out to be needed is less painful than outlawing stuff when it turns out to be problematic.