- Timestamp:
- Apr 23, 2018 4:40:51 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_svm.h
r71933 r71966 1019 1019 * SVM R0 code for hardware-assisted SVM execution of a nested-guest. 1020 1020 * 1021 * A VMCB field needs to be cached when it needs to be modified for execution using 1022 * hardware-assisted SVM and any of the following are true: 1023 * - If the original field needs to be inspected during execution of the 1024 * nested-guest or #VMEXIT processing. 1025 * - If the field is written back to memory on #VMEXIT by the physical CPU. 1026 * 1027 * A VMCB field needs to be restored only when the field is written back to 1028 * memory on #VMEXIT by the physical CPU and thus would be visible to the guest. 1029 * 1021 1030 * @remarks Please update hmR3InfoSvmNstGstVmcbCache() when changes are made to 1022 1031 * this structure. -
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp
r71933 r71966 146 146 /* 147 147 * Restore fields as our own code might look at the VMCB controls as part 148 * of the #VMEXIT handling. Otherwise, we don't need to restore the current 149 * fields because none of them are written by a physical CPU on #VMEXIT. 148 * of the #VMEXIT handling in IEM. Otherwise, strictly speaking we don't need to 149 * restore these fields because currently none of them are written back to memory 150 * by a physical CPU on #VMEXIT. 150 151 */ 151 152 pVmcbNstGstCtrl->u16InterceptRdCRx = pVmcbNstGstCache->u16InterceptRdCRx;
Note:
See TracChangeset
for help on using the changeset viewer.