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

[Xen-ia64-devel] [Patch] fix xm-test report issue



Hi,

 I'm trying xm-test and found xm-test report fails 
 because IPF's /cpu/procinfo format is different from x86's.

 Here's a small patch to fix the problem.

Best Regards,

Matsumoto

Signed-off-by: Matsumoto <n_matumoto@xxxxxxxxxxxxxxxx>
---

diff -r 9cca37fc1057 tools/xm-test/lib/XmTestReport/OSReport.py
--- a/tools/xm-test/lib/XmTestReport/OSReport.py        Thu Dec  1 17:24:33 2005
+++ b/tools/xm-test/lib/XmTestReport/OSReport.py        Fri Dec  2 18:38:58 2005
@@ -102,6 +102,11 @@
         xen = self.__getXenInfo(xenValues)
         cpu = self.__getCpuInfo(cpuValues)
 
+        if cpu["model_name"] == "Unknown":   
+            cpuValues={"arch"  : "Unkonwn",
+                       "features": "Unkonwn"}
+            cpu=self.__getCpuInfo(cpuValues)
+
         for k in xen.keys():
             self.values[k] = xen[k]
             if xen[k] == "Unknown":



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.