mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix registration on managed domains on xend restart.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
a0d286b852
commit
be61b6ee05
1 file changed
+2
@@ -191,6 +191,8 @@ class XendDomain:
|
||||
# instantiate domain if not started.
|
||||
new_dom = XendDomainInfo.createDormant(dom)
|
||||
self._managed_domain_register(new_dom)
|
||||
else:
|
||||
self._managed_domain_register(running_dom)
|
||||
except Exception:
|
||||
log.exception("Failed to create reference to managed "
|
||||
"domain: %s" % dom_name)
|
||||
|
||||