Received: from eggs.gnu.org ([2001:4830:134:3::10]:48756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d94UW-00006n-1O for qemu-devel@nongnu.org; Fri, 12 May 2017 02:55:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d94UQ-0000Ci-Ks for qemu-devel@nongnu.org; Fri, 12 May 2017 02:55:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42128) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d94UQ-0000CR-CR for qemu-devel@nongnu.org; Fri, 12 May 2017 02:55:50 -0400 References: <1494398933-8366-1-git-send-email-thuth@redhat.com> <20170510090841.GF31558@redhat.com> <20170510103153.GI31558@redhat.com> <157a6609-d75a-5d40-e5b9-c70802e40950@redhat.com> <20170511093022.GJ8639@redhat.com> <87poffsa45.fsf@dusky.pond.sub.org> From: Thomas Huth Message-ID: Date: Fri, 12 May 2017 08:55:42 +0200 MIME-Version: 1.0 In-Reply-To: <87poffsa45.fsf@dusky.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] hw/i386: Deprecate the machines pc-0.10 to pc-0.15 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , "Daniel P. Berrange" Cc: Paolo Bonzini , Eduardo Habkost , "Michael S. Tsirkin" , qemu-devel@nongnu.org, kraxel@redhat.com, Richard Henderson On 11.05.2017 17:10, Markus Armbruster wrote: > "Daniel P. Berrange" writes: >=20 >> On Wed, May 10, 2017 at 06:15:39PM +0200, Paolo Bonzini wrote: >>> >>> >>> On 10/05/2017 16:47, Thomas Huth wrote: >>>>> So while we can delete pc-0.12, we can't delete associated features= needed >>>>> by pc-0.12, without complicating RHEL's ability to create its back-= compat >>>>> machine types. Downstream would have to un-delete the features. >>>> >>>> So I guess this is why Paolo said that pc-0.12 is still in "use" ...= I >>>> think removing pc-0.12, but not removing rombar=3D0 will cause confu= sion >>>> in the upstream code base sooner or later, >>> >>> I agree. >>> >>>> so I guess we should rather >>>> keep the pc-0.12 machine until we can get rid of it together with th= e >>>> rombar code. We should still mark it as deprecated, of course. >>>> >>>>> I think tieing removal to major versions is a mistake, unless we're >>>>> going to set a fixed timeframe for delivery of major versions. ie i= f >>>>> we gaurantee that we'll ship a new major version every 18 months, t= hat >>>>> gives people a predictable lifetime. If we carry on inventing reas= ons >>>>> for major versions at arbitrary points in time, it makes it difficu= lt >>>>> to have any reasonable forward planning. It is more users friendly= if >>>>> we can set a clear fixed timeframe for machine type lifecycle / eol >>>> >>>> IMHO we should have a new major release after we've reached a .9 min= or >>>> release, but so far it seems like I'm the only one with that wish... >>> >>> I actually like that, but then you've pretty much guaranteed that you >>> _cannot_ remove anything deprecated until 4.0. You and Daniel aren't >>> disagreeing as heavily as it seems, I think. >> >> I don't think we should tie removal of features to version numbers. IM= HO >> we should just increment the first major digit on a fixed time scale, >> either once a year, or whenever we get past .9. Once a year sounds too often for my personal taste, I really prefer the .9 way, but that's details... >> For removal of features, IMHO, the only important thing is to give use= rs >> deprecation clear warning for 2-3 releases, and ensure feature detect= ion >> works well. As long as that is done, there shouldn't be any need to ba= tch >> them up for "major" releases. From libvirt POV, batching up removal to >> major releases is not beneficial. Batching to major releases gives a v= ery >> inconsistent timeframe for removal too - somethign fdeprecated in .1 >> release may live on for years, until the next $major.0, while somethi= ng >> deprecated in a .9 release can be killed in 4 months. I much prefer to >> see a consistent deprecated for 2 releases / 8 months, then deleted >> regardless of feature. >=20 > I concur. Fine for me, too. My only additional point is that we *should* have major releases from time to time (ending up with something like QEMU 2.42 is just ugly), and that we *could* use them for additional spring-cleaning (not for the libvirt POV, but for the users POV). For example, we've got some parameters where we warn since QEMU 1.3 that it is deprecated and might go away soon. We now could use major releases to remind ourselves from time to time to look through the code for such deprecated interfaces and remove them with the next major version. (But removal would of course also be allowed at any other minor version release if the feature has been deprecated for at least two minor releases already). Thomas