mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
continue to receive watches. This means that it is not necessary to probe around in the xswatch internals to unregister a watch. Tidy up the hotplug watch handling, moving the nested function out to a separate place (I don't think that this was a problem in the end, but it was making me nervous as I was debugging the recent race condition, and I find it clearer out of the class in any case. Pass an integer code representing hotplug status, once it has been parsed from the store, as there are now a few different places we can detect failure, and it's cleaner to pass a code from those places. Small tidy up to XendDomain, removing the unused releaseDomain field.
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.