mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
xend: Fix vbd/tapdisk device destruction
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
13b3999edb
commit
e5654d4fbf
1 file changed
+5
@@ -60,6 +60,11 @@ class BlktapController(BlkifController):
|
||||
|
||||
return "%s/device/vbd" % self.vm.getDomainPath()
|
||||
|
||||
def devicePath(self, devid):
|
||||
"""@see DevController#devicePath"""
|
||||
|
||||
return "%s/device/vbd/%s" % (self.vm.vmpath, devid)
|
||||
|
||||
def getDeviceDetails(self, config):
|
||||
(devid, back, front) = BlkifController.getDeviceDetails(self, config)
|
||||
|
||||
|
||||