From: Ian Campbell Subject: Re: [RFC PATCH v2 5/7] Add cbs parameter support and removed sedf parameters with a LIBXL_API_VERSION gate from libxl. Date: Fri, 11 Jul 2014 12:12:28 +0100 Message-ID: <1405077148.15107.2.camel@kazak.uk.xensource.com> References: <1404939348-4926-1-git-send-email-josh.whitehead@dornerworks.com> <1404939348-4926-6-git-send-email-josh.whitehead@dornerworks.com> <1405001385.24434.20.camel@kazak.uk.xensource.com> <1405033335.29306.167.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1405033335.29306.167.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Stefano Stabellini , George Dunlap , Ian Jackson , Robert VanVossen , Xen-devel , Nathan Studer , Josh Whitehead List-Id: xen-devel@lists.xenproject.org On Fri, 2014-07-11 at 01:02 +0200, Dario Faggioli wrote: > On gio, 2014-07-10 at 15:09 +0100, Ian Campbell wrote: > > On Wed, 2014-07-09 at 16:55 -0400, Josh Whitehead wrote: > > > From: Robbie VanVossen > > > > > > We made an attempt at doing the versioning gate in this file. Please let us > > > know if further changes are needed, and where they are needed to properly guard > > > the API. > > > > I previously said that I thought it was fine to remove the obsolete SEDF > > stuff from the libxl API. > > > > However I mentioned this to the other maintainers and they disagreed > > with me. The feeling is that an old application which used the old SEDF > > parameters should continue to build but that trying to use those > > parameters should result in an error. > > > Indeed. So, as far as this series is concerned, it looks like either the > following solutions: > - introduce a new scheduler, with a new name, and deprecate SEDF all > together > - keep the name and the full existing interface, but warn the user when > she touches one of the params that are no longer in use in the > implementation > would be ok. Personally I think the former is preferable from both an implementation point of view and from the pov of explaining it to users etc. If the variations to the interface were very minor maybe the second approach would work, but it looks to me like there is pretty much a rewrite going on. Ian.