VirtualBox

Changeset 72473 in vbox


Ignore:
Timestamp:
Jun 7, 2018 12:51:15 PM (7 years ago)
Author:
vboxsync
Message:

NEM/win: We need extended exception exit support, so fail if missing. #DB intercept fix. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp

    r72463 r72473  
    748748    if (!pVM->nem.s.fExtendedMsrExit)
    749749        return RTErrInfoSetF(pErrInfo, VERR_NEM_INIT_FAILED, "Missing required extended MSR exit support");
     750    if (!pVM->nem.s.fExtendedXcptExit)
     751        return RTErrInfoSetF(pErrInfo, VERR_NEM_INIT_FAILED, "Missing required extended exception exit support");
    750752
    751753#undef NEM_LOG_REL_CAP_EX
     
    13071309    /* Intercept #DB, #BP and #UD exceptions. */
    13081310    RT_ZERO(Property);
    1309     Property.ExceptionExitBitmap = RT_BIT_64(WHvX64ExceptionTypeDivideErrorFault)
     1311    Property.ExceptionExitBitmap = RT_BIT_64(WHvX64ExceptionTypeDebugTrapOrFault)
    13101312                                 | RT_BIT_64(WHvX64ExceptionTypeBreakpointTrap)
    13111313                                 | RT_BIT_64(WHvX64ExceptionTypeInvalidOpcodeFault);
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