VirtualBox

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


Ignore:
Timestamp:
Jun 17, 2013 1:56:23 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86467
Message:

VMM/HMVMXR0: SMP logging.

File:
1 edited

Legend:

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

    r46580 r46589  
    27612761        rc = VMXWriteVmcsGstN(VMX_VMCS_GUEST_RSP, pMixedCtx->rsp);
    27622762        AssertRCReturn(rc, rc);
     2763        Log4(("Load: VMX_VMCS_GUEST_RSP=%#RX64\n", pMixedCtx->rsp));
    27632764        pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_GUEST_RSP;
    27642765    }
     
    59365937    /* Please, no longjumps here (any logging shouldn't flush jump back to ring-3). NO LOGGING BEFORE THIS POINT! */
    59375938    VMMRZCallRing3Disable(pVCpu);
    5938     Log4(("hmR0VmxExitToRing3: rcExit=%d\n", rcExit));
     5939    Log4(("hmR0VmxExitToRing3: pVCpu=%p idCpu=%RU32 rcExit=%d\n", pVCpu, pVCpu->idCpu, rcExit));
    59395940
    59405941    /* We need to do this only while truly exiting the "inner loop" back to ring-3 and -not- for any longjmp to ring3. */
     
    59915992    VMMRZCallRing3Disable(pVCpu);
    59925993    Assert(VMMR0IsLogFlushDisabled(pVCpu));
    5993     Log4(("hmR0VmxCallRing3Callback->hmR0VmxLongJmpToRing3\n"));
     5994    Log4(("hmR0VmxCallRing3Callback->hmR0VmxLongJmpToRing3 pVCpu=%p idCpu=%RU32\n", pVCpu, pVCpu->idCpu));
    59945995    hmR0VmxLongJmpToRing3(pVCpu->CTX_SUFF(pVM), pVCpu, (PCPUMCTX)pvUser, VINF_VMM_UNKNOWN_RING3_CALL);
    59955996    VMMRZCallRing3Enable(pVCpu);
     
    66836684
    66846685    AssertMsg(!pVCpu->hm.s.fContextUseFlags,
    6685              ("Missed updating flags while loading guest state. pVM=%p pVCpu=%p fContextUseFlags=%#RX32\n",
    6686               pVM, pVCpu, pVCpu->hm.s.fContextUseFlags));
     6686             ("Missed updating flags while loading guest state. pVM=%p pVCpu=%p idCpu=%RU32 fContextUseFlags=%#RX32\n",
     6687              pVM, pVCpu, pVCpu->idCpu, pVCpu->hm.s.fContextUseFlags));
    66876688
    66886689    STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatLoadGuestState, x);
     
    69246925    if (RT_UNLIKELY(rcVMRun != VINF_SUCCESS))
    69256926    {
    6926         Log4(("VM-entry failure: rcVMRun=%Rrc fVMEntryFailed=%RTbool\n", rcVMRun, pVmxTransient->fVMEntryFailed));
     6927        Log4(("VM-entry failure: pVCpu=%p idCpu=%RU32 rcVMRun=%Rrc fVMEntryFailed=%RTbool\n", pVCpu, pVCpu->idCpu, rcVMRun,
     6928              pVmxTransient->fVMEntryFailed));
    69276929        return;
    69286930    }
     
    71357137                Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); \
    71367138                HMVMX_ASSERT_PREEMPT_CPUID_VAR(); \
    7137                 Log4Func(("vcpu[%u] -v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-\n", (uint32_t)pVCpu->idCpu)); \
     7139                Log4Func(("vcpu[%RU32] -v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v-v\n", pVCpu->idCpu)); \
    71387140                Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); \
    71397141                if (VMMR0IsLogFlushDisabled(pVCpu)) \
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette