[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: Fix error handling in device_create().
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1231250499 0 # Node ID f2ede9e01d1440e81bd091121ef77eb4d214c437 # Parent f1239aad10cf133af86c69a1f806b3a03fa63953 xend: Fix error handling in device_create(). Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r f1239aad10cf -r f2ede9e01d14 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Tue Jan 06 14:00:58 2009 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Tue Jan 06 14:01:39 2009 +0000 @@ -726,7 +726,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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |