mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Splits XendStorageRepository into a helper class and XendQCowStorageRepo as the QCoW File backed repository. This gives us the opportunity to introduce a pseudo storage repository to represent the old way of specifying block devices. This is the XendLocalStorageRepo. Note that this still introduces a non-Xen API 'uri' attribute to VDIs in order to support querying VDIs for their actual location relative to the Xen host. The QCoW backed repository is now named QCoW, and the pseudo-SR is named Local. This removes the 'image' attribute backwards-compat hack in VBDs in the Xen API. Signed-off-by: Alastair Tse <atse@xensource.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.