Changeset 74398 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Sep 21, 2018 5:04:30 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r74394 r74398 4110 4110 && pMsr->u32Msr != MSR_IA32_SMM_MONITOR_CTL) 4111 4111 { 4112 rc= CPUMSetGuestMsr(pVCpu, pMsr->u32Msr, pMsr->u64Value);4113 if (rc == VINF_SUCCESS)4112 VBOXSTRICTRC rcStrict = CPUMSetGuestMsr(pVCpu, pMsr->u32Msr, pMsr->u64Value); 4113 if (rcStrict == VINF_SUCCESS) 4114 4114 continue; 4115 4115 … … 4122 4122 */ 4123 4123 pVmcs->u64ExitQual.u = idxMsr; 4124 VMXVDIAG const enmDiag = rc == VINF_CPUM_R3_MSR_WRITE4124 VMXVDIAG const enmDiag = rcStrict == VINF_CPUM_R3_MSR_WRITE 4125 4125 ? kVmxVDiag_Vmentry_MsrLoadRing3 4126 4126 : kVmxVDiag_Vmentry_MsrLoad; … … 4829 4829 && pMsr->u32Msr != MSR_IA32_SMBASE) 4830 4830 { 4831 int rc= CPUMQueryGuestMsr(pVCpu, pMsr->u32Msr, &pMsr->u64Value);4832 if (rc == VINF_SUCCESS)4831 VBOXSTRICTRC rcStrict = CPUMQueryGuestMsr(pVCpu, pMsr->u32Msr, &pMsr->u64Value); 4832 if (rcStrict == VINF_SUCCESS) 4833 4833 continue; 4834 4834 … … 4841 4841 */ 4842 4842 pVCpu->cpum.GstCtx.hwvirt.vmx.uAbortAux = pMsr->u32Msr; 4843 VMXVDIAG const enmDiag = rc == VINF_CPUM_R3_MSR_READ4843 VMXVDIAG const enmDiag = rcStrict == VINF_CPUM_R3_MSR_READ 4844 4844 ? kVmxVDiag_Vmexit_MsrStoreRing3 4845 4845 : kVmxVDiag_Vmexit_MsrStore; … … 4921 4921 */ 4922 4922 iemVmxVmexitLoadHostControlRegsMsrs(pVCpu); 4923 return VINF_SUCCESS; 4923 4924 } 4924 4925
Note:
See TracChangeset
for help on using the changeset viewer.