Changeset 96825 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Sep 22, 2022 6:02:40 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r96407 r96825 1103 1103 AssertCompile(sizeof(pCtx->hwvirt.vmx.abVirtApicPage) == VMX_V_VIRT_APIC_PAGES * X86_PAGE_SIZE); 1104 1104 AssertCompile(sizeof(pCtx->hwvirt.vmx.abVirtApicPage) == VMX_V_VIRT_APIC_SIZE); 1105 1106 /*1107 * Zero out all allocated pages (should compress well for saved-state).1108 */1109 /** @todo r=bird: this is and always was unnecessary - they are already zeroed. */1110 RT_ZERO(pCtx->hwvirt.vmx.Vmcs);1111 RT_ZERO(pCtx->hwvirt.vmx.ShadowVmcs);1112 RT_ZERO(pCtx->hwvirt.vmx.abVmreadBitmap);1113 RT_ZERO(pCtx->hwvirt.vmx.abVmwriteBitmap);1114 RT_ZERO(pCtx->hwvirt.vmx.aEntryMsrLoadArea);1115 RT_ZERO(pCtx->hwvirt.vmx.aExitMsrStoreArea);1116 RT_ZERO(pCtx->hwvirt.vmx.aExitMsrLoadArea);1117 RT_ZERO(pCtx->hwvirt.vmx.abMsrBitmap);1118 RT_ZERO(pCtx->hwvirt.vmx.abIoBitmap);1119 RT_ZERO(pCtx->hwvirt.vmx.abVirtApicPage);1120 1105 } 1121 1106 }
Note:
See TracChangeset
for help on using the changeset viewer.