Skip to contentSkip to conversation

Is there any range of XEN hypercalls reserved for vendor specific

DISCUSSION veerasena reddy 2 participants 2 messages Jun 7, 2011

lore
Share & tools
lore
#0 lore raw

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.

Thanks & Regards,
VSR.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 10 lines · veerasena reddy

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.

Quoted 2 lines

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

Quoted 8 lines

Thanks & Regards,
VSR.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel