- Timestamp:
- May 21, 2019 6:41:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r78614 r78615 12534 12534 { 12535 12535 /* 12536 * IN S/OUTS (String I/O) instructions gives us additional information12537 * when the feature is supported (by the CPU and exposed to the guest).12536 * IN/OUT instruction: 12537 * - Provides VM-exit instruction length. 12538 12538 * 12539 * Instruction length is available for IN/OUT as well as INS/OUTS. 12539 * INS/OUTS instruction: 12540 * - Provides VM-exit instruction length. 12541 * - Provides Guest-linear address. 12542 * - Optionally provides VM-exit instruction info (depends on CPU feature). 12540 12543 */ 12541 12544 PVM pVM = pVCpu->CTX_SUFF(pVM); 12542 12545 rc = hmR0VmxReadExitInstrLenVmcs(pVmxTransient); 12543 12546 AssertRCReturn(rc, rc); 12547 12548 /* Make sure we don't use stale VMX-transient info. */ 12549 pVmxTransient->ExitInstrInfo.u = 0; 12550 pVmxTransient->uGuestLinearAddr = 0; 12544 12551 12545 12552 bool const fVmxInsOutsInfo = pVM->cpum.ro.GuestFeatures.fVmxInsOutInfo; … … 12553 12560 rc |= hmR0VmxReadExitInstrInfoVmcs(pVmxTransient); 12554 12561 } 12555 else12556 pVmxTransient->ExitInstrInfo.u = 0;12557 12562 } 12558 else12559 pVmxTransient->uGuestLinearAddr = 0;12560 12563 AssertRCReturn(rc, rc); 12561 12564
Note:
See TracChangeset
for help on using the changeset viewer.