mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
When domains are destroyed/suspend-resume/migration using the Xen-API things break due to the domid not having been reset. This patch fixes this. This is the best place I found for fixing this problem. I could not push this line into _stateSet() for the case of DOM_STATE_HALTED and left a comment regarding this. Signed-off-by: Stefan Berger <stefanb@us.ibm.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.