mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Remove pretty random cleanup code in _add_domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
9a96bf893d
commit
1bc5147c84
1 file changed
-5
@@ -177,11 +177,6 @@ class XendDomain:
|
||||
@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
|
||||
|
||||