VirtualBox

Changeset 55257 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Apr 14, 2015 3:54:15 PM (10 years ago)
Author:
vboxsync
Message:

HM/VMX: Added new exit codes.

File:
1 edited

Legend:

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

    r55248 r55257  
    493493 /* 57  VMX_EXIT_RDRAND                  */  hmR0VmxExitRdrand,
    494494 /* 58  VMX_EXIT_INVPCID                 */  hmR0VmxExitInvpcid,
    495  /* 59  VMX_EXIT_VMFUNC                  */  hmR0VmxExitSetPendingXcptUD
     495 /* 59  VMX_EXIT_VMFUNC                  */  hmR0VmxExitSetPendingXcptUD,
     496 /* 60  VMX_EXIT_RESERVED_60             */  hmR0VmxExitErrUndefined,
     497 /* 61  VMX_EXIT_RDSEED                  */  hmR0VmxExitErrUndefined, /* only spurious exits, so undefined */
     498 /* 62  VMX_EXIT_RESERVED_62             */  hmR0VmxExitErrUndefined,
     499 /* 63  VMX_EXIT_XSAVES                  */  hmR0VmxExitSetPendingXcptUD,
     500 /* 64  VMX_EXIT_XRSTORS                 */  hmR0VmxExitSetPendingXcptUD,
    496501};
    497502#endif /* HMVMX_USE_FUNCTION_TABLE */
     
    91599164        case VMX_EXIT_INVVPID:
    91609165        case VMX_EXIT_VMFUNC:
     9166        case VMX_EXIT_XSAVES:
     9167        case VMX_EXIT_XRSTORS:
    91619168            rc = hmR0VmxExitSetPendingXcptUD(pVCpu, pMixedCtx, pVmxTransient);
    91629169            break;
     9170        case VMX_EXIT_RESERVED_60:
     9171        case VMX_EXIT_RDSEED: /* only spurious exits, so undefined */
     9172        case VMX_EXIT_RESERVED_62:
    91639173        default:
    91649174            rc = hmR0VmxExitErrUndefined(pVCpu, pMixedCtx, pVmxTransient);
     
    1058310593    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    1058410594
    10585     /* We expose XSETBV to the guest, fallback to the recompiler for emulation. */
     10595    /* We expose XSETBV to the guest, fallback to the interpreter for emulation. */
    1058610596    /** @todo check if XSETBV is supported by the recompiler. */
    1058710597    return VERR_EM_INTERPRETER;
     
    1059610606    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    1059710607
    10598     /* The guest should not invalidate the host CPU's TLBs, fallback to recompiler. */
     10608    /* The guest should not invalidate the host CPU's TLBs, fallback to interpreter. */
    1059910609    /** @todo implement EMInterpretInvpcid() */
    1060010610    return VERR_EM_INTERPRETER;
     
    1094310953 * @retval VINF_PGM_SYNC_CR3 CR3 sync is required, back to ring-3.
    1094410954 * @retval VERR_EM_INTERPRETER when something unexpected happened, fallback to
    10945  *         recompiler.
     10955 *         interpreter.
    1094610956 */
    1094710957HMVMX_EXIT_DECL hmR0VmxExitMovCRx(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)
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