|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [Patch] fix xm-test report issue,
Matsumoto <=
|
|
|
|
|