VirtualBox

Changeset 73431 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 1, 2018 2:56:26 PM (6 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:9180 Don't forget to report the VMCS size in IA32_VMX_BASIC MSR, nits.

File:
1 edited

Legend:

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

    r73406 r73431  
    12951295    if (pGuestFeatures->fVmx)
    12961296    {
    1297         *puValue = RT_BF_MAKE(VMX_BF_BASIC_VMCS_ID,       VMX_V_VMCS_REVISION_ID        )
    1298                  | RT_BF_MAKE(VMX_BF_BASIC_DUAL_MON,      0                             )
    1299                  | RT_BF_MAKE(VMX_BF_BASIC_VMCS_MEM_TYPE, VMX_BASIC_MEM_TYPE_WB         )
    1300                  | RT_BF_MAKE(VMX_BF_BASIC_VMCS_INS_OUTS, pGuestFeatures->fVmxInsOutInfo)
    1301                  | RT_BF_MAKE(VMX_BF_BASIC_TRUE_CTLS,     0                             );
     1297        *puValue = RT_BF_MAKE(VMX_BF_BASIC_VMCS_ID,         VMX_V_VMCS_REVISION_ID        )
     1298                 | RT_BF_MAKE(VMX_BF_BASIC_VMCS_SIZE,       VMX_V_VMCS_SIZE               )
     1299                 | RT_BF_MAKE(VMX_BF_BASIC_PHYSADDR_WIDTH,  VMX_V_VMCS_PHYSADDR_4G_LIMIT  )
     1300                 | RT_BF_MAKE(VMX_BF_BASIC_DUAL_MON,        0                             )
     1301                 | RT_BF_MAKE(VMX_BF_BASIC_VMCS_MEM_TYPE,   VMX_BASIC_MEM_TYPE_WB         )
     1302                 | RT_BF_MAKE(VMX_BF_BASIC_VMCS_INS_OUTS,   pGuestFeatures->fVmxInsOutInfo)
     1303                 | RT_BF_MAKE(VMX_BF_BASIC_TRUE_CTLS,       0                             );
    13021304    }
    13031305    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