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

[Xen-changelog] Move dom0 setup code out of initial_refresh.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID edd70af0fb22955e4c5dae375bb58970380df4d7
# Parent  5b56f1646e5879035645ee87181d97ae8939cece
Move dom0 setup code out of initial_refresh.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 5b56f1646e58 -r edd70af0fb22 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Fri Sep 16 20:02:18 2005
+++ b/tools/python/xen/xend/XendDomain.py       Fri Sep 16 20:03:57 2005
@@ -68,6 +68,7 @@
         self.dbmap = DBMap(db=XenNode("/domain"))
         self.watchReleaseDomain()
         self.initial_refresh()
+        self.dom0_setup()
 
     def list(self):
         """Get list of domain objects.
@@ -151,6 +152,7 @@
                 self._delete_domain(domid)
         self.refresh(cleanup=True)
 
+    def dom0_setup():
         dom0 = self.domain_lookup(0)
         if not dom0:
             dom0 = self.domain_unknown(0)

_______________________________________________
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®.