Changeset 103198 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Feb 5, 2024 10:57:43 AM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 161465
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/TestBoxHelper.cpp
r103196 r103198 551 551 552 552 typedef enum { HWVIRTTYPE_NONE, HWVIRTTYPE_VTX, HWVIRTTYPE_AMDV, HVIRTTYPE_ARMV8 } HWVIRTTYPE; 553 static HWVIRTTYPE isHwVirtSupported(void)553 static HWVIRTTYPE getHwVirtSupport(void) 554 554 { 555 555 /* No native virtualization supported on macOS anymore (for the VBox versions we care about). */ … … 585 585 { 586 586 NOREF(argc); NOREF(argv); 587 int cch = RTPrintf( isHwVirtSupported() != HWVIRTTYPE_NONE ? "true\n" : "false\n");587 int cch = RTPrintf(getHwVirtSupport() != HWVIRTTYPE_NONE ? "true\n" : "false\n"); 588 588 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 589 589 } … … 595 595 { 596 596 NOREF(argc); NOREF(argv); 597 int fSupported = -1;598 599 HWVIRTTYPE enmHwVirt = isHwVirtSupported();597 int fSupported = -1; 598 599 HWVIRTTYPE const enmHwVirt = getHwVirtSupport(); 600 600 if (enmHwVirt == HWVIRTTYPE_NONE) 601 601 fSupported = 0; … … 673 673 { 674 674 NOREF(argc); NOREF(argv); 675 int fSupported = 0; 676 677 if ( isHwVirtSupported() != HWVIRTTYPE_NONE 675 int fSupported = 0; 676 677 HWVIRTTYPE const enmHwVirt = getHwVirtSupport(); 678 if ( enmHwVirt != HWVIRTTYPE_NONE 678 679 || isNativeApiSupported()) 679 680 {
Note:
See TracChangeset
for help on using the changeset viewer.