direct-io.hg

changeset 14997:aeac9a7d97e0

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@xensource.com>
author kfraser@localhost.localdomain
date Wed May 02 15:25:02 2007 +0100 (2007-05-02)
parents 1c3abf6d144d
children 0e57b064f17a
files xen/arch/ia64/xen/xensetup.c xen/arch/powerpc/setup.c xen/arch/x86/setup.c
line diff
     1.1 --- a/xen/arch/ia64/xen/xensetup.c	Wed May 02 14:53:27 2007 +0100
     1.2 +++ b/xen/arch/ia64/xen/xensetup.c	Wed May 02 15:25:02 2007 +0100
     1.3 @@ -551,8 +551,8 @@ printk("num_online_cpus=%d, max_cpus=%d\
     1.4  
     1.5  void arch_get_xen_caps(xen_capabilities_info_t *info)
     1.6  {
     1.7 -    int major = xen_major_version();
     1.8 -    int minor = xen_minor_version();
     1.9 +    /* Interface name is always xen-3.0-* for Xen-3.x. */
    1.10 +    int major = 3, minor = 0;
    1.11      char s[32];
    1.12  
    1.13      (*info)[0] = '\0';
     2.1 --- a/xen/arch/powerpc/setup.c	Wed May 02 14:53:27 2007 +0100
     2.2 +++ b/xen/arch/powerpc/setup.c	Wed May 02 15:25:02 2007 +0100
     2.3 @@ -448,8 +448,8 @@ void __init __start_xen_ppc(
     2.4  extern void arch_get_xen_caps(xen_capabilities_info_t *info);
     2.5  void arch_get_xen_caps(xen_capabilities_info_t *info)
     2.6  {
     2.7 -    int major = xen_major_version();
     2.8 -    int minor = xen_minor_version();
     2.9 +    /* Interface name is always xen-3.0-* for Xen-3.x. */
    2.10 +    int major = 3, minor = 0;
    2.11      char s[32];
    2.12  
    2.13      (*info)[0] = '\0';
     3.1 --- a/xen/arch/x86/setup.c	Wed May 02 14:53:27 2007 +0100
     3.2 +++ b/xen/arch/x86/setup.c	Wed May 02 15:25:02 2007 +0100
     3.3 @@ -798,8 +798,8 @@ void __init __start_xen(multiboot_info_t
     3.4  
     3.5  void arch_get_xen_caps(xen_capabilities_info_t *info)
     3.6  {
     3.7 -    int major = xen_major_version();
     3.8 -    int minor = xen_minor_version();
     3.9 +    /* Interface name is always xen-3.0-* for Xen-3.x. */
    3.10 +    int major = 3, minor = 0;
    3.11      char s[32];
    3.12  
    3.13      (*info)[0] = '\0';