VirtualBox

Changeset 463 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 31, 2007 12:28:42 PM (18 years ago)
Author:
vboxsync
Message:

log causes for SSM load config mismatch to release log

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r332 r463  
    10611061            if (pData->devices[i])
    10621062            {
    1063                 AssertMsgFailed(("New device in slot %#x, %s\n", i, pData->devices[i]->name));
     1063                LogRel(("New device in slot %#x, %s\n", i, pData->devices[i]->name));
     1064                AssertFailed();
    10641065                return VERR_SSM_LOAD_CONFIG_MISMATCH;
    10651066            }
     
    10701071        if (!pDev)
    10711072        {
    1072             AssertMsgFailed(("Device in slot %#x have been removed!\n", i, pDev->name));
     1073            LogRel(("Device in slot %#x has been removed!\n", i, pDev->name));
     1074            AssertFailed();
    10731075            return VERR_SSM_LOAD_CONFIG_MISMATCH;
    10741076        }
     
    10841086            ||  DevTmp.config[1] != pDev->config[1])
    10851087        {
    1086             AssertMsgFailed(("Device in slot %#x (%s) vendor id mismatch! saved=%.4Vhxs current=%.4Vhxs\n",
    1087                              i, pDev->name, DevTmp.config, pDev->config));
     1088            LogRel(("Device in slot %#x (%s) vendor id mismatch! saved=%.4Vhxs current=%.4Vhxs\n",
     1089                    i, pDev->name, DevTmp.config, pDev->config));
     1090            AssertFailed();
    10881091            return VERR_SSM_LOAD_CONFIG_MISMATCH;
    10891092        }
  • trunk/src/VBox/VMM/PDM.cpp

    r23 r463  
    540540        if (!pDevIns)
    541541        {
    542             AssertMsgFailed(("Device '%s'/%d not found in current config\n", szDeviceName, iInstance));
     542            LogRel(("Device '%s'/%d not found in current config\n", szDeviceName, iInstance));
     543            AssertFailed();
    543544            return VERR_SSM_LOAD_CONFIG_MISMATCH;
    544545        }
     
    547548            )
    548549        {
    549             AssertMsgFailed(("u32Sep=%d loaded '%s'/%d  configured '%s'/%d\n",
    550                              u32Sep, szDeviceName, iInstance, pDevIns->pDevReg->szDeviceName, pDevIns->iInstance));
     550            LogRel(("u32Sep=%d loaded '%s'/%d  configured '%s'/%d\n",
     551                    u32Sep, szDeviceName, iInstance, pDevIns->pDevReg->szDeviceName, pDevIns->iInstance));
     552            AssertFailed();
    551553            return VERR_SSM_LOAD_CONFIG_MISMATCH;
    552554        }
     
    558560    if (pDevIns)
    559561    {
    560         AssertMsgFailed(("Device '%s'/%d not found in saved state\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance));
     562        LogRel(("Device '%s'/%d not found in saved state\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance));
     563        AssertFailed();
    561564        return VERR_SSM_LOAD_CONFIG_MISMATCH;
    562565    }
  • trunk/src/VBox/VMM/PGM.cpp

    r108 r463  
    15211521        if (!pMapping)
    15221522        {
    1523             AssertMsgFailed(("Couldn't find mapping: cPTs=%#x szDesc=%s (GCPtr=%VGv)\n",
    1524                              cPTs, szDesc, GCPtr));
     1523            LogRel(("Couldn't find mapping: cPTs=%#x szDesc=%s (GCPtr=%VGv)\n",
     1524                    cPTs, szDesc, GCPtr));
     1525            AssertFailed();
    15251526            return VERR_SSM_LOAD_CONFIG_MISMATCH;
    15261527        }
     
    15781579            ||  fHaveBits != !!pRam->pvHC)
    15791580        {
    1580             AssertMsgFailed(("Ram range: %VGp-%VGp %VGp bytes %s\n"
    1581                              "State    : %VGp-%VGp %VGp bytes %s\n",
    1582                              pRam->GCPhys, pRam->GCPhysLast, pRam->cb, pRam->pvHC ? "bits" : "nobits",
    1583                              GCPhys, GCPhysLast, cb, fHaveBits ? "bits" : "nobits"));
     1581            LogRel(("Ram range: %VGp-%VGp %VGp bytes %s\n"
     1582                    "State    : %VGp-%VGp %VGp bytes %s\n",
     1583                    pRam->GCPhys, pRam->GCPhysLast, pRam->cb, pRam->pvHC ? "bits" : "nobits",
     1584                    GCPhys, GCPhysLast, cb, fHaveBits ? "bits" : "nobits"));
     1585            AssertFailed();
    15841586            return VERR_SSM_LOAD_CONFIG_MISMATCH;
    15851587        }
  • trunk/src/VBox/VMM/VMM.cpp

    r421 r463  
    15831583    }
    15841584
    1585     AssertMsgFailed(("The stack is not in the same place and it's not empty! GCPtrStackBottom=%VGv pbGCStackBottom=%VGv ESP=%VGv\n",
    1586                      GCPtrStackBottom, pVM->vmm.s.pbGCStackBottom, GCPtrESP));
     1585    LogRel(("The stack is not in the same place and it's not empty! GCPtrStackBottom=%VGv pbGCStackBottom=%VGv ESP=%VGv\n",
     1586            GCPtrStackBottom, pVM->vmm.s.pbGCStackBottom, GCPtrESP));
     1587    AssertFailed();
    15871588    return VERR_SSM_LOAD_CONFIG_MISMATCH;
    15881589}
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