Mailing List Archive

[xen-unstable] xend: Fix vbd detach.
# HG changeset patch
# User kfraser@localhost.localdomain
# Date 1187341300 -3600
# Node ID ac7a8c9d620262fd8d193130e3e6f7b2d3be95db
# Parent 458e8b37aec81b76d1aba137f82613cd9e584fa3
xend: Fix vbd detach.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
---
tools/python/xen/xend/XendDomainInfo.py | 3 +++
1 files changed, 3 insertions(+)

diff -r 458e8b37aec8 -r ac7a8c9d6202 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Fri Aug 17 10:00:22 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Fri Aug 17 10:01:40 2007 +0100
@@ -607,6 +607,9 @@ class XendDomainInfo:
_, dev_info = sxprs[dev]
else: # 'vbd' or 'tap'
dev_info = self.getDeviceInfo_vbd(dev)
+ # To remove the UUID of the device from refs,
+ # deviceClass must be always 'vbd'.
+ deviceClass = 'vbd'
if dev_info is None:
return rc


_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog