Changeset 101012 in vbox
- Timestamp:
- Sep 4, 2023 6:25:05 PM (15 months ago)
- Location:
- trunk/src/VBox/ValidationKit/testdriver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r101007 r101012 2580 2580 fSecureBoot = False, 2581 2581 sUefiMokPathPrefix = None, 2582 eGraphicsControllerType = None):2582 sGraphicsControllerType = None): 2583 2583 """ 2584 2584 Creates a test VM with a immutable HD from the test resources. … … 2694 2694 elif fRc and self.fpApiVer >= 6.2 and hasattr(vboxcon, 'IommuType_Intel') and sIommuType == 'intel': 2695 2695 fRc = oSession.setIommuType(vboxcon.IommuType_Intel); 2696 if fRc and eGraphicsControllerType is not None: 2697 fRc = oSession.setVideoControllerType(eGraphicsControllerType); 2696 if fRc and sGraphicsControllerType is not None: 2697 if sGraphicsControllerType == 'VBoxSVGA': 2698 fRc = oSession.setVideoControllerType(vboxcon.GraphicsControllerType_VBoxSVGA); 2699 elif sGraphicsControllerType == 'VMSVGA': 2700 fRc = oSession.setVideoControllerType(vboxcon.GraphicsControllerType_VMSVGA); 2701 elif sGraphicsControllerType == 'VBoxVGA': 2702 fRc = oSession.setVideoControllerType(vboxcon.GraphicsControllerType_VBoxVGA); 2698 2703 2699 2704 if fRc: fRc = oSession.saveSettings(); -
trunk/src/VBox/ValidationKit/testdriver/vboxtestvms.py
r101010 r101012 1189 1189 self.sCom1RawFile = self._generateRawPortFilename(oTestDrv, '-com1-', '.out'); 1190 1190 return oTestDrv.createTestVM(self.sVmName, 1191 1, # iGroup1192 sHd = self.sHd,1193 sKind = self.sKind,1194 fIoApic = self.fIoApic,1195 fNstHwVirt = self.fNstHwVirt,1196 fPae = self.fPae,1197 eNic0AttachType = eNic0AttachType,1198 sDvdImage = sDvdImage,1199 sDvdControllerType = self.sDvdControllerType,1200 sHddControllerType = self.sHddControllerType,1201 sFloppy = self.sFloppy,1202 fVmmDevTestingPart = self.fVmmDevTestingPart,1203 fVmmDevTestingMmio = self.fVmmDevTestingMmio,1204 sFirmwareType = self.sFirmwareType,1205 sChipsetType = self.sChipsetType,1206 sIommuType = self.sIommuType,1207 sCom1RawFile = self.sCom1RawFile if self.fCom1RawFile else None,1208 fSecureBoot = self.fSecureBoot,1209 sUefiMokPathPrefix = self.sUefiMokPathPrefix,1210 eGraphicsControllerType = vboxcon.GraphicsControllerType_VBoxSVGA if self.sGraphicsControllerType == 'VBoxSVGA' else None1211 );1191 1, # iGroup 1192 sHd = self.sHd, 1193 sKind = self.sKind, 1194 fIoApic = self.fIoApic, 1195 fNstHwVirt = self.fNstHwVirt, 1196 fPae = self.fPae, 1197 eNic0AttachType = eNic0AttachType, 1198 sDvdImage = sDvdImage, 1199 sDvdControllerType = self.sDvdControllerType, 1200 sHddControllerType = self.sHddControllerType, 1201 sFloppy = self.sFloppy, 1202 fVmmDevTestingPart = self.fVmmDevTestingPart, 1203 fVmmDevTestingMmio = self.fVmmDevTestingMmio, 1204 sFirmwareType = self.sFirmwareType, 1205 sChipsetType = self.sChipsetType, 1206 sIommuType = self.sIommuType, 1207 sCom1RawFile = self.sCom1RawFile if self.fCom1RawFile else None, 1208 fSecureBoot = self.fSecureBoot, 1209 sUefiMokPathPrefix = self.sUefiMokPathPrefix, 1210 sGraphicsControllerType = self.sGraphicsControllerType 1211 ); 1212 1212 1213 1213 def getReconfiguredVm(self, oTestDrv, cCpus, sVirtMode, sParavirtMode = None):
Note:
See TracChangeset
for help on using the changeset viewer.