Displaying 1 result from an estimated 1 matches for "vusb_config".
Did you mean:
sub_config
[PATCH]add usb-ver format check to avoid usb-list error and incorrect usb-ver saved into config file
2010 Aug 06
1
[PATCH]add usb-ver format check to avoid usb-list error and incorrect usb-ver saved into config file
...USB host controller.''),
''usb-hc-destroy'' : (''<Domain> <DevId>'',
''Destroy a domain\''s virtual USB host controller.''),
@@ -3064,6 +3064,8 @@
ver = args[1]
num = args[2]
vusb_config = [''vusb'']
+ if not re.match(''^\d{1}$'', ver):
+ print "Invalid usb-ver format ''%s''" % ver
vusb_config.append([''usb-ver'', str(ver)])
vusb_config.append([''num-ports'', str(num)])
port_...