VirtualBox

Changeset 92119 in vbox for trunk/src


Ignore:
Timestamp:
Oct 28, 2021 12:29:09 AM (3 years ago)
Author:
vboxsync
Message:

VMM/EM: Stop StatREMTotal when need for reschduling is detected and we return directly form the loop. Log call to TRPMR3InjectEvent. bugref:10122

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r91580 r92119  
    11441144            if (   enmCheck != EMSTATE_REM
    11451145                && enmCheck != EMSTATE_IEM_THEN_REM)
     1146            {
     1147                LogFlow(("emR3RemExecute: emR3Reschedule -> %d -> VINF_EM_RESCHEDULE\n", enmCheck));
     1148                STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatREMTotal, a);
    11461149                return VINF_EM_RESCHEDULE;
     1150            }
     1151            Log2(("emR3RemExecute: emR3Reschedule -> %d\n", enmCheck));
    11471152        }
    11481153
     
    20482053                            /** @todo this really isn't nice, should properly handle this */
    20492054                            /* Note! This can still cause a VM-exit (on Intel). */
     2055                            LogFlow(("Calling TRPMR3InjectEvent: %04x:%08RX64 efl=%#x\n",
     2056                                     pVCpu->cpum.GstCtx.cs.Sel, pVCpu->cpum.GstCtx.rip, pVCpu->cpum.GstCtx.eflags));
    20502057                            rc2 = TRPMR3InjectEvent(pVM, pVCpu, TRPM_HARDWARE_INT, &fInjected);
    20512058                            fWakeupPending = true;
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