[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Fix vbd/tapdisk device destruction



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245838472 -3600
# Node ID 84932aa99aae05162e2658d2cf902afc41f5bdc6
# Parent  7750bae3d042c38ba8f95495c106bc40f0e7e3ad
xend: Fix vbd/tapdisk device destruction

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/server/BlktapController.py |    5 +++++
 1 files changed, 5 insertions(+)

diff -r 7750bae3d042 -r 84932aa99aae 
tools/python/xen/xend/server/BlktapController.py
--- a/tools/python/xen/xend/server/BlktapController.py  Wed Jun 24 11:11:58 
2009 +0100
+++ b/tools/python/xen/xend/server/BlktapController.py  Wed Jun 24 11:14:32 
2009 +0100
@@ -59,6 +59,11 @@ class BlktapController(BlkifController):
         """@see DevController#frontendRoot"""
         
         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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.