xend: Fix error handling in device_create()
PATCH 1/1 xend: Fix error handling in device_create()
This is a small fix of the error handling in device_create().
Signed-off-by Yosuke Iwamatsu <[email protected]>
Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation
xend: Fix error handling in device_create().
Signed-off-by Yosuke Iwamatsu <[email protected]>
tools/python/xen/xend/XendDomainInfo.py +1 -1
@@ -675,7 +675,7 @@ class XendDomainInfo: if dev_type == 'pci': for dev in dev_config_dict['devs']: XendAPIStore.deregister(dev['uuid'], 'DPCI') - if dev_type == 'vscsi': + elif dev_type == 'vscsi': for dev in dev_config_dict['devs']: XendAPIStore.deregister(dev['uuid'], 'DSCSI') elif dev_type == 'tap':
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel