ia64/xen-unstable

changeset 15773:ac7a8c9d6202

xend: Fix vbd detach.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author kfraser@localhost.localdomain
date Fri Aug 17 10:01:40 2007 +0100 (2007-08-17)
parents 458e8b37aec8
children bd8647a7b992
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Fri Aug 17 10:00:22 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Fri Aug 17 10:01:40 2007 +0100
     1.3 @@ -607,6 +607,9 @@ class XendDomainInfo:
     1.4                      _, dev_info = sxprs[dev]
     1.5              else:  # 'vbd' or 'tap'
     1.6                  dev_info = self.getDeviceInfo_vbd(dev)
     1.7 +                # To remove the UUID of the device from refs,
     1.8 +                # deviceClass must be always 'vbd'.
     1.9 +                deviceClass = 'vbd'
    1.10              if dev_info is None:
    1.11                  return rc
    1.12