VirtualBox

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


Ignore:
Timestamp:
Jul 11, 2016 8:04:04 AM (9 years ago)
Author:
vboxsync
Message:

emR3RemExecute: Try reschdule if IEM throws an unimplemented problem our way.

File:
1 edited

Legend:

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

    r61968 r62151  
    11801180            if (rc != VINF_REM_INTERRUPED_FF)
    11811181            {
     1182#ifndef VBOX_WITH_REM
     1183                /* Try dodge unimplemented IEM trouble by reschduling. */
     1184                if (   rc == VERR_IEM_ASPECT_NOT_IMPLEMENTED
     1185                    || rc == VERR_IEM_INSTR_NOT_IMPLEMENTED)
     1186                {
     1187                    EMSTATE enmNewState = emR3Reschedule(pVM, pVCpu, pVCpu->em.s.pCtx);
     1188                    if (enmNewState != EMSTATE_REM && enmNewState != EMSTATE_IEM_THEN_REM)
     1189                    {
     1190                        rc = VINF_EM_RESCHEDULE;
     1191                        break;
     1192                    }
     1193                }
     1194#endif
     1195
    11821196                /*
    11831197                 * Anything which is not known to us means an internal error
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