[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix recent XenRT Failure re: xm block-list via XenAPI
# HG changeset patch # User Tom Wilkie <tom.wilkie@xxxxxxxxx> # Date 1179397138 -3600 # Node ID 11a97dca57aa4e2d0ebda5a9ec2d509372dcddd6 # Parent 6145e5508d6b5ff188df250fb9c97e3e47762005 Fix recent XenRT Failure re: xm block-list via XenAPI signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx> --- tools/python/xen/xend/XendAPI.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 6145e5508d6b -r 11a97dca57aa tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Wed May 16 23:12:16 2007 +0100 +++ b/tools/python/xen/xend/XendAPI.py Thu May 17 11:18:58 2007 +0100 @@ -1780,6 +1780,7 @@ class XendAPI(object): return_cfg[k] = cfg[k] return_cfg['metrics'] = vbd_ref + return_cfg['runtime_properties'] = {} #todo return xen_api_success(return_cfg) @@ -1849,7 +1850,7 @@ class XendAPI(object): try: devid = int(device['id']) device_sxps = dominfo.getDeviceSxprs('vbd') - device_dicts = [dict(device_sxp[1][1:]) for device_sxp in device_sxps] + device_dicts = [dict(device_sxp[1][0:]) for device_sxp in device_sxps] device_dict = [device_dict for device_dict in device_dicts if int(device_dict['virtual-device']) == devid][0] _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |