VirtualBox

Changeset 51731 in vbox for trunk/src


Ignore:
Timestamp:
Jun 26, 2014 8:27:09 AM (11 years ago)
Author:
vboxsync
Message:

VMM/GIM/Minimal: Set HVP and MWAIT_EXT for OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/GIMMinimal.cpp

    r51333 r51731  
    3838    AssertReturn(pVM->gim.s.enmProviderId == GIMPROVIDERID_MINIMAL, VERR_INTERNAL_ERROR_5);
    3939
    40     Assert(CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_HVP));
     40    /*
     41     * Enable the Hypervisor Present and MWait Extensions bits.
     42     */
     43    CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_HVP);
     44    CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_MWAIT_EXTS);
    4145
    4246    /** @todo Register CPUID leaves, MSR ranges with CPUM. */
Note: See TracChangeset for help on using the changeset viewer.

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