xend: Fix vbd/tapdisk device destruction

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2009-06-24 11:14:32 +01:00
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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.