VirtualBox

Changeset 54891 in vbox


Ignore:
Timestamp:
Mar 20, 2015 11:56:31 PM (10 years ago)
Author:
vboxsync
Message:

CPUM: Enabled CMPXCHG16B by defaults for VMs with nested paging and full hwvirt guest execution capabilities.

File:
1 edited

Legend:

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

    r54888 r54891  
    34353435    }
    34363436
    3437     /** @cfgm{/CPUM/IsaExts/CMPXCHG16B, boolean, false}
    3438      * Expose CMPXCHG16B to the guest if supported by the host.
    3439      */
    3440     rc = cpumR3CpuIdReadIsaExtCfgLegacy(pVM, pIsaExts, pCpumCfg, "CMPXCHG16B", &pConfig->enmCmpXchg16b, false);
     3437    /** @cfgm{/CPUM/IsaExts/CMPXCHG16B, boolean, depends}
     3438     * Expose CMPXCHG16B to the guest if supported by the host. For the time
     3439     * being the default is to only do this for VMs with nested paging and AMD-V or
     3440     * unrestricted guest mode.
     3441     */
     3442    rc = cpumR3CpuIdReadIsaExtCfgLegacy(pVM, pIsaExts, pCpumCfg, "CMPXCHG16B", &pConfig->enmCmpXchg16b, fNestedPagingAndFullGuestExec);
    34413443    AssertLogRelRCReturn(rc, rc);
    34423444
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