[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Is there any range of XEN hypercalls reserved for vendor specific


  • To: veerasena reddy <veeruyours@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Tue, 07 Jun 2011 08:02:12 +0100
  • Cc:
  • Delivery-date: Tue, 07 Jun 2011 00:04:23 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=QfzgFoJZxou5cHipGy3GpSl2QCSXXZKvktr4dTCpuWaUTjJGXsnBNrzIAi24tpiPNz RT8DpPxBym+msO3Q/yoQZVArysCXWNdwYH/3NWrTd/FfUwFw7GFfFm87hR8knQBAYHnq V6tu7sExbc9XHVtEYvrXdiF8sqNJ3SFpKlfO4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acwk4NMbwWd0Crel4kC4a6txslkC4Q==
  • Thread-topic: [Xen-devel] Is there any range of XEN hypercalls reserved for vendor specific

On 07/06/2011 07:27, "veerasena reddy" <veeruyours@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.