From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Is there any range of XEN hypercalls reserved for vendor specific Date: Tue, 07 Jun 2011 08:02:12 +0100 Message-ID: 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: veerasena reddy , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 07/06/2011 07:27, "veerasena reddy" wrote: > Hi, > > We are looking to add new hypercalls to XEN hypervisor 3.4.3 for one of > projects. > Is there any range of hypercall numbers reserved which can be used to add new > hypercalls any third-party developer other than Xen. > Because if we now add a new hypercall (say, with number #60), and in future > XEN releases a official patch which also adds a new hypercall with same number > (#60), there will be a clash. > > So, could you please advice which of the hypercall numbers (may be a range) > can be safely used for our customizations. No guarantees for out-of-tree extensions, but we allocate hypercall numbers sequentially, so just pick a big and slightly random starting number and you shuld be fine (e.g, 0xbcde0000). You'll have to add code to Xen's entry.S to detect this large number and redirect to your own hypercall_table. -- Keir > Thanks & Regards, > VSR. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel