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-3.0.3-testing] Correct check for extended-cr3 suppo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.0.3-testing] Correct check for extended-cr3 support in __xen_guest fallback code.
From: "Xen patchbot-3.0.3-testing" <patchbot-3.0.3-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Oct 2006 10:40:15 -0700
Delivery-date: Fri, 13 Oct 2006 01:40:24 -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 Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1160471216 -3600
# Node ID f028e3732803d61fdf9511f66521dc7b0fa3275c
# Parent  ab85c20d33e50fb29b451580ce03f7697a0fc3b5
Correct check for extended-cr3 support in __xen_guest fallback code.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 tools/libxc/xc_load_elf.c |    2 +-
 xen/common/elf.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r ab85c20d33e5 -r f028e3732803 tools/libxc/xc_load_elf.c
--- a/tools/libxc/xc_load_elf.c Mon Oct 09 23:34:00 2006 +0100
+++ b/tools/libxc/xc_load_elf.c Tue Oct 10 10:06:56 2006 +0100
@@ -364,7 +364,7 @@ static int parseelfimage(const char *ima
         if ( p != NULL && strncmp(p, "yes", 3) == 0 )
         {
             dsi->pae_kernel = PAEKERN_yes;
-            if ( !strncmp(p+4, "[extended-cr3]", 14) )
+            if ( !strncmp(p+3, "[extended-cr3]", 14) )
                 dsi->pae_kernel = PAEKERN_extended_cr3;
         }
     }
diff -r ab85c20d33e5 -r f028e3732803 xen/common/elf.c
--- a/xen/common/elf.c  Mon Oct 09 23:34:00 2006 +0100
+++ b/xen/common/elf.c  Tue Oct 10 10:06:56 2006 +0100
@@ -304,7 +304,7 @@ int parseelfimage(struct domain_setup_in
         if ( p != NULL && strncmp(p, "yes", 3) == 0 )
         {
             dsi->pae_kernel = PAEKERN_yes;
-            if ( !strncmp(p+4, "[extended-cr3]", 14) )
+            if ( !strncmp(p+3, "[extended-cr3]", 14) )
                 dsi->pae_kernel = PAEKERN_extended_cr3;
         }
     }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.0.3-testing] Correct check for extended-cr3 support in __xen_guest fallback code., Xen patchbot-3.0.3-testing <=