mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Add a resumed domain to the self.domains list after XendCheckpoint.restore, to ensure that it does not get recreated immediately afterwards. Perform domain_resume under the domains_lock, given that the domain needs to be added. These fixes together should fix xm suspend and xm resume. 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.