Displaying 1 result from an estimated 1 matches for "vbdtype".
2005 Aug 11
0
[PATCH][VT][1/15] Fix config file parsing for VMX domains.
...ild(device, ''vbd'')
- if not vbdinfo:
- raise VmError("vmx: missing vbd configuration")
- uname = sxp.child_value(vbdinfo, ''uname'')
- vbddev = sxp.child_value(vbdinfo, ''dev'')
- (vbdtype, vbdparam) = string.split(uname, '':'', 1)
- vbddev_list = [''hda'', ''hdb'', ''hdc'', ''hdd'']
- if vbdtype != ''file'' or vbddev not in vbddev_list:
- raise VmError...