mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
The save failure cleanup introduced in 13543:207523704fb1 is incorrect: if we didn't get as far as actually suspending the domain, then the guest domain will not be expecting the devices to be removed (seen on both Linux and Solaris, which don't expect a 'Closing' state when they hold the device open). Only re-jig devices if we definitely shut the domain down. Signed-off-by: John Levon <john.levon@sun.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.