VirtualBox

Changeset 4764 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 13, 2007 9:52:11 AM (17 years ago)
Author:
vboxsync
Message:

Translate VERR_EM_INTERPRETER to VINF_EM_RAW_EMULATE_INSTR.

File:
1 edited

Legend:

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

    r4420 r4764  
    15601560        }
    15611561        AssertMsg(rc == VERR_EM_INTERPRETER, ("EMU: invlpg %VGv failed with %Vrc\n", exitQualification, rc));
    1562         rc = VINF_EM_RAW_EMULATE_INSTR;
    15631562        break;
    15641563    }
     
    16341633        }
    16351634        Assert(rc == VERR_EM_INTERPRETER || rc == VINF_PGM_CHANGE_MODE || rc == VINF_PGM_SYNC_CR3);
    1636         if (rc == VERR_EM_INTERPRETER)
    1637             rc = VINF_EM_RAW_EMULATE_INSTR;
    16381635        break;
    16391636    }
     
    16701667        }
    16711668        Assert(rc == VERR_EM_INTERPRETER);
    1672         rc = VINF_EM_RAW_EMULATE_INSTR;
    16731669        break;
    16741670    }
     
    18481844    case VMX_EXIT_PORT_IO:              /* 30 I/O instruction. */
    18491845        /* already handled above */
    1850         AssertMsg(rc == VINF_PGM_CHANGE_MODE || rc == VINF_EM_RAW_INTERRUPT || rc == VINF_EM_RAW_EMULATE_INSTR || rc == VINF_PGM_SYNC_CR3 || rc == VINF_IOM_HC_IOPORT_READ || rc == VINF_IOM_HC_IOPORT_WRITE
    1851                   || rc == VINF_EM_RAW_GUEST_TRAP || rc == VINF_TRPM_XCPT_DISPATCHED || rc == VINF_EM_RESCHEDULE_REM, ("rc = %d\n", rc));
     1846        AssertMsg(   rc == VINF_PGM_CHANGE_MODE
     1847                  || rc == VINF_EM_RAW_INTERRUPT
     1848                  || rc == VERR_EM_INTERPRETER
     1849                  || rc == VINF_EM_RAW_EMULATE_INSTR
     1850                  || rc == VINF_PGM_SYNC_CR3
     1851                  || rc == VINF_IOM_HC_IOPORT_READ
     1852                  || rc == VINF_IOM_HC_IOPORT_WRITE
     1853                  || rc == VINF_EM_RAW_GUEST_TRAP
     1854                  || rc == VINF_TRPM_XCPT_DISPATCHED
     1855                  || rc == VINF_EM_RESCHEDULE_REM,
     1856                  ("rc = %d\n", rc));
    18521857        break;
    18531858
     
    19211926    }
    19221927
     1928    /* translate into a less severe return code */
     1929    if (rc == VERR_EM_INTERPRETER)
     1930        rc = VINF_EM_RAW_EMULATE_INSTR;
     1931
    19231932    STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatExit, x);
    19241933    Log2(("X"));
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