mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
blktap2 devices use a regular 'phy' vbd blkback backend, causing Blktap2Controller to trample the devices' parameters. This causes problems with save/restore and managed domains, among other things. This patch modifies Blktap2Controller to store both the vbd and tap2 parameters in xenstore, and stops it from trampling the device's config on device creation. * store blktap2 parameters in xenstore * restore blktap2 device config to original state once the underlying * vbd device is created (this fixes managed domains) * use blktap2 parameters rather than vbd parameters when building * blktap2 device configurations * remove blktap2 specific code from XendConfig Signed-off-by: Ryan O'Connor <rjo@cs.ubc.ca>
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.