Changeset 87561 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Feb 3, 2021 11:43:51 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142588
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r87538 r87561 2118 2118 pVCpu->hmr0.s.svm.fSyncVTpr = false; 2119 2119 2120 if (!pVM->hm.s.fT PRPatchingActive)2120 if (!pVM->hm.s.fTprPatchingActive) 2121 2121 { 2122 2122 /* Bits 3-0 of the VTPR field correspond to bits 7-4 of the TPR (which is the Task-Priority Class). */ … … 4143 4143 Assert(!pSvmTransient->fIsNestedGuest); 4144 4144 PCSVMVMCB pVmcb = pVCpu->hmr0.s.svm.pVmcb; 4145 if (pVM->hm.s.fT PRPatchingActive)4145 if (pVM->hm.s.fTprPatchingActive) 4146 4146 pSvmTransient->u8GuestTpr = pVmcb->guest.u64LSTAR; 4147 4147 else … … 4435 4435 Assert(!pSvmTransient->fIsNestedGuest); 4436 4436 /* TPR patching (for 32-bit guests) uses LSTAR MSR for holding the TPR value, otherwise uses the VTPR. */ 4437 if ( pVM->hm.s.fT PRPatchingActive4437 if ( pVM->hm.s.fTprPatchingActive 4438 4438 && (pVmcb->guest.u64LSTAR & 0xff) != pSvmTransient->u8GuestTpr) 4439 4439 { … … 6358 6358 bool const fSupportsNextRipSave = hmR0SvmSupportsNextRipSave(pVCpu); 6359 6359 if ( idMsr == MSR_K8_LSTAR 6360 && pVCpu->CTX_SUFF(pVM)->hm.s.fT PRPatchingActive)6360 && pVCpu->CTX_SUFF(pVM)->hm.s.fTprPatchingActive) 6361 6361 { 6362 6362 unsigned cbInstr;
Note:
See TracChangeset
for help on using the changeset viewer.