From: Stefano Stabellini Subject: Re: [PATCH 1/2] xen: Introduce PHYSDEVOP_pirq_eoi_gmfn_new Date: Thu, 26 Jan 2012 16:45:13 +0000 Message-ID: References: <1327596145.26983.105.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1327596145.26983.105.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Konrad Rzeszutek Wilk , "Keir (Xen.org)" , "xen-devel@lists.xensource.com" , "JBeulich@suse.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 26 Jan 2012, Ian Campbell wrote: > On Thu, 2012-01-26 at 16:29 +0000, Stefano Stabellini wrote: > > > > Introducing a new hypercall with the same name > > (PHYSDEVOP_pirq_eoi_gmfn_new) is the first step in admitting that the > > old hypercall was a mistake and should not be used. > > If that's the case then there is precedent (e.g. sched_op, physdev_op, > evtchn_op) for renaming the existing thing FOO_compat and taking over > the name with the new semantics. > > That's certainly better than _new->_newer->really_new etc. If you must > go down that route then adding a number seems preferable. In that case, I vote for taking over the existing name with the new hypercall.