mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
xend: Fix vbd detach.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
133feccc85
commit
8b7f8bce55
1 file changed
+3
@@ -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
|
||||
|
||||
|
||||