VirtualBox

Changeset 65475 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jan 27, 2017 5:42:24 AM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Scoping, space.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r65474 r65475  
    1217112171             * We've already saved the APIC related guest-state (TPR) in hmR0VmxPostRunGuest(). When full APIC register
    1217212172             * virtualization is implemented we'll have to make sure APIC state is saved from the VMCS before
    12173              *  EMInterpretWrmsr() changes it.
     12173             * EMInterpretWrmsr() changes it.
    1217412174             */
    1217512175            HMCPU_CF_SET(pVCpu, HM_CHANGED_VMX_GUEST_APIC_STATE);
     
    1243912439    STAM_PROFILE_ADV_START(&pVCpu->hm.s.StatExitIO, y1);
    1244012440
    12441     int rc2 = hmR0VmxReadExitQualificationVmcs(pVCpu, pVmxTransient);
    12442     rc2    |= hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
    12443     rc2    |= hmR0VmxSaveGuestRip(pVCpu, pMixedCtx);
    12444     rc2    |= hmR0VmxSaveGuestRflags(pVCpu, pMixedCtx);         /* Eflag checks in EMInterpretDisasCurrent(). */
    12445     rc2    |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);    /* CR0 checks & PGM* in EMInterpretDisasCurrent(). */
    12446     rc2    |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);    /* SELM checks in EMInterpretDisasCurrent(). */
     12441    int rc = hmR0VmxReadExitQualificationVmcs(pVCpu, pVmxTransient);
     12442    rc    |= hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
     12443    rc    |= hmR0VmxSaveGuestRip(pVCpu, pMixedCtx);
     12444    rc    |= hmR0VmxSaveGuestRflags(pVCpu, pMixedCtx);         /* Eflag checks in EMInterpretDisasCurrent(). */
     12445    rc    |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);    /* CR0 checks & PGM* in EMInterpretDisasCurrent(). */
     12446    rc    |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);    /* SELM checks in EMInterpretDisasCurrent(). */
    1244712447    /* EFER also required for longmode checks in EMInterpretDisasCurrent(), but it's always up-to-date. */
    12448     AssertRCReturn(rc2, rc2);
     12448    AssertRCReturn(rc, rc);
    1244912449
    1245012450    /* Refer Intel spec. 27-5. "Exit Qualifications for I/O Instructions" for the format. */
     
    1248212482        if (MSR_IA32_VMX_BASIC_INFO_VMCS_INS_OUTS(pVM->hm.s.vmx.Msrs.u64BasicInfo))
    1248312483        {
    12484             rc2  = hmR0VmxReadExitInstrInfoVmcs(pVmxTransient);
     12484            int rc2  = hmR0VmxReadExitInstrInfoVmcs(pVmxTransient);
    1248512485            /** @todo optimize this, IEM should request the additional state if it needs it (GP, PF, ++). */
    1248612486            rc2 |= hmR0VmxSaveGuestState(pVCpu, pMixedCtx);
     
    1250912509        {
    1251012510            /** @todo optimize this, IEM should request the additional state if it needs it (GP, PF, ++). */
    12511             rc2 = hmR0VmxSaveGuestState(pVCpu, pMixedCtx);
     12511            int rc2 = hmR0VmxSaveGuestState(pVCpu, pMixedCtx);
    1251212512            AssertRCReturn(rc2, rc2);
    1251312513            rcStrict = IEMExecOne(pVCpu);
     
    1259812598         * Note that the I/O breakpoint type is undefined if CR4.DE is 0.
    1259912599         */
    12600         rc2 = hmR0VmxSaveGuestDR7(pVCpu, pMixedCtx);
     12600        int rc2 = hmR0VmxSaveGuestDR7(pVCpu, pMixedCtx);
    1260112601        AssertRCReturn(rc2, rc2);
    1260212602
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