ia64/xen-unstable

changeset 8261:9089801e73ce

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@soft.fujitsu.com>
author emellor@leeni.uk.xensource.com
date Wed Dec 07 10:27:03 2005 +0000 (2005-12-07)
parents 0faff739723e
children bc398d47d08f
files tools/xm-test/lib/XmTestReport/OSReport.py
line diff
     1.1 --- a/tools/xm-test/lib/XmTestReport/OSReport.py	Tue Dec 06 17:11:04 2005 +0000
     1.2 +++ b/tools/xm-test/lib/XmTestReport/OSReport.py	Wed Dec 07 10:27:03 2005 +0000
     1.3 @@ -102,6 +102,11 @@ class Machine:
     1.4          xen = self.__getXenInfo(xenValues)
     1.5          cpu = self.__getCpuInfo(cpuValues)
     1.6  
     1.7 +        if cpu["model_name"] == "Unknown":   
     1.8 +            cpuValues={"arch"  : "Unknown",
     1.9 +                       "features": "Unknown"}
    1.10 +            cpu=self.__getCpuInfo(cpuValues)
    1.11 +
    1.12          for k in xen.keys():
    1.13              self.values[k] = xen[k]
    1.14              if xen[k] == "Unknown":