VirtualBox

Changeset 56971 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 17, 2015 2:24:23 PM (10 years ago)
Author:
vboxsync
Message:

DevVGA_VDMA.cpp: Use AssertLogRelRCReturn instead of AssertRCReturn when loading state so we can pinpoint errors more easily.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp

    r56969 r56971  
    680680    uint32_t u32;
    681681    int rc = SSMR3GetU32(pSSM, &u32);
    682     AssertRCReturn(rc, rc);
     682    AssertLogRelRCReturn(rc, rc);
    683683
    684684    if (!u32)
     
    693693
    694694    rc = SSMR3GetU32(pSSM, &u32);
    695     AssertRCReturn(rc, rc);
     695    AssertLogRelRCReturn(rc, rc);
    696696    pHCtl->u.cmd.cbCmd = u32;
    697697
    698698    rc = SSMR3GetU32(pSSM, &u32);
    699     AssertRCReturn(rc, rc);
     699    AssertLogRelRCReturn(rc, rc);
    700700    pHCtl->u.cmd.pu8Cmd = pu8VramBase + u32;
    701701
     
    719719    do {
    720720        rc = vboxVBVAExHSLoadGuestCtl(pCmdVbva, pu8VramBase, pSSM, u32Version);
    721         AssertRCReturn(rc, rc);
     721        AssertLogRelRCReturn(rc, rc);
    722722    } while (VINF_EOF != rc);
    723723
     
    34983498    uint32_t u32;
    34993499    int rc = SSMR3GetU32(pSSM, &u32);
    3500     AssertRCReturn(rc, rc);
     3500    AssertLogRelRCReturn(rc, rc);
    35013501
    35023502    if (u32 != 0xffffffff)
     
    35043504#ifdef VBOX_WITH_CRHGSMI
    35053505        rc = vdmaVBVACtlEnableSubmitSync(pVdma, u32, true);
    3506         AssertRCReturn(rc, rc);
     3506        AssertLogRelRCReturn(rc, rc);
    35073507
    35083508        Assert(pVdma->CmdVbva.i32State == VBVAEXHOSTCONTEXT_ESTATE_PAUSED);
     
    35133513        HCtl.u.state.u32Version = u32Version;
    35143514        rc = vdmaVBVACtlSubmitSync(pVdma, &HCtl, VBVAEXHOSTCTL_SOURCE_HOST);
    3515         AssertRCReturn(rc, rc);
     3515        AssertLogRelRCReturn(rc, rc);
    35163516
    35173517        rc = vdmaVBVAResume(pVdma);
    3518         AssertRCReturn(rc, rc);
     3518        AssertLogRelRCReturn(rc, rc);
    35193519
    35203520        return VINF_SUCCESS;
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