From: Ian Campbell Subject: Re: [PATCH 1/2] xen: Introduce PHYSDEVOP_pirq_eoi_gmfn_new Date: Thu, 26 Jan 2012 16:42:25 +0000 Message-ID: <1327596145.26983.105.camel@zakaz.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , "Keir (Xen.org)" , "JBeulich@suse.com" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org 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. Ian.