Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd4l4-0006sv-03 for qemu-devel@nongnu.org; Thu, 04 Feb 2010 11:40:46 -0500 Received: from [199.232.76.173] (port=39146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd4l3-0006sN-2H for qemu-devel@nongnu.org; Thu, 04 Feb 2010 11:40:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd4kz-0003TM-SN for qemu-devel@nongnu.org; Thu, 04 Feb 2010 11:40:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32624) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd4ky-0003T6-O0 for qemu-devel@nongnu.org; Thu, 04 Feb 2010 11:40:41 -0500 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH 2/4] QMP: Introduce the qmp_capabilities command References: <1265293484-30677-1-git-send-email-lcapitulino@redhat.com> <1265293484-30677-3-git-send-email-lcapitulino@redhat.com> Date: Thu, 04 Feb 2010 17:40:33 +0100 In-Reply-To: <1265293484-30677-3-git-send-email-lcapitulino@redhat.com> (Luiz Capitulino's message of "Thu, 4 Feb 2010 12:24:42 -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, qemu-devel@nongnu.org Luiz Capitulino writes: > This command will be used to enable QMP capabilities advertised > by the capabilities array. > > Note that it will be mandatory to issue this command in order > to make QMP functional (although this behavior is not being > enforced yet). The next commit enforces it. > Also, as we don't have any capabilities yet, the new command > doesn't accept any arguments. I will postpone the decision for > a format for this until we get our first capability. Fair enough. Any argument we add to select capabilities after we ship it this way will have to be optional, but that's okay. > Finally, this command is visible from the user Monitor too, in > the meaning that you can execute it but it won't do anything. > Making it only visible in QMP is beyond this series' goal, as > it requires changes in unrelated places. We can fix this wart later.