ia64/xen-unstable

changeset 14444:1e592e4557c1

Fix VM_metrics.get_vcpus_utilisation.

Fix is due to Ingard Mev?g <ingard.mevag@stud.iu.hio.no>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Mar 16 18:06:43 2007 +0000 (2007-03-16)
parents 9e07e0133f52
children cb1693873a7e
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Fri Mar 16 16:40:18 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Fri Mar 16 18:06:43 2007 +0000
     1.3 @@ -1550,7 +1550,7 @@ class XendAPI(object):
     1.4          return xen_api_success(self._VM_metrics_get(ref).get_vcpus_number())
     1.5  
     1.6      def VM_metrics_get_vcpus_utilisation(self, _, ref):
     1.7 -        return xen_api_success(self._VM_metrics_get(ref).get_metrics_get_vcpus_utilisation())
     1.8 +        return xen_api_success(self._VM_metrics_get(ref).get_vcpus_utilisation())
     1.9  
    1.10      # Xen API: Class VBD
    1.11      # ----------------------------------------------------------------