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

[Xen-changelog] Bump Xen interface version number to 0x00030201 for new



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4e0f2272fbcd156708a3d5d046713ca8cc539da2
# Parent  ec61a8c2542973e700adcf567b681e9df0b8a7b8
Bump Xen interface version number to 0x00030201 for new
structural guest handles.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r ec61a8c25429 -r 4e0f2272fbcd linux-2.6-xen-sparse/arch/ia64/Kconfig
--- a/linux-2.6-xen-sparse/arch/ia64/Kconfig    Thu Apr 27 13:58:50 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/ia64/Kconfig    Thu Apr 27 14:03:22 2006 +0100
@@ -106,7 +106,7 @@ config XEN_INTERFACE_VERSION
 config XEN_INTERFACE_VERSION
        hex
        depends on XEN
-       default 0x00030101
+       default 0x00030201
 
 config SCHED_NO_NO_OMIT_FRAME_POINTER
        bool
diff -r ec61a8c25429 -r 4e0f2272fbcd linux-2.6-xen-sparse/drivers/xen/Kconfig
--- a/linux-2.6-xen-sparse/drivers/xen/Kconfig  Thu Apr 27 13:58:50 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/Kconfig  Thu Apr 27 14:03:22 2006 +0100
@@ -13,7 +13,7 @@ if XEN
 if XEN
 config XEN_INTERFACE_VERSION
        hex
-       default 0x00030101
+       default 0x00030201
 
 menu "XEN"
 
diff -r ec61a8c25429 -r 4e0f2272fbcd tools/Rules.mk
--- a/tools/Rules.mk    Thu Apr 27 13:58:50 2006 +0100
+++ b/tools/Rules.mk    Thu Apr 27 14:03:22 2006 +0100
@@ -12,7 +12,7 @@ XEN_LIBXENSTAT     = $(XEN_ROOT)/tools/x
 
 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
 
-CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030101
+CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030201
 
 %.opic: %.c
        $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
diff -r ec61a8c25429 -r 4e0f2272fbcd xen/include/public/xen-compat.h
--- a/xen/include/public/xen-compat.h   Thu Apr 27 13:58:50 2006 +0100
+++ b/xen/include/public/xen-compat.h   Thu Apr 27 14:03:22 2006 +0100
@@ -9,7 +9,7 @@
 #ifndef __XEN_PUBLIC_XEN_COMPAT_H__
 #define __XEN_PUBLIC_XEN_COMPAT_H__
 
-#define __XEN_LATEST_INTERFACE_VERSION__ 0x00030101
+#define __XEN_LATEST_INTERFACE_VERSION__ 0x00030201
 
 #if defined(__XEN__)
 /* Xen is built with matching headers and implements the latest interface. */
@@ -23,9 +23,17 @@
 #error "These header files do not support the requested interface version."
 #endif
 
+/* New sched_op hypercall introduced in 0x00030101. */
 #if __XEN_INTERFACE_VERSION__ < 0x00030101
 #undef __HYPERVISOR_sched_op
 #define __HYPERVISOR_sched_op __HYPERVISOR_sched_op_compat
 #endif
 
+/* Structural guest handles introduced in 0x00030201. */
+#if __XEN_INTERFACE_VERSION__ < 0x00030201
+#undef __DEFINE_XEN_GUEST_HANDLE
+#define __DEFINE_XEN_GUEST_HANDLE(name, type) \
+    typedef type * __guest_handle_ ## name
+#endif
+
 #endif /* __XEN_PUBLIC_XEN_COMPAT_H__ */

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


 


Rackspace

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