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

[Xen-changelog] Remove pretty random cleanup code in _add_domain.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 5b56f1646e5879035645ee87181d97ae8939cece
# Parent  4490e39fc3228088939cab93bb77ba5ecbc46589
Remove pretty random cleanup code in _add_domain.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 4490e39fc322 -r 5b56f1646e58 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Fri Sep 16 19:11:39 2005
+++ b/tools/python/xen/xend/XendDomain.py       Fri Sep 16 20:02:18 2005
@@ -177,11 +177,6 @@
         @param info:   domain info object
         @param notify: send a domain created event if true
         """
-        # Remove entries under the wrong id.
-        for i, d in self.domains.items():
-            if i != d.domid:
-                del self.domains[i]
-                self.dbmap.delete(d.uuid)
         if info.domid in self.domains:
             notify = False
         self.domains[info.domid] = info

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