ia64/xen-unstable

changeset 15177:089696e0c603

Fix default return value for VM_Metrics.get_state

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
author Tom Wilkie <tom.wilkie@gmail.com>
date Thu May 17 11:42:46 2007 +0100 (2007-05-17)
parents 11a97dca57aa
children 1c232243a457 bb02de55017b
files tools/python/xen/xend/XendVMMetrics.py
line diff
     1.1 --- a/tools/python/xen/xend/XendVMMetrics.py	Thu May 17 11:18:58 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendVMMetrics.py	Thu May 17 11:42:46 2007 +0100
     1.3 @@ -117,7 +117,7 @@ class XendVMMetrics(XendBase):
     1.4          except Exception, err:
     1.5              # ignore missing domain
     1.6              log.trace("domain_getinfo(%d) failed, ignoring: %s", domid, str(err))
     1.7 -        return ""
     1.8 +        return []
     1.9  
    1.10      def get_VCPUs_params(self):
    1.11          domid = self.xend_domain_instance.getDomid()