VirtualBox

Changeset 56985 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 18, 2015 10:11:47 PM (9 years ago)
Author:
vboxsync
Message:

VMM: Log and assertion formatting fixes.

Location:
trunk/src/VBox/VMM
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp

    r56287 r56985  
    493493    if ((uValue & 0xff) >= 7)
    494494    {
    495         Log(("CPUM: Invalid MTRR default type value: %#llx (%#llx)\n", pRange->szName, uValue, uValue & 0xff));
     495        Log(("CPUM: Invalid MTRR default type value on %s: %#llx (%#llx)\n", pRange->szName, uValue, uValue & 0xff));
    496496        return VERR_CPUM_RAISE_GP_0;
    497497    }
     
    14111411    if (!X86_IS_CANONICAL(uValue))
    14121412    {
    1413         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     1413        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    14141414        return VERR_CPUM_RAISE_GP_0;
    14151415    }
     
    14321432    if (!X86_IS_CANONICAL(uValue))
    14331433    {
    1434         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     1434        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    14351435        return VERR_CPUM_RAISE_GP_0;
    14361436    }
     
    18031803    if (!X86_IS_CANONICAL(uValue))
    18041804    {
    1805         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     1805        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    18061806        return VERR_CPUM_RAISE_GP_0;
    18071807    }
     
    18281828    if (!X86_IS_CANONICAL(uValue))
    18291829    {
    1830         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     1830        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    18311831        return VERR_CPUM_RAISE_GP_0;
    18321832    }
     
    42674267    if (!X86_IS_CANONICAL(uValue))
    42684268    {
    4269         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     4269        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    42704270        return VERR_CPUM_RAISE_GP_0;
    42714271    }
     
    43404340    if (!X86_IS_CANONICAL(uValue))
    43414341    {
    4342         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     4342        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    43434343        return VERR_CPUM_RAISE_GP_0;
    43444344    }
     
    43964396    if (!X86_IS_CANONICAL(uValue))
    43974397    {
    4398         Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));
     4398        Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue));
    43994399        return VERR_CPUM_RAISE_GP_0;
    44004400    }
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r55312 r56985  
    12901290    if (pLeaf)
    12911291    {
    1292         AssertMsg(pLeaf->uLeaf == uLeaf, ("%#x\n", pLeaf->uLeaf, uLeaf));
     1292        AssertMsg(pLeaf->uLeaf == uLeaf, ("%#x %#x\n", pLeaf->uLeaf, uLeaf));
    12931293        if (fExactSubLeafHit)
    12941294        {
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r56287 r56985  
    11631163            AssertRCReturn(rc, VERR_EM_INTERPRETER);
    11641164            Log(("emInterpretIret: return to different privilege level (rpl=%d cpl=%d)\n", rpl, cpl));
    1165             Log(("emInterpretIret: SS:ESP=%04X:08X\n", ss, esp));
     1165            Log(("emInterpretIret: SS:ESP=%04x:%08x\n", ss, esp));
    11661166            pRegFrame->ss.Sel = ss;
    11671167            pRegFrame->esp    = esp;
     
    31243124    }
    31253125
    3126     LogFlow(("%s %RGv=%08x eax=%08x\n", emGetMnemonic(pDis), pvParam1, pRegFrame->eax));
     3126    LogFlow(("%s %RGv=%p eax=%08x\n", emGetMnemonic(pDis), GCPtrPar1, pvParam1, pRegFrame->eax));
    31273127
    31283128#ifndef VBOX_COMPARE_IEM_AND_EM
     
    31373137#endif /* VBOX_COMPARE_IEM_AND_EM */
    31383138
    3139     LogFlow(("%s %RGv=%08x eax=%08x ZF=%d\n", emGetMnemonic(pDis), pvParam1, pRegFrame->eax, !!(eflags & X86_EFL_ZF)));
     3139    LogFlow(("%s %RGv=%p eax=%08x ZF=%d\n", emGetMnemonic(pDis), GCPtrPar1, pvParam1, pRegFrame->eax, !!(eflags & X86_EFL_ZF)));
    31403140
    31413141    /* Update guest's eflags and finish; note that *only* ZF is affected. */
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r56634 r56985  
    19641964    if (!(NewSS & X86_SEL_MASK_OFF_RPL))
    19651965    {
    1966         Log(("iemMiscValidateNewSSandRsp: #x - null selector -> #TS(0)\n", NewSS));
     1966        Log(("iemMiscValidateNewSSandRsp: %#x - null selector -> #TS(0)\n", NewSS));
    19671967        return iemRaiseTaskSwitchFault0(pIemCpu);
    19681968    }
     
    19871987    if (!pDesc->Legacy.Gen.u1DescType)
    19881988    {
    1989         Log(("iemMiscValidateNewSSandRsp: %#x - system selector -> #TS\n", NewSS, pDesc->Legacy.Gen.u4Type));
     1989        Log(("iemMiscValidateNewSSandRsp: %#x - system selector (%#x) -> #TS\n", NewSS, pDesc->Legacy.Gen.u4Type));
    19901990        return iemRaiseTaskSwitchFaultBySelector(pIemCpu, NewSS);
    19911991    }
  • trunk/src/VBox/VMM/VMMAll/IOMAll.cpp

    r56415 r56985  
    843843        if ((u16 >> (Port & 7)) & ((1 << cb) - 1))
    844844        {
    845             Log(("iomInterpretCheckPortIOAccess: Port=%RTiop cb=%d u16=%#x -> #GP(0)\n",
     845            Log(("iomInterpretCheckPortIOAccess: Port=%RTiop cb=%d u16=%#x (offTss=%#x) -> #GP(0)\n",
    846846                 Port, cb, u16, offTss));
    847847            return TRPMRaiseXcptErr(pVCpu, pCtxCore, X86_XCPT_GP, 0);
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r56287 r56985  
    196196        } uShw;
    197197
    198         LogFlow(("pgmPoolMonitorChainChanging: page idx=%d phys=%RGp (next=%d) kind=%s\n", pPage->idx, pPage->GCPhys, pPage->iMonitoredNext, pgmPoolPoolKindToStr(pPage->enmKind), cbWrite));
     198        LogFlow(("pgmPoolMonitorChainChanging: page idx=%d phys=%RGp (next=%d) kind=%s write=%#x\n",
     199                 pPage->idx, pPage->GCPhys, pPage->iMonitoredNext, pgmPoolPoolKindToStr(pPage->enmKind), cbWrite));
    199200
    200201        uShw.pv = NULL;
     
    29672968static int pgmPoolTrackAddUser(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint32_t iUserTable)
    29682969{
    2969     Log3(("pgmPoolTrackAddUser: GCPhys=%RGp iUser=%%x iUserTable=%x\n", pPage->GCPhys, iUser, iUserTable));
     2970    Log3(("pgmPoolTrackAddUser: GCPhys=%RGp iUser=%x iUserTable=%x\n", pPage->GCPhys, iUser, iUserTable));
    29702971    PPGMPOOLUSER paUsers = pPool->CTX_SUFF(paUsers);
    29712972    Assert(iUser != NIL_PGMPOOL_IDX);
     
    34843485
    34853486    STAM_PROFILE_START(&pPool->StatTrackFlushGCPhysPTs, f);
    3486     Log2(("pgmPoolTrackFlushGCPhysPTs: pPhysPage=%RHp iPhysExt\n", PGM_PAGE_GET_HCPHYS(pPhysPage), iPhysExt));
     3487    Log2(("pgmPoolTrackFlushGCPhysPTs: pPhysPage=%RHp iPhysExt=%u\n", PGM_PAGE_GET_HCPHYS(pPhysPage), iPhysExt));
    34873488
    34883489    const uint16_t iPhysExtStart = iPhysExt;
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r56287 r56985  
    32403240        /** @todo R0 -> VM request */
    32413241        /* The chunk can be mapped by more than one VM if fBoundMemoryMode is false! */
    3242         Log(("gmmR0FreeChunk: chunk still has %d/%d mappings; don't free!\n", pChunk->cMappingsX));
     3242        Log(("gmmR0FreeChunk: chunk still has %d mappings; don't free!\n", pChunk->cMappingsX));
    32433243        gmmR0ChunkMutexRelease(&MtxState, pChunk);
    32443244        return false;
     
    43794379                               struct VMMDEVSHAREDREGIONDESC const *paRegions, PGMMSHAREDMODULE *ppGblMod)
    43804380{
    4381     Log(("gmmR0ShModNewGlobal: %s %s size %#x os %u rgn %u\n", pszModuleName, pszVersion, cbModule, cRegions));
     4381    Log(("gmmR0ShModNewGlobal: %s %s size %#x os %u rgn %u\n", pszModuleName, pszVersion, cbModule, enmGuestOS, cRegions));
    43824382    if (pGMM->cShareableModules >= GMM_MAX_SHARED_GLOBAL_MODULES)
    43834383    {
     
    49724972    uint32_t uChecksum = pPageDesc->u32StrictChecksum & UINT32_C(0x00003fff);
    49734973    AssertMsg(!uChecksum || uChecksum == pPage->Shared.u14Checksum || !pPage->Shared.u14Checksum,
    4974               ("%#x vs %#x - idPage=%# - %s %s\n", uChecksum, pPage->Shared.u14Checksum,
     4974              ("%#x vs %#x - idPage=%#x - %s %s\n", uChecksum, pPage->Shared.u14Checksum,
    49754975               pGlobalRegion->paidPages[idxPage], pModule->szName, pModule->szVersion));
    49764976#endif
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r56837 r56985  
    41004100                    && uExitVector == X86_XCPT_PF)
    41014101                {
    4102                     Log4(("IDT: Contributory #PF uCR2=%#RX64\n", pVCpu->idCpu, pCtx->cr2));
     4102                    Log4(("IDT: Contributory #PF idCpu=%#x uCR2=%#RX64\n", pVCpu->idCpu, pCtx->cr2));
    41034103                }
    41044104#endif
     
    45334533
    45344534            default:
    4535                 AssertMsgFailed(("hmR0SvmExitWriteCRx: Invalid/Unexpected Write-CRx exit. u64ExitCode=%#RX64 %#x CRx=%#RX64\n",
    4536                                 pSvmTransient->u64ExitCode, pSvmTransient->u64ExitCode - SVM_EXIT_WRITE_CR0));
     4535                AssertMsgFailed(("hmR0SvmExitWriteCRx: Invalid/Unexpected Write-CRx exit. u64ExitCode=%#RX64 %#x\n",
     4536                                 pSvmTransient->u64ExitCode, pSvmTransient->u64ExitCode - SVM_EXIT_WRITE_CR0));
    45374537                break;
    45384538        }
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r56877 r56985  
    21182118        {
    21192119            PCPUMCPUIDLEAF pSubLeaf = cpumR3CpuIdGetExactLeaf(pCpum, 0xd, iComponent);
    2120             AssertLogRelMsgReturn(pSubLeaf, ("iComponent=%#x\n"), VERR_CPUM_IPE_1);
    2121             AssertLogRelMsgReturn(pSubLeaf->fSubLeafMask >= iComponent, ("iComponent=%#x\n"), VERR_CPUM_IPE_1);
     2120            AssertLogRelMsgReturn(pSubLeaf, ("iComponent=%#x\n", iComponent), VERR_CPUM_IPE_1);
     2121            AssertLogRelMsgReturn(pSubLeaf->fSubLeafMask >= iComponent, ("iComponent=%#x\n", iComponent), VERR_CPUM_IPE_1);
    21222122            AssertLogRelMsgReturn(   pSubLeaf->uEax > 0
    21232123                                  && pSubLeaf->uEbx >= CPUM_MIN_XSAVE_AREA_SIZE
     
    31173117                                                  && pCurLeaf->uEbx >= CPUM_MIN_XSAVE_AREA_SIZE
    31183118                                                  && pCurLeaf->uEbx + pCurLeaf->uEax <= cbXSaveMax,
    3119                                                   ("%#x: eax=%#x ebx=%#x cbMax=%#x\n", pCurLeaf->uEax, pCurLeaf->uEbx, cbXSaveMax),
     3119                                                  ("%#x: eax=%#x ebx=%#x cbMax=%#x\n",
     3120                                                   uSubLeaf, pCurLeaf->uEax, pCurLeaf->uEbx, cbXSaveMax),
    31203121                                                  VERR_CPUM_IPE_2);
    31213122                            AssertLogRel(!(pCurLeaf->uEcx & 1));
  • trunk/src/VBox/VMM/VMMR3/DBGFR3PlugIn.cpp

    r55886 r56985  
    381381
    382382        RTErrInfoSet(pErrInfo, rc, "Plug-in init failed");
    383         LogRel(("DBGF: Plug-in '%s' failed during init: %Rrc\n", pPlugIn->szName));
     383        LogRel(("DBGF: Plug-in '%s' failed during init: %Rrc\n", pPlugIn->szName, rc));
    384384        RTLdrClose(pPlugIn->hLdrMod);
    385385    }
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r56628 r56985  
    24052405                        HMR3ResetCpu(pVCpu);
    24062406                        pVCpu->em.s.enmState = emR3Reschedule(pVM, pVCpu, pVCpu->em.s.pCtx);
    2407                         Log2(("EMR3ExecuteVM: VINF_EM_TRIPLE_FAULT: %d -> %d\n", rc, enmOldState, pVCpu->em.s.enmState));
     2407                        Log2(("EMR3ExecuteVM: VINF_EM_TRIPLE_FAULT: %d -> %d\n", enmOldState, pVCpu->em.s.enmState));
    24082408                        break;
    24092409                    }
  • trunk/src/VBox/VMM/VMMR3/GIM.cpp

    r56051 r56985  
    530530    if (!pRegion->fRegistered)
    531531    {
    532         LogFunc(("%s: Region has not been registered.\n"));
     532        LogFunc(("%s: Region has not been registered.\n", pRegion->szDescription));
    533533        return VERR_GIM_IPE_1;
    534534    }
  • trunk/src/VBox/VMM/VMMR3/GIMKvm.cpp

    r56852 r56985  
    410410    {
    411411        LogRel(("GIM: KVM: VCPU%3d: Invalid physical addr requested for mapping system-time struct. GCPhysSystemTime=%#RGp\n",
    412                 pKvmCpu->GCPhysSystemTime));
     412               pVCpu->idCpu, pKvmCpu->GCPhysSystemTime));
    413413        return VERR_GIM_OPERATION_FAILED;
    414414    }
     
    462462    }
    463463    else
    464         LogRel(("GIM: KVM: VCPU%3d: Failed to write system-time struct. at %#RGp. rc=%Rrc\n", pKvmCpu->GCPhysSystemTime, rc));
     464        LogRel(("GIM: KVM: VCPU%3d: Failed to write system-time struct. at %#RGp. rc=%Rrc\n",
     465                pVCpu->idCpu, pKvmCpu->GCPhysSystemTime, rc));
    465466
    466467    return rc;
  • trunk/src/VBox/VMM/VMMR3/IOM.cpp

    r56635 r56985  
    681681        if (!pRange)
    682682        {
    683             AssertMsgFailed(("No R3! Port=#x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc));
     683            AssertMsgFailed(("No R3! Port=%#x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc));
    684684            IOM_UNLOCK_EXCL(pVM);
    685685            return VERR_IOM_NO_R3_IOPORT_RANGE;
     
    796796        if (!pRange)
    797797        {
    798             AssertMsgFailed(("No R3! Port=#x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc));
     798            AssertMsgFailed(("No R3! Port=%#x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc));
    799799            IOM_UNLOCK_EXCL(pVM);
    800800            return VERR_IOM_NO_R3_IOPORT_RANGE;
     
    14671467    if (!pfnWriteCallback && !pfnReadCallback)
    14681468    {
    1469         AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange));
     1469        AssertMsgFailed(("No callbacks! %RGp LB%#x\n", GCPhysStart, cbRange));
    14701470        return VERR_INVALID_PARAMETER;
    14711471    }
     
    15261526    if (!pfnWriteCallback && !pfnReadCallback)
    15271527    {
    1528         AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange));
     1528        AssertMsgFailed(("No callbacks! %RGp LB%#x\n", GCPhysStart, cbRange));
    15291529        return VERR_INVALID_PARAMETER;
    15301530    }
  • trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp

    r56287 r56985  
    646646{
    647647    LogFlowFunc(("pEpClass=%#p pszBwMgr=%#p{%s} cbTransferPerSecMax=%u cbTransferPerSecStart=%u cbTransferPerSecStep=%u\n",
    648                  pEpClass, pszBwMgr, cbTransferPerSecMax, cbTransferPerSecStart, cbTransferPerSecStep));
     648                 pEpClass, pszBwMgr, pszBwMgr, cbTransferPerSecMax, cbTransferPerSecStart, cbTransferPerSecStep));
    649649
    650650    AssertPtrReturn(pEpClass, VERR_INVALID_POINTER);
  • trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp

    r56287 r56985  
    11441144        RTMemFree(pBlkCacheGlobal);
    11451145
    1146     LogFlowFunc((": returns rc=%Rrc\n", pVM, rc));
     1146    LogFlowFunc((": returns rc=%Rrc\n", rc));
    11471147    return rc;
    11481148}
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r56287 r56985  
    586586    PDMDEV_ASSERT_DEVINS(pDevIns);
    587587    VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3);
    588     LogFlow(("pdmR3DevHlp_SSMRegister: caller='%s'/%d: uVersion=#x cbGuess=%#x pszBefore=%p:{%s}\n"
     588    LogFlow(("pdmR3DevHlp_SSMRegister: caller='%s'/%d: uVersion=%#x cbGuess=%#x pszBefore=%p:{%s}\n"
    589589             "    pfnLivePrep=%p pfnLiveExec=%p pfnLiveVote=%p pfnSavePrep=%p pfnSaveExec=%p pfnSaveDone=%p pszLoadPrep=%p pfnLoadExec=%p pfnLoadDone=%p\n",
    590590             pDevIns->pReg->szName, pDevIns->iInstance, uVersion, cbGuess, pszBefore, pszBefore,
     
    645645{
    646646    PDMDEV_ASSERT_DEVINS(pDevIns);
    647     LogFlow(("pdmR3DevHlp_TMTimeVirtGet: caller='%s'\n",
     647    LogFlow(("pdmR3DevHlp_TMTimeVirtGet: caller='%s'/%d\n",
    648648             pDevIns->pReg->szName, pDevIns->iInstance));
    649649
     
    659659{
    660660    PDMDEV_ASSERT_DEVINS(pDevIns);
    661     LogFlow(("pdmR3DevHlp_TMTimeVirtGetFreq: caller='%s'\n",
     661    LogFlow(("pdmR3DevHlp_TMTimeVirtGetFreq: caller='%s'/%d\n",
    662662             pDevIns->pReg->szName, pDevIns->iInstance));
    663663
     
    673673{
    674674    PDMDEV_ASSERT_DEVINS(pDevIns);
    675     LogFlow(("pdmR3DevHlp_TMTimeVirtGetNano: caller='%s'\n",
     675    LogFlow(("pdmR3DevHlp_TMTimeVirtGetNano: caller='%s'/%d\n",
    676676             pDevIns->pReg->szName, pDevIns->iInstance));
    677677
     
    688688{
    689689    PDMDEV_ASSERT_DEVINS(pDevIns);
    690     LogFlow(("pdmR3DevHlp_GetSupDrvSession: caller='%s'\n",
     690    LogFlow(("pdmR3DevHlp_GetSupDrvSession: caller='%s'/%d\n",
    691691             pDevIns->pReg->szName, pDevIns->iInstance));
    692692
     
    31033103    PDMDEV_ASSERT_DEVINS(pDevIns);
    31043104    VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3);
    3105     LogFlow(("pdmR3DevHlp_HPETRegister: caller='%s'/%d:\n"));
     3105    LogFlow(("pdmR3DevHlp_HPETRegister: caller='%s'/%d:\n", pDevIns->pReg->szName, pDevIns->iInstance));
    31063106
    31073107    /*
     
    31343134    PDMDEV_ASSERT_DEVINS(pDevIns);
    31353135    VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3);
    3136     LogFlow(("pdmR3DevHlp_PciRawRegister: caller='%s'/%d:\n"));
     3136    LogFlow(("pdmR3DevHlp_PciRawRegister: caller='%s'/%d:\n", pDevIns->pReg->szName, pDevIns->iInstance));
    31373137
    31383138    /*
  • trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp

    r56287 r56985  
    314314        else
    315315            rc = MMR3HeapAllocZEx(pVM, MM_TAG_PDM_DEVICE, sizeof(*pCritSect), (void **)&pCritSect);
    316         AssertLogRelMsgRCReturn(rc, ("Failed to allocate a critical section for the device\n",  rc), rc);
     316        AssertLogRelMsgRCReturn(rc, ("Failed to allocate a critical section for the device (%Rrc)\n",  rc), rc);
    317317
    318318        /*
     
    644644                    &&  strlen(pReg->szName) < sizeof(pReg->szName)
    645645                    &&  pdmR3IsValidName(pReg->szName),
    646                     ("Invalid name '%.s'\n", sizeof(pReg->szName), pReg->szName),
     646                    ("Invalid name '%.*s'\n", sizeof(pReg->szName), pReg->szName),
    647647                    VERR_PDM_INVALID_DEVICE_REGISTRATION);
    648648    AssertMsgReturn(   !(pReg->fFlags & PDM_DEVREG_FLAGS_RC)
  • trunk/src/VBox/VMM/VMMR3/PDMDriver.cpp

    r56287 r56985  
    9393    int rc = pfnCallback(&RegCB.Core, VBOX_VERSION);
    9494    if (RT_FAILURE(rc))
    95         AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n"));
     95        AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n", rc));
    9696
    9797    return rc;
     
    244244                Log(("PDM: Successfully loaded driver module %s (%s).\n", pszName, pszFilename));
    245245            else
    246                 AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n"));
     246                AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n", rc));
    247247        }
    248248        else
     
    273273                    ("%.*s\n", sizeof(pReg->szName), pReg->szName),
    274274                    VERR_PDM_INVALID_DRIVER_REGISTRATION);
    275     AssertMsgReturn(pdmR3IsValidName(pReg->szName), ("%.*s\n", pReg->szName),
     275    AssertMsgReturn(pdmR3IsValidName(pReg->szName), ("%.*s\n", sizeof(pReg->szName), pReg->szName),
    276276                    VERR_PDM_INVALID_DRIVER_REGISTRATION);
    277277    AssertMsgReturn(    !(pReg->fFlags & PDM_DRVREG_FLAGS_R0)
     
    310310                    VERR_PDM_INVALID_DRIVER_REGISTRATION);
    311311    AssertMsgReturn(pReg->u32VersionEnd == PDM_DRVREG_VERSION,
    312                     ("%s: #x\n", pReg->szName, pReg->u32VersionEnd),
     312                    ("%s: %#x\n", pReg->szName, pReg->u32VersionEnd),
    313313                    VERR_PDM_INVALID_DRIVER_REGISTRATION);
    314314
     
    12591259    PDMDRV_ASSERT_DRVINS(pDrvIns);
    12601260    LogFlow(("pdmR3DrvHlp_PDMQueueCreate: caller='%s'/%d: cbItem=%d cItems=%d cMilliesInterval=%d pfnCallback=%p pszName=%p:{%s} ppQueue=%p\n",
    1261              pDrvIns->pReg->szName, pDrvIns->iInstance, cbItem, cItems, cMilliesInterval, pfnCallback, pszName, pszName, ppQueue, ppQueue));
     1261             pDrvIns->pReg->szName, pDrvIns->iInstance, cbItem, cItems, cMilliesInterval, pfnCallback, pszName, pszName, ppQueue));
    12621262    PVM pVM = pDrvIns->Internal.s.pVMR3;
    12631263    VM_ASSERT_EMT(pVM);
     
    13171317    PDMDRV_ASSERT_DRVINS(pDrvIns);
    13181318    VM_ASSERT_EMT(pDrvIns->Internal.s.pVMR3);
    1319     LogFlow(("pdmR3DrvHlp_SSMRegister: caller='%s'/%d: uVersion=#x cbGuess=%#x \n"
     1319    LogFlow(("pdmR3DrvHlp_SSMRegister: caller='%s'/%d: uVersion=%#x cbGuess=%#x \n"
    13201320             "    pfnLivePrep=%p pfnLiveExec=%p pfnLiveVote=%p  pfnSavePrep=%p pfnSaveExec=%p pfnSaveDone=%p pszLoadPrep=%p pfnLoadExec=%p pfnLoaddone=%p\n",
    13211321             pDrvIns->pReg->szName, pDrvIns->iInstance, uVersion, cbGuess,
     
    13671367{
    13681368    PDMDRV_ASSERT_DRVINS(pDrvIns);
    1369     LogFlow(("pdmR3DrvHlp_DBGFInfoDeregister: caller='%s'/%d: pszName=%p:{%s} pszDesc=%p:{%s} pfnHandler=%p\n",
    1370              pDrvIns->pReg->szName, pDrvIns->iInstance, pszName));
     1369    LogFlow(("pdmR3DrvHlp_DBGFInfoDeregister: caller='%s'/%d: pszName=%p:{%s}\n",
     1370             pDrvIns->pReg->szName, pDrvIns->iInstance, pszName, pszName));
    13711371
    13721372    int rc = DBGFR3InfoDeregisterDriver(pDrvIns->Internal.s.pVMR3, pDrvIns, pszName);
  • trunk/src/VBox/VMM/VMMR3/PDMQueue.cpp

    r56287 r56985  
    234234        *ppQueue = pQueue;
    235235        Log(("PDM: Created device queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p pDevIns=%p\n",
    236              cbItem, cItems, cMilliesInterval, pfnCallback, pDevIns));
     236             pQueue, cbItem, cItems, cMilliesInterval, pfnCallback, pDevIns));
    237237    }
    238238    return rc;
     
    280280        *ppQueue = pQueue;
    281281        Log(("PDM: Created driver queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p pDrvIns=%p\n",
    282              cbItem, cItems, cMilliesInterval, pfnCallback, pDrvIns));
     282             pQueue, cbItem, cItems, cMilliesInterval, pfnCallback, pDrvIns));
    283283    }
    284284    return rc;
     
    325325        *ppQueue = pQueue;
    326326        Log(("PDM: Created internal queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p\n",
    327              cbItem, cItems, cMilliesInterval, pfnCallback));
     327             pQueue, cbItem, cItems, cMilliesInterval, pfnCallback));
    328328    }
    329329    return rc;
     
    370370        *ppQueue = pQueue;
    371371        Log(("PDM: Created external queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p pvUser=%p\n",
    372              cbItem, cItems, cMilliesInterval, pfnCallback, pvUser));
     372             pQueue, cbItem, cItems, cMilliesInterval, pfnCallback, pvUser));
    373373    }
    374374    return rc;
  • trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp

    r56287 r56985  
    225225                    &&  strlen(pReg->szName) < sizeof(pReg->szName)
    226226                    &&  pdmR3IsValidName(pReg->szName),
    227                     ("Invalid name '%.s'\n", sizeof(pReg->szName), pReg->szName),
     227                    ("Invalid name '%.*s'\n", sizeof(pReg->szName), pReg->szName),
    228228                    VERR_PDM_INVALID_USB_REGISTRATION);
    229229    AssertMsgReturn((pReg->fFlags & ~(PDM_USBREG_HIGHSPEED_CAPABLE | PDM_USBREG_SUPERSPEED_CAPABLE | PDM_USBREG_SAVED_STATE_SUPPORTED)) == 0,
     
    13891389{
    13901390    LogFlow(("PDMR3UsbDriverDetach: pszDevice=%p:{%s} iDevIns=%u iLun=%u pszDriver=%p:{%s} iOccurance=%u fFlags=%#x\n",
    1391              pszDevice, pszDevice, iDevIns, iLun, pszDriver, iOccurance, fFlags));
     1391             pszDevice, pszDevice, iDevIns, iLun, pszDriver, pszDriver, iOccurance, fFlags));
    13921392    UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
    13931393    PVM pVM = pUVM->pVM;
     
    16891689    PDMUSB_ASSERT_USBINS(pUsbIns);
    16901690    VM_ASSERT_EMT(pUsbIns->Internal.s.pVM);
    1691     LogFlow(("pdmR3UsbHlp_SSMRegister: caller='%s'/%d: uVersion=#x cbGuess=%#x\n"
     1691    LogFlow(("pdmR3UsbHlp_SSMRegister: caller='%s'/%d: uVersion=%#x cbGuess=%#x\n"
    16921692             "    pfnLivePrep=%p pfnLiveExec=%p pfnLiveVote=%p pfnSavePrep=%p pfnSaveExec=%p pfnSaveDone=%p pszLoadPrep=%p pfnLoadExec=%p pfnLoadDone=%p\n",
    16931693             pUsbIns->pReg->szName, pUsbIns->iInstance, uVersion, cbGuess,
  • trunk/src/VBox/VMM/VMMR3/PGMHandler.cpp

    r56384 r56985  
    159159{
    160160    LogFlow(("PGMR3HandlerPhysicalTypeRegister: enmKind=%d pfnHandlerR3=%RHv pszModR0=%s pszHandlerR0=%s pszPfHandlerR0=%s pszModRC=%s pszHandlerRC=%s pszPfHandlerRC=%s pszDesc=%s\n",
    161              enmKind, pfnHandlerR3, pszModR0, pszHandlerR0, pszPfHandlerR0, pszModRC, pszHandlerRC, pszDesc, pszPfHandlerRC, pszDesc));
     161             enmKind, pfnHandlerR3, pszModR0, pszHandlerR0, pszPfHandlerR0, pszModRC, pszHandlerRC, pszPfHandlerRC, pszDesc));
    162162
    163163    /*
  • trunk/src/VBox/VMM/VMMR3/PGMSavedState.cpp

    r56287 r56985  
    25272527                const uint32_t cPagesInChunk = (1*1024*1024) >> PAGE_SHIFT;
    25282528                AssertLogRelMsgReturn(cPages % cPagesInChunk == 0,
    2529                                       ("cPages=%#x cPagesInChunk=%#x\n", cPages, cPagesInChunk, pRam->GCPhys, pRam->pszDesc),
     2529                                      ("cPages=%#x cPagesInChunk=%#x GCPhys=%RGp %s\n", cPages, cPagesInChunk, pRam->GCPhys, pRam->pszDesc),
    25302530                                      VERR_SSM_DATA_UNIT_FORMAT_CHANGED);
    25312531
  • trunk/src/VBox/VMM/VMMR3/SELM.cpp

    r56287 r56985  
    19411941            cbMonitoredTss = Tss.offIoBitmap;
    19421942            AssertMsgReturn(pVM->selm.s.offGuestIoBitmap == Tss.offIoBitmap,
    1943                             ("#x %#x\n", pVM->selm.s.offGuestIoBitmap, Tss.offIoBitmap),
     1943                            ("%#x %#x\n", pVM->selm.s.offGuestIoBitmap, Tss.offIoBitmap),
    19441944                            false);
    19451945
  • trunk/src/VBox/VMM/VMMRC/PATMRC.cpp

    r56421 r56985  
    114114            if (!pRegFrame)
    115115            {
    116                 LogFlow(("PATMHandleWriteToPatchPage: Allow writing %RRv LB %#x\n", pRegFrame->eip, GCPtr, cbWrite));
     116                LogFlow(("PATMHandleWriteToPatchPage: Allow %#x writing %RRv LB %#x\n", pRegFrame->eip, GCPtr, cbWrite));
    117117                STAM_COUNTER_INC(&pVM->patm.s.StatPatchWriteInterpreted);
    118118                STAM_PROFILE_ADV_STOP(&pVM->patm.s.StatPatchWriteDetect, a);
    119119                return VINF_PGM_HANDLER_DO_DEFAULT;
    120120            }
    121             LogFlow(("PATMHandleWriteToPatchPage: Interpret %x accessing %RRv\n", pRegFrame->eip, GCPtr));
     121            LogFlow(("PATMHandleWriteToPatchPage: Interpret %#x accessing %RRv\n", pRegFrame->eip, GCPtr));
    122122            int rc = VBOXSTRICTRC_TODO(EMInterpretInstruction(VMMGetCpu0(pVM), pRegFrame, (RTGCPTR)(RTRCUINTPTR)GCPtr));
    123123            if (rc == VINF_SUCCESS)
  • trunk/src/VBox/VMM/VMMRC/SELMRC.cpp

    r56287 r56985  
    162162            }
    163163            else
    164                 Log(("GDT write to selector in %s register %04X (out of sync)\n", paSReg[iSReg].Sel));
     164                Log(("GDT write to selector in %s register %04X (out of sync)\n", g_aszSRegNms[iSReg], paSReg[iSReg].Sel));
    165165        }
    166166    }
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r56628 r56985  
    337337
    338338    rc = trpmGCExitTrap(pVM, pVCpu, rc, pRegFrame);
    339     Log6(("TRPMGC01: %Rrc (%04x:%08x %RTreg %EFlag=%#x)\n", rc, pRegFrame->cs.Sel, pRegFrame->eip, uDr6, CPUMRawGetEFlags(pVCpu)));
     339    Log6(("TRPMGC01: %Rrc (%04x:%08x %RTreg EFlag=%#x)\n", rc, pRegFrame->cs.Sel, pRegFrame->eip, uDr6, CPUMRawGetEFlags(pVCpu)));
    340340    TRPM_EXIT_DBG_HOOK(1);
    341341    return rc;
     
    537537    PVMCPU  pVCpu = TRPMCPU_2_VMCPU(pTrpmCpu);
    538538    int     rc;
    539     LogFlow(("TRPMGC06: %04x:%08x EFL=%x\n", pRegFrame->cs.Sel, pRegFrame->eip, pRegFrame->eflags.u32, CPUMRawGetEFlags(pVCpu)));
     539    LogFlow(("TRPMGC06: %04x:%08x EFL=%#x/%#x\n", pRegFrame->cs.Sel, pRegFrame->eip, pRegFrame->eflags.u32, CPUMRawGetEFlags(pVCpu)));
    540540    TRPM_ENTER_DBG_HOOK(6);
    541541    PGMRZDynMapStartAutoSet(pVCpu);
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