Received: from [140.186.70.92] (port=48014 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXDZb-0006uL-Mo for qemu-devel@nongnu.org; Fri, 09 Jul 2010 09:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXDZW-0006D0-SH for qemu-devel@nongnu.org; Fri, 09 Jul 2010 09:24:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43423) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXDZW-0006Cq-Eb for qemu-devel@nongnu.org; Fri, 09 Jul 2010 09:24:54 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o69DOoiF031886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Jul 2010 09:24:50 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH 2/2] QMP: Require 'use_unstable' arg for capabilities negotiation References: <1278454757-5493-1-git-send-email-lcapitulino@redhat.com> <1278454757-5493-3-git-send-email-lcapitulino@redhat.com> <20100709095017.2b3b9677@redhat.com> Date: Fri, 09 Jul 2010 15:24:48 +0200 In-Reply-To: <20100709095017.2b3b9677@redhat.com> (Luiz Capitulino's message of "Fri, 9 Jul 2010 09:50:17 -0300") 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: qemu-devel@nongnu.org Luiz Capitulino writes: > On Fri, 09 Jul 2010 10:44:32 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > This helps ensuring two things: >> > >> > 1. An initial warning on client writers playing with current QMP >> > 2. Clients using unstable QMP will break when we declare QMP stable and >> > drop that argument [...] >> Is it really necessary to break all existing users of QMP? > > The protocol is going to change, they will break anyway. Then why break them now in addition to then? >> What are we trying to accomplish by that? > > QMP in 0.13 is in usable state. I fear that people will start using it > without noting/caring the protocol is going to be different in 0.14. > > The removal of this flag in 0.14 (assuming we'll have a stable QMP by then), > makes clients break right away, instead of unexpected breaking in subtle ways. > > This makes it easy to identify what's wrong and the message will be: you > should review your QMP usage, because the protocol has changed. > > That said, I'm not that strong about this particular solution. What I really > would like to have is an easy way to identify old clients using a now > stable version of QMP. If we want obsolete clients to break when we release 0.14, then let's break them then. No need to break not-yet-obsolete clients now. Especially not in a way that unbreaks them in 0.14, when they are *really* obsolete. [...]