VirtualBox

Changeset 92118 in vbox for trunk/src


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

VMM/EM: Call NEMR3CanExecuteGuest in the NEM loop. bugref:10122

File:
1 edited

Legend:

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

    r91264 r92118  
    342342        STAM_PROFILE_ADV_START(&pVCpu->em.s.StatNEMEntry, a);
    343343
    344 #if 0
    345         /* Check if a forced reschedule is pending. */
    346         if (NEMR3IsRescheduleRequired(pVCpu))
    347         {
    348             rcStrict = VINF_EM_RESCHEDULE;
     344        /*
     345         * Check that we can execute in NEM mode.
     346         */
     347        if (NEMR3CanExecuteGuest(pVM, pVCpu))
     348        { /* likely */ }
     349        else
     350        {
     351            rcStrict = VINF_EM_RESCHEDULE_REM;
    349352            break;
    350353        }
    351 #endif
    352354
    353355        /*
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