Changeset 58889 in vbox
- Timestamp:
- Nov 26, 2015 8:11:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r58888 r58889 973 973 cOhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_OHCI); 974 974 if cOhciCtls == 0: 975 self.o.machine. AddUSBController('OHCI', vboxcon.USBControllerType_OHCI);975 self.o.machine.addUSBController('OHCI', vboxcon.USBControllerType_OHCI); 976 976 else: 977 977 self.o.machine.usbController.enabled = True; … … 1009 1009 cOhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_OHCI); 1010 1010 if cOhciCtls == 0: 1011 self.o.machine. AddUSBController('OHCI', vboxcon.USBControllerType_OHCI);1011 self.o.machine.addUSBController('OHCI', vboxcon.USBControllerType_OHCI); 1012 1012 else: 1013 1013 self.o.machine.usbController.enabled = True; … … 1016 1016 cOhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_OHCI); 1017 1017 if cOhciCtls == 1: 1018 self.o.machine. RemoveUSBController('OHCI');1018 self.o.machine.removeUSBController('OHCI'); 1019 1019 else: 1020 1020 self.o.machine.usbController.enabled = False; … … 1038 1038 cOhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_OHCI); 1039 1039 if cOhciCtls == 0: 1040 self.o.machine. AddUSBController('OHCI', vboxcon.USBControllerType_OHCI);1040 self.o.machine.addUSBController('OHCI', vboxcon.USBControllerType_OHCI); 1041 1041 1042 1042 cEhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_EHCI); 1043 1043 if cEhciCtls == 0: 1044 self.o.machine. AddUSBController('EHCI', vboxcon.USBControllerType_EHCI);1044 self.o.machine.addUSBController('EHCI', vboxcon.USBControllerType_EHCI); 1045 1045 else: 1046 1046 self.o.machine.usbController.enabled = True; … … 1050 1050 cEhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_EHCI); 1051 1051 if cEhciCtls == 1: 1052 self.o.machine. RemoveUSBController('EHCI');1052 self.o.machine.removeUSBController('EHCI'); 1053 1053 else: 1054 1054 self.o.machine.usbController.enabledEHCI = False; … … 1070 1070 cXhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_XHCI); 1071 1071 if cXhciCtls == 0: 1072 self.o.machine. AddUSBController('XHCI', vboxcon.USBControllerType_XHCI);1072 self.o.machine.addUSBController('XHCI', vboxcon.USBControllerType_XHCI); 1073 1073 else: 1074 1074 cXhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_XHCI); 1075 1075 if cXhciCtls == 1: 1076 self.o.machine. RemoveUSBController('XHCI');1076 self.o.machine.removeUSBController('XHCI'); 1077 1077 except: 1078 1078 reporter.errorXcpt('failed to change XHCI to %s for "%s"' % (fEnable, self.sName));
Note:
See TracChangeset
for help on using the changeset viewer.