Changeset 79400 in vbox
- Timestamp:
- Jun 28, 2019 12:32:57 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131640
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxtestvms.py
r79397 r79400 417 417 return True; 418 418 419 def _storageCtrlAndBusToName(self, oV M, eCtrl, eBus):419 def _storageCtrlAndBusToName(self, oVBoxMgr, oVM, eCtrl, eBus): 420 420 """ 421 421 Resolves the storage controller name given type and bus. … … 424 424 """ 425 425 try: 426 aoControllers = oV M.storageControllers;426 aoControllers = oVBoxMgr.getArray(oVM, 'storageControllers'); 427 427 except: 428 428 reporter.errorXcpt(); … … 819 819 reporter.errorXcpt(); 820 820 else: 821 self.__tHddCtrlPortDev = (self._storageCtrlAndBusToName(oVM, eCtrl, eBus), 0, 0); # ASSUMES port 0, device 0. 821 # ASSUMES port 0, device 0. 822 self.__tHddCtrlPortDev = (self._storageCtrlAndBusToName(oVBoxWrapped.oVBoxMgr, oVM, eCtrl, eBus), 0, 0); 822 823 reporter.log2('getHddAddress: %s, %s, %s [IGuestOSType]' % self.__tHddCtrlPortDev); 823 824 return self.__tHddCtrlPortDev; … … 864 865 reporter.errorXcpt(); 865 866 else: 866 self.__tDvdCtrlPortDev = (self._storageCtrlAndBusToName(oVM, eCtrl, eBus), 1, 0); # ASSUMES port 1, device 0. 867 # ASSUMES port 1, device 0. 868 self.__tDvdCtrlPortDev = (self._storageCtrlAndBusToName(oVBoxWrapped.oVBoxMgr, oVM, eCtrl, eBus), 1, 0); 867 869 reporter.log2('getDvdAddress: %s, %s, %s [IGuestOSType]' % self.__tDvdCtrlPortDev); 868 870 return self.__tDvdCtrlPortDev;
Note:
See TracChangeset
for help on using the changeset viewer.