ia64/xen-unstable

changeset 19827:84932aa99aae

xend: Fix vbd/tapdisk device destruction

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 24 11:14:32 2009 +0100 (2009-06-24)
parents 7750bae3d042
children 180ae4bca33e
files tools/python/xen/xend/server/BlktapController.py
line diff
     1.1 --- a/tools/python/xen/xend/server/BlktapController.py	Wed Jun 24 11:11:58 2009 +0100
     1.2 +++ b/tools/python/xen/xend/server/BlktapController.py	Wed Jun 24 11:14:32 2009 +0100
     1.3 @@ -60,6 +60,11 @@ class BlktapController(BlkifController):
     1.4          
     1.5          return "%s/device/vbd" % self.vm.getDomainPath()
     1.6  
     1.7 +    def devicePath(self, devid):
     1.8 +        """@see DevController#devicePath"""
     1.9 +        
    1.10 +        return "%s/device/vbd/%s" % (self.vm.vmpath, devid)
    1.11 +
    1.12      def getDeviceDetails(self, config):
    1.13          (devid, back, front) = BlkifController.getDeviceDetails(self, config)
    1.14