ia64/xen-unstable

changeset 6897:753c49dc808c

Actually update domain info when dom_get() succeeds.

Signed-off-by: Steven Hand <steven@xensource.com>
author shand@ubuntu.eng.hq.xensource.com
date Thu Sep 15 08:15:48 2005 -0800 (2005-09-15)
parents c27431cf81f9
children 2f5537317988
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Thu Sep 15 13:17:24 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Sep 15 08:15:48 2005 -0800
     1.3 @@ -358,7 +358,8 @@ class XendDomainInfo:
     1.4          else:
     1.5              di = dom_get(self.domid)
     1.6              if not di:
     1.7 -                return 
     1.8 +                return
     1.9 +            self.info = di 
    1.10          self.memory = self.info['mem_kb'] / 1024
    1.11          self.ssidref = self.info['ssidref']
    1.12