WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xend: Interface capability identifiers ar

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Interface capability identifiers are statically xen-3.0-*,
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 03 May 2007 08:20:08 -0700
Delivery-date: Thu, 03 May 2007 08:18:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Interface capability identifiers are statically xen-3.0-*,, Xen patchbot-unstable <=