mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Actually update domain info when dom_get() succeeds.
Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
1 parent
47ff2422db
commit
e999e0f1ae
1 file changed
+2
-1
@@ -358,7 +358,8 @@ class XendDomainInfo:
|
||||
else:
|
||||
di = dom_get(self.domid)
|
||||
if not di:
|
||||
return
|
||||
return
|
||||
self.info = di
|
||||
self.memory = self.info['mem_kb'] / 1024
|
||||
self.ssidref = self.info['ssidref']
|
||||
|
||||
|
||||