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

[Xen-changelog] [xen-3.1-testing] xend: Interface capability identifiers are statically xen-3.0-*,



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1178115902 -3600
# Node ID aeac9a7d97e0840a7c9a916c130c865b0b1ff6db
# Parent  1c3abf6d144d2cf9714fd8e9da5435d6dee2e984
xend: Interface capability identifiers are statically xen-3.0-*,
rather than being dynamically generated from actual Xen version
major/minor pair.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/xensetup.c |    4 ++--
 xen/arch/powerpc/setup.c     |    4 ++--
 xen/arch/x86/setup.c         |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff -r 1c3abf6d144d -r aeac9a7d97e0 xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Wed May 02 14:53:27 2007 +0100
+++ b/xen/arch/ia64/xen/xensetup.c      Wed May 02 15:25:02 2007 +0100
@@ -551,8 +551,8 @@ printk("num_online_cpus=%d, max_cpus=%d\
 
 void arch_get_xen_caps(xen_capabilities_info_t *info)
 {
-    int major = xen_major_version();
-    int minor = xen_minor_version();
+    /* Interface name is always xen-3.0-* for Xen-3.x. */
+    int major = 3, minor = 0;
     char s[32];
 
     (*info)[0] = '\0';
diff -r 1c3abf6d144d -r aeac9a7d97e0 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c  Wed May 02 14:53:27 2007 +0100
+++ b/xen/arch/powerpc/setup.c  Wed May 02 15:25:02 2007 +0100
@@ -448,8 +448,8 @@ extern void arch_get_xen_caps(xen_capabi
 extern void arch_get_xen_caps(xen_capabilities_info_t *info);
 void arch_get_xen_caps(xen_capabilities_info_t *info)
 {
-    int major = xen_major_version();
-    int minor = xen_minor_version();
+    /* Interface name is always xen-3.0-* for Xen-3.x. */
+    int major = 3, minor = 0;
     char s[32];
 
     (*info)[0] = '\0';
diff -r 1c3abf6d144d -r aeac9a7d97e0 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Wed May 02 14:53:27 2007 +0100
+++ b/xen/arch/x86/setup.c      Wed May 02 15:25:02 2007 +0100
@@ -798,8 +798,8 @@ void __init __start_xen(multiboot_info_t
 
 void arch_get_xen_caps(xen_capabilities_info_t *info)
 {
-    int major = xen_major_version();
-    int minor = xen_minor_version();
+    /* Interface name is always xen-3.0-* for Xen-3.x. */
+    int major = 3, minor = 0;
     char s[32];
 
     (*info)[0] = '\0';

_______________________________________________
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®.