Displaying 2 results from an estimated 2 matches for "readbackend".
Did you mean:
read_backend
2006 Jul 25
2
Compile from sources
I''ve compiled xen-3.0.2-2 from sources. I''ve went to the end without
errors. The ./install.sh script have been created the /etc/grub.conf
file as it :
# initrd /boot/initrd-version.img
#boot=/dev/hdc
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,0)
kernel
2010 Mar 26
0
[PATCH] del xend entry when destroy pv usb host controller of a guest os with no pv-frontend driver
...h))
-
- rc = self.getDeviceController(deviceClass).destroyDevice(devid,
force)
+ if deviceClass ==''vusb'':
+ dev =
self.getDeviceController(deviceClass).convertToDeviceNumber(devid)
+ state =
self.getDeviceController(deviceClass).readBackend(dev, ''state'')
+ if state == ''1'':
+ rc =
self.getDeviceController(deviceClass).destroyDevice(devid, True)
+ else:
+ rc =
self.getDeviceController(deviceClass).destroyDevice(devid, force)
+...