Changeset 79346 in vbox
- Timestamp:
- Jun 26, 2019 9:13:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79345 r79346 16561 16561 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(pVCpu, pVmxTransient); 16562 16562 16563 /* 16564 * Strictly speaking we should not get VMREAD VM-exits for shadow VMCS fields and 16565 * thus might not need to import the shadow VMCS state, it's safer just in case 16566 * code elsewhere dares look at unsynced VMCS fields. 16567 */ 16563 16568 int rc = hmR0VmxReadExitInstrLenVmcs(pVmxTransient); 16564 16569 rc |= hmR0VmxImportGuestState(pVCpu, pVmxTransient->pVmcsInfo, CPUMCTX_EXTRN_RSP | CPUMCTX_EXTRN_SREG_MASK … … 16628 16633 /* 16629 16634 * Although we should not get VMWRITE VM-exits for shadow VMCS fields, since 16630 * our HM hook that gets invoked when IEM's VMWRITE instruction emulation16631 * modifies the current VMCS signals re-loading the entire shadow VMCS, we16632 * s hould also save the entire shadow VMCS here.16635 * our HM hook gets invoked when IEM's VMWRITE instruction emulation modifies 16636 * the current VMCS signals re-loading the entire shadow VMCS, we should also 16637 * save the entire shadow VMCS here. 16633 16638 */ 16634 16639 int rc = hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
Note:
See TracChangeset
for help on using the changeset viewer.