VirtualBox

Ignore:
Timestamp:
Jul 5, 2008 11:21:45 AM (16 years ago)
Author:
vboxsync
Message:

Logging updates

File:
1 edited

Legend:

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

    r10206 r10269  
    11361136    {
    11371137        Log(("Pending inject %VX64 at %VGv exit=%08x\n", pVM->hwaccm.s.Event.intInfo, pCtx->rip, exitCode));
     1138
     1139#ifdef LOG_ENABLED
     1140        SVM_EVENT Event;
     1141        Event.au64[0] = pVM->hwaccm.s.Event.intInfo;
     1142
     1143        if (    exitCode == SVM_EXIT_EXCEPTION_E
     1144            &&  Event.n.u8Vector == 0xE)
     1145        {
     1146            Log(("Double fault!\n"));
     1147        }
     1148#endif
     1149
    11381150        pVM->hwaccm.s.Event.fPending = true;
    11391151        /* Error code present? (redundant) */
     
    12271239                 * Forward the trap to the guest by injecting the exception and resuming execution.
    12281240                 */
    1229                 Log(("Guest page fault at %VGv cr2=%VGv error code %x rsp=%RX64\n", pCtx->rip, uFaultAddress, errCode, pCtx->rsp));
     1241                Log(("Guest page fault at %VGv cr2=%VGv error code %x rsp=%VGv\n", (RTGCPTR)pCtx->rip, uFaultAddress, errCode, (RTGCPTR)pCtx->rsp));
    12301242                STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitGuestPF);
    12311243
     
    14421454    case SVM_EXIT_CPUID:                /* Guest software attempted to execute CPUID. */
    14431455    {
    1444         Log2(("SVM: Cpuid %x\n", pCtx->eax));
     1456        Log2(("SVM: Cpuid at %VGv for %x\n", pCtx->rip, pCtx->eax));
    14451457        STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitCpuid);
    14461458        rc = EMInterpretCpuId(pVM, CPUMCTX2CORE(pCtx));
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