VirtualBox

Changeset 73435 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 1, 2018 4:24:13 PM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Allow setting CR4.VMXE when it is supported by CPUID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r73400 r73435  
    55085508                            | X86_CR4_PCE | X86_CR4_OSFXSR
    55095509                            | X86_CR4_OSXMMEEXCPT;
    5510             //if (xxx)
    5511             //    fValid |= X86_CR4_VMXE;
     5510            if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVmx)
     5511                fValid |= X86_CR4_VMXE;
    55125512            if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fXSaveRstor)
    55135513                fValid |= X86_CR4_OSXSAVE;
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