Changeset 92269 in vbox for trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
- Timestamp:
- Nov 8, 2021 2:37:50 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r92244 r92269 1721 1721 return fRc; 1722 1722 1723 def setLargePages(self, fUseLargePages): 1724 """ 1725 Configures whether the VM should use large pages or not. 1726 Returns True on success and False on failure. Error information is logged. 1727 """ 1728 fRc = True; 1729 try: 1730 self.o.machine.setHWVirtExProperty(vboxcon.HWVirtExPropertyType_LargePages, fUseLargePages); 1731 except: 1732 reporter.errorXcpt('failed to set large pages of "%s" to %s' % (self.sName, fUseLargePages)); 1733 fRc = False; 1734 else: 1735 reporter.log('set the large pages of "%s" to %s' % (self.sName, fUseLargePages)); 1736 self.oTstDrv.processPendingEvents(); 1737 return fRc; 1738 1723 1739 def setVRamSize(self, cMB): 1724 1740 """
Note:
See TracChangeset
for help on using the changeset viewer.