Changeset 79085 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 11, 2019 10:47:36 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131245
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79084 r79085 1402 1402 * The guest visible nested-guest MSR bitmap needs to remain unchanged. 1403 1403 * Hence, allocate a separate MSR bitmap for the guest and nested-guest. 1404 * We also don't need to re-initialize the nested-guest MSR bitmap here as 1405 * we do that later while merging VMCS. 1404 1406 */ 1405 1407 if (pVM->hm.s.vmx.Msrs.ProcCtls.n.allowed1 & VMX_PROC_CTLS_USE_MSR_BITMAPS) 1406 1408 { 1407 1409 rc = hmR0VmxPageAllocZ(&pVmcsInfo->hMemObjMsrBitmap, &pVmcsInfo->pvMsrBitmap, &pVmcsInfo->HCPhysMsrBitmap); 1408 if (RT_SUCCESS(rc)) 1410 if ( RT_SUCCESS(rc) 1411 && fIsNstGstVmcs) 1409 1412 ASMMemFill32(pVmcsInfo->pvMsrBitmap, X86_PAGE_4K_SIZE, UINT32_C(0xffffffff)); 1410 1413 }
Note:
See TracChangeset
for help on using the changeset viewer.