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/
Home Products Support Community News


[Xen-changelog] xm-test report fails because IA64's /cpu/procinfo format

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] xm-test report fails because IA64's /cpu/procinfo format is different from
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Dec 2005 14:20:11 +0000
Delivery-date: Wed, 07 Dec 2005 16:59:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 9089801e73ce3d6a84af37efe1c575b9c5e551cd
# Parent  0faff739723ead64bad99ed63a663c7ab8e7b923
xm-test report fails because IA64's /cpu/procinfo format is different from
x86's.  Here's a small patch to fix the problem.

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

diff -r 0faff739723e -r 9089801e73ce tools/xm-test/lib/XmTestReport/OSReport.py
--- a/tools/xm-test/lib/XmTestReport/OSReport.py        Tue Dec  6 17:11:04 2005
+++ b/tools/xm-test/lib/XmTestReport/OSReport.py        Wed Dec  7 10:27:03 2005
@@ -102,6 +102,11 @@
         xen = self.__getXenInfo(xenValues)
         cpu = self.__getCpuInfo(cpuValues)
+        if cpu["model_name"] == "Unknown":   
+            cpuValues={"arch"  : "Unknown",
+                       "features": "Unknown"}
+            cpu=self.__getCpuInfo(cpuValues)
         for k in xen.keys():
             self.values[k] = xen[k]
             if xen[k] == "Unknown":

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] xm-test report fails because IA64's /cpu/procinfo format is different from, Xen patchbot -unstable <=