mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Driver changes: Make backend drivers check it when entering Closed state, only unregister devices when the "online" node is either "0" or not present. The later maintains backward compatibility. Tools changes: Update "online" node when creating and hot-unplugging devices. Background: When kexec'ing a new kernel, the old kernel's frontend driver will shutdown, but the backend device should *NOT* disappear due to that, so the new kernel instance can reconnect. Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
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.