Skip to contentSkip to conversation

Reserve a hypercall number for paravirtualized drivers on VMX domains

PATCH New Arun Sharma 1 participant 1 message Aug 11, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 Reserve a hypercall number for paravirtualized drivers on VMX domains

Reserve a hypercall number for paravirtualized drivers on VMX domains

xen/include/public/xen.h +8 -0
@@ -59,6 +59,7 @@
 #define __HYPERVISOR_set_segment_base     25 /* x86/64 only */
 #define __HYPERVISOR_mmuext_op            26
 #define __HYPERVISOR_acm_op               27
+#define __HYPERVISOR_virtual_device_op    28 /* vmx only */
 
 /* 
  * VIRTUAL INTERRUPTS
@@ -238,6 +239,13 @@
 #define VMASST_TYPE_4gb_segments_notify  1
 #define VMASST_TYPE_writable_pagetables  2
 #define MAX_VMASST_TYPE 2
+
+/*
+ * Commands to HYPERVISOR_virtual_device_op().
+ */
+
+#define SET_SHAREINFO_MAP      1
+#define SET_CALLBACK_VECTOR    2
 
 #ifndef __ASSEMBLY__