VirtualBox

Changeset 93294 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jan 18, 2022 8:48:07 AM (3 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10092 Fixed the missed cpumMsrRd_Ia32VmxCr0Fixed0 in r149358.

File:
1 edited

Legend:

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

    r93293 r93294  
    14081408{
    14091409    RT_NOREF_PV(idMsr); RT_NOREF_PV(pRange);
    1410     *puValue = pVCpu->cpum.s.Guest.hwvirt.vmx.Msrs.u64Cr0Fixed0;
     1410    if (pVCpu->CTX_SUFF(pVM)->cpum.s.GuestFeatures.fVmx)
     1411        *puValue = pVCpu->cpum.s.Guest.hwvirt.vmx.Msrs.u64Cr0Fixed0;
     1412    else
     1413        *puValue = 0;
    14111414    return VINF_SUCCESS;
    14121415}
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