Changeset 98521 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Feb 10, 2023 9:12:02 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155790
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp
r98360 r98521 6341 6341 static int iemVmxVmentryCheckCtls(PVMCPUCC pVCpu, const char *pszInstr) RT_NOEXCEPT 6342 6342 { 6343 P CVMXVVMCS const pVmcs = &pVCpu->cpum.GstCtx.hwvirt.vmx.Vmcs;6343 PVMXVVMCS const pVmcs = &pVCpu->cpum.GstCtx.hwvirt.vmx.Vmcs; 6344 6344 const char * const pszFailure = "VMFail"; 6345 6345 bool const fVmxTrueMsrs = RT_BOOL(pVCpu->cpum.GstCtx.hwvirt.vmx.Msrs.u64Basic & VMX_BF_BASIC_TRUE_CTLS_MASK); … … 6395 6395 } 6396 6396 else 6397 Assert(!pVmcs->u32ProcCtls2); 6397 { 6398 /* 6399 * If the "activate secondary controls" is clear, then the secondary processor-based VM-execution controls 6400 * is treated as 0. We must not fail/assert here. Microsoft Hyper-V relies on this behavior. 6401 * 6402 * See Intel spec. 26.2.1.1 "VM-Execution Control Fields". 6403 */ 6404 pVmcs->u32ProcCtls2 = 0; 6405 } 6398 6406 6399 6407 /* CR3-target count. */
Note:
See TracChangeset
for help on using the changeset viewer.