Skip to contentSkip to conversation

Extend architecture map by x86_64

PATCH Applied Stefan Berger 2 participants 2 messages Oct 24, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Extend architecture map by x86_64

Add x86_64 to the supported architectures since otherwise the tests don't run.

tools/xm-test/lib/XmTestLib/arch.py +2 -1
diff -r 55ff34dceb0b tools/xm-test/lib/XmTestLib/arch.py
@@ -124,6 +124,7 @@
     "i486"  : "x86",
     "i586"  : "x86",
     "i686"  : "x86",
+    "x86_64": "x86_64",
     "ia64"  : "ia64",
     "ppc"   : "powerpc",
     "ppc64" : "powerpc",
@@ -131,7 +132,7 @@
 
 # Lookup current platform.
 _arch = _uname_to_arch_map.get(os.uname()[4], "Unknown")
-if _arch == "x86" or _arch == "ia64":
+if _arch == "x86" or _arch == "x86_64" or _arch == "ia64":
     minSafeMem = ia_minSafeMem
     getDefaultKernel = ia_getDefaultKernel
     checkBuffer = ia_checkBuffer

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel