Displaying 2 results from an estimated 2 matches for "finishdevicecleanup".
2010 Mar 26
0
[PATCH] del xend entry when destroy pv usb host controller of a guest os with no pv-frontend driver
....py Fri Mar 26 13:27:25 2010
+0800
@@ -1305,8 +1305,15 @@
frontpath =
self.getDeviceController(deviceClass).frontendPath(dev)
backpath = xstransact.Read(frontpath, "backend")
thread.start_new_thread(self.getDeviceController(deviceClass).finishDeviceCleanup,
(backpath, path))
-
- rc = self.getDeviceController(deviceClass).destroyDevice(devid,
force)
+ if deviceClass ==''vusb'':
+ dev =
self.getDeviceController(deviceClass).convertToDeviceNumber(devid)
+ state =
self.getDeviceControll...
2011 Nov 25
9
[BUG] insufficient quoting between "tap-ctl list" and xend/server/BlktapController.py
...uses a image file,
which contains spaces in its file name.
/var/log/xen/xend-debug.log has the following information:
Unhandled exception in thread started by
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py",
line 199, in finishDeviceCleanup
TapdiskController.destroy(path)
File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py",
line 289, in destroy
tapdisk = TapdiskController.fromDevice(device)
File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py",
line 278, i...