VirtualBox

Changeset 17916 in vbox


Ignore:
Timestamp:
Mar 16, 2009 11:07:41 AM (16 years ago)
Author:
vboxsync
Message:

VT-x init: some BIOSes forget to set the locked bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r17246 r17916  
    514514        * Once the lock bit is set, this MSR can no longer be modified.
    515515        */
    516         if (!(val & (MSR_IA32_FEATURE_CONTROL_VMXON|MSR_IA32_FEATURE_CONTROL_LOCK)))
     516        if (    !(val & (MSR_IA32_FEATURE_CONTROL_VMXON|MSR_IA32_FEATURE_CONTROL_LOCK))
     517            ||  ((val & (MSR_IA32_FEATURE_CONTROL_VMXON|MSR_IA32_FEATURE_CONTROL_LOCK)) == MSR_IA32_FEATURE_CONTROL_VMXON) /* Some BIOSes forget to set the locked bit. */
     518           )
    517519        {
    518520            /* MSR is not yet locked; we can change it ourselves here */
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