VirtualBox

Changeset 106384 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Oct 16, 2024 1:58:41 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165197
Message:

Main: Code for configuring and enabling nested virtualization support on ARM (M3 based hardware + macOS 15.0 aka Sequioa), bugref:10747

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImplConfigArmV8.cpp

    r106361 r106384  
    153153#endif
    154154
     155    /* Get the ARM platform object. */
     156    ComPtr<IPlatformARM> platformARM;
     157    hrc = platform->COMGETTER(ARM)(platformARM.asOutParam());                               H();
     158
    155159    ComPtr<IPlatformProperties> pPlatformProperties;
    156160    hrc = platform->COMGETTER(Properties)(pPlatformProperties.asOutParam());                H();
     
    364368        PCFGMNODE pCpum;
    365369        InsertConfigNode(pRoot, "CPUM", &pCpum);
     370
     371        /* Nested Virtualization. */
     372        BOOL fNestedHWVirt = FALSE;
     373        hrc = platformARM->GetCPUProperty(CPUPropertyTypeARM_HWVirt, &fNestedHWVirt); H();
     374        InsertConfigInteger(pCpum, "NestedHWVirt", fNestedHWVirt ? true : false);
    366375
    367376
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