VirtualBox

Changeset 73290 in vbox


Ignore:
Timestamp:
Jul 21, 2018 5:13:03 AM (7 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Nested VMX: bugref:9180 Consider true capability MSRs while reporting IA32_VMX_BASIC MSR.

File:
1 edited

Legend:

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

    r73274 r73290  
    12991299        uint64_t const fVmcsMemType     = VMX_VMCS_MEM_TYPE_WB;
    13001300        uint64_t const fVmcsInsOutsInfo = pVCpu->CTX_SUFF(pVM)->cpum.s.GuestFeatures.fVmxInsOutInfo;
     1301        uint64_t const fTrueCapMsrs     = 0;
    13011302        *puValue = fVmcsRevisionId
    13021303                 | (f32BitAddrLimit  << MSR_IA32_VMX_BASIC_VMCS_PHYS_WIDTH_SHIFT)
    13031304                 | (fDualMonSmiSmm   << MSR_IA32_VMX_BASIC_DUAL_MON_SHIFT)
    13041305                 | (fVmcsMemType     << MSR_IA32_VMX_BASIC_VMCS_MEM_TYPE_SHIFT)
    1305                  | (fVmcsInsOutsInfo << MSR_IA32_VMX_BASIC_VMCS_INS_OUTS_SHIFT);
     1306                 | (fVmcsInsOutsInfo << MSR_IA32_VMX_BASIC_VMCS_INS_OUTS_SHIFT)
     1307                 | (fTrueCapMsrs     << MSR_IA32_VMX_BASIC_TRUE_CONTROLS_SHIFT);
    13061308    }
    13071309    else
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