VirtualBox

Ignore:
Timestamp:
Sep 20, 2018 4:55:05 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125213
Message:

VMM/CPU, IEM: Nested VMX: bugref:9180 Access the CR0 and CR4 fixed bits from the corresponding MSRs for now.

File:
1 edited

Legend:

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

    r74385 r74392  
    53385338            if (IEM_IS_VMX_ROOT_MODE(pVCpu))
    53395339            {
    5340                 uint32_t const uCr0Fixed0 = IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVmxUnrestrictedGuest ?
    5341                                             VMX_V_CR0_FIXED0_UX : VMX_V_CR0_FIXED0;
     5340                uint32_t const uCr0Fixed0 = CPUMGetGuestIa32VmxCr0Fixed0(pVCpu);
    53425341                if ((uNewCrX & uCr0Fixed0) != uCr0Fixed0)
    53435342                {
     
    55655564            if (IEM_IS_VMX_ROOT_MODE(pVCpu))
    55665565            {
    5567                 uint32_t const uCr4Fixed0 = VMX_V_CR4_FIXED0;
     5566                uint32_t const uCr4Fixed0 = CPUMGetGuestIa32VmxCr4Fixed0(pVCpu);
    55685567                if ((uNewCrX & uCr4Fixed0) != uCr4Fixed0)
    55695568                {
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