mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
dependency between those two classes. Split the XendDomain constructor into two pieces so that XendDomainInfo can call XendDomain.instance even during the initial startup of XendDomain. These two together mean that there is no need for the horrendous hack using XendRoot.get_component to pass the singleton instance of XendDomain around. Both XendRoot.get_component and XendRoot.add_component can go. Signed-off-by: Ewan Mellor <ewan@xensource.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.