Lines Matching defs:_ControllerTypeToName
48 def _ControllerTypeToName(eControllerType):
345 fRc = oSession.ensureControllerAttached(_ControllerTypeToName(eStorageController));
346 fRc = fRc and oSession.setStorageControllerType(eStorageController, _ControllerTypeToName(eStorageController));
368 oSession.o.machine.attachDevice(_ControllerTypeToName(eStorageController), \
371 oSession.o.machine.attachDevice(_ControllerTypeToName(eStorageController), \
375 % (_ControllerTypeToName(eStorageController), 1, 0, oHd.id, oSession.sName) );
380 fRc = fRc and oSession.createAndAttachHd(sDiskPath1, sDiskFormat, _ControllerTypeToName(eStorageController), \
382 fRc = fRc and oSession.createAndAttachHd(sDiskPath2, sDiskFormat, _ControllerTypeToName(eStorageController), \
413 oSession.o.machine.detachDevice(_ControllerTypeToName(eStorageController), 1, 0);
414 oSession.o.machine.detachDevice(_ControllerTypeToName(eStorageController), 2, 0);
419 oSession.o.machine.removeStorageController(_ControllerTypeToName(eStorageController));