mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Replace VDI.location with a more generic VDI.other_config map. Remove
VDI.sector_size. Xend work by Tom Wilkie <tom.wilkie@gmail.com>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
716d0617c9
commit
98321440ec
12 files changed
+272
-107
No files matched your search
@@ -39,8 +39,7 @@ vm_cfg = {
|
||||
vdi_cfg = {
|
||||
'name_label': 'API_VDI',
|
||||
'name_description': '',
|
||||
'virtual_size': 100 * 1024 * 1024,
|
||||
'sector_size': 1024,
|
||||
'virtual_size': 100 * 1024 * 1024 * 1024,
|
||||
'type': 'system',
|
||||
'parent': '',
|
||||
'SR_name': 'QCoW',
|
||||
@@ -60,14 +59,13 @@ vbd_cfg = {
|
||||
local_vdi_cfg = {
|
||||
'name_label': 'gentoo.amd64.img',
|
||||
'name_description': '',
|
||||
'location': 'file:/root/gentoo.amd64.img',
|
||||
'virtual_size': 0,
|
||||
'sector_size': 0,
|
||||
'type': 'system',
|
||||
'parent': '',
|
||||
'SR_name': 'Local',
|
||||
'sharable': False,
|
||||
'read_only': False,
|
||||
'other_config': {'location': 'file:/root/gentoo.amd64.img'},
|
||||
}
|
||||
|
||||
local_vbd_cfg = {
|
||||
|
||||