VirtualBox

Ignore:
Timestamp:
Oct 22, 2019 7:24:10 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134153
Message:

ValidationKit/testdriver: Add hasHostNestedHwVirt and allow testing nested hardware-virtualization smoketest based on it (previously was based on isHostCpuAmd).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r80783 r81435  
    31723172           and self.hasHostHwVirt(fQuiet);
    31733173
     3174    def hasHostNestedHwVirt(self, fQuiet = False):
     3175       """
     3176       Checks if nested hardware-assisted virtualization is supported by the host.
     3177
     3178       Returns True / False.
     3179       Raises exception on environment / host mismatch.
     3180       """
     3181       return self._hasHostCpuFeature('TESTBOX_HAS_NESTED_HWVIRT', 'ProcessorFeature_NestedHWVirt', 6.0, fQuiet) \
     3182          and self.hasHostHwVirt(fQuiet);
     3183
    31743184    def hasHostLongMode(self, fQuiet = False):
    31753185        """
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette