VirtualBox

Changeset 74398 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 21, 2018 5:04:30 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 GCC build fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r74394 r74398  
    41104110                &&  pMsr->u32Msr != MSR_IA32_SMM_MONITOR_CTL)
    41114111            {
    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)
    41144114                    continue;
    41154115
     
    41224122                 */
    41234123                pVmcs->u64ExitQual.u = idxMsr;
    4124                 VMXVDIAG const enmDiag = rc == VINF_CPUM_R3_MSR_WRITE
     4124                VMXVDIAG const enmDiag = rcStrict == VINF_CPUM_R3_MSR_WRITE
    41254125                                       ? kVmxVDiag_Vmentry_MsrLoadRing3
    41264126                                       : kVmxVDiag_Vmentry_MsrLoad;
     
    48294829            &&  pMsr->u32Msr != MSR_IA32_SMBASE)
    48304830        {
    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)
    48334833                continue;
    48344834
     
    48414841             */
    48424842            pVCpu->cpum.GstCtx.hwvirt.vmx.uAbortAux = pMsr->u32Msr;
    4843             VMXVDIAG const enmDiag = rc == VINF_CPUM_R3_MSR_READ
     4843            VMXVDIAG const enmDiag = rcStrict == VINF_CPUM_R3_MSR_READ
    48444844                                   ? kVmxVDiag_Vmexit_MsrStoreRing3
    48454845                                   : kVmxVDiag_Vmexit_MsrStore;
     
    49214921     */
    49224922    iemVmxVmexitLoadHostControlRegsMsrs(pVCpu);
     4923    return VINF_SUCCESS;
    49234924}
    49244925
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette