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

[Xen-changelog] [xen-unstable] This fixes another missing part for x86-64 support in the xm testsuite.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 17f48b5907a6725a28ad461064f5b49ebac2272c
# Parent  8d0e06c38c0ccfb2b106f19fd74f4c144bc86166
This fixes another missing part for x86-64 support in the xm testsuite.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/xm-test/lib/XmTestReport/arch.py |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 8d0e06c38c0c -r 17f48b5907a6 tools/xm-test/lib/XmTestReport/arch.py
--- a/tools/xm-test/lib/XmTestReport/arch.py    Wed Nov 08 00:03:11 2006 +0000
+++ b/tools/xm-test/lib/XmTestReport/arch.py    Wed Nov 01 08:34:55 2006 +0000
@@ -28,6 +28,7 @@ _uname_to_arch_map = {
     "i486"  : "x86",
     "i586"  : "x86",
     "i686"  : "x86",
+    "x86_64": "x86_64",
     "ia64"  : "ia64",
     "ppc"   : "powerpc",
     "ppc64" : "powerpc",
@@ -35,6 +36,9 @@ _uname_to_arch_map = {
 
 _arch = _uname_to_arch_map.get(os.uname()[4], "Unknown")
 if _arch == "x86":
+    cpuValues = {"model_name" : "Unknown",
+                 "flags"      : "Unknown"}
+elif _arch == "x86_64":
     cpuValues = {"model_name" : "Unknown",
                  "flags"      : "Unknown"}
 elif _arch == "ia64":

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