|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-ia64-devel
RE: [Xen-ia64-devel] [Patch] fix xm-test report issue
 
Hi Matsumoto --
I am glad that you are running xm-test on Xen/ia64!
Patches that affect code and scripts that are not in the
ia64-specific directories should be sent to the xen-devel
mailing list.  Please re-post your patch to xen-devel.
(Also, please first correct the spelling 'Unknown').
Thanks,
Dan 
> -----Original Message-----
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Matsumoto
> Sent: Friday, December 02, 2005 2:51 AM
> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [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
> 
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |