ia64/xen-unstable

changeset 6918:5b56f1646e58

Remove pretty random cleanup code in _add_domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Fri Sep 16 20:02:18 2005 +0000 (2005-09-16)
parents 4490e39fc322
children edd70af0fb22
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Fri Sep 16 19:11:39 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Fri Sep 16 20:02:18 2005 +0000
     1.3 @@ -177,11 +177,6 @@ class XendDomain:
     1.4          @param info:   domain info object
     1.5          @param notify: send a domain created event if true
     1.6          """
     1.7 -        # Remove entries under the wrong id.
     1.8 -        for i, d in self.domains.items():
     1.9 -            if i != d.domid:
    1.10 -                del self.domains[i]
    1.11 -                self.dbmap.delete(d.uuid)
    1.12          if info.domid in self.domains:
    1.13              notify = False
    1.14          self.domains[info.domid] = info