[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Actually update domain info when dom_get() succeeds.



# HG changeset patch
# User shand@xxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 753c49dc808c9d51eb725a8692cd4ab8cdfee75b
# Parent  c27431cf81f96a6d98c4e25bd08e6762918019e4
Actually update domain info when dom_get() succeeds. 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r c27431cf81f9 -r 753c49dc808c tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Thu Sep 15 13:17:24 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Thu Sep 15 16:15:48 2005
@@ -358,7 +358,8 @@
         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']
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.