VirtualBox

Changeset 11284 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Aug 8, 2008 10:32:08 PM (16 years ago)
Author:
vboxsync
Message:

Devices: %Vrc -> %Rrc (just preferred, not mandatory (yet))

Location:
trunk/src/VBox/Devices/Storage
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r11269 r11284  
    301301    if (RT_FAILURE(rc))
    302302    {
    303         LogBird(("ata: %x: schedule failed, rc=%Vrc\n", pCtl->IOPortBase1, rc));
     303        LogBird(("ata: %x: schedule failed, rc=%Rrc\n", pCtl->IOPortBase1, rc));
    304304        rc = RTSemEventSignal(pCtl->AsyncIOSem);
    305305        AssertRC(rc);
     
    11491149        }
    11501150        if (s->cErrors++ < MAX_LOG_REL_ERRORS)
    1151             LogRel(("PIIX3 ATA: LUN#%d: disk read error (rc=%Vrc iSector=%#RX64 cSectors=%#RX32)\n",
     1151            LogRel(("PIIX3 ATA: LUN#%d: disk read error (rc=%Rrc iSector=%#RX64 cSectors=%#RX32)\n",
    11521152                    s->iLUN, rc, iLBA, cSectors));
    11531153        ataCmdError(s, ID_ERR);
     
    11961196        }
    11971197        if (s->cErrors++ < MAX_LOG_REL_ERRORS)
    1198             LogRel(("PIIX3 ATA: LUN#%d: disk write error (rc=%Vrc iSector=%#RX64 cSectors=%#RX32)\n",
     1198            LogRel(("PIIX3 ATA: LUN#%d: disk write error (rc=%Rrc iSector=%#RX64 cSectors=%#RX32)\n",
    11991199                    s->iLUN, rc, iLBA, cSectors));
    12001200        ataCmdError(s, ID_ERR);
     
    15791579                        || u8Cmd == SCSI_READ_TOC_PMA_ATIP))
    15801580                    break;
    1581                 LogRel(("PIIX3 ATA: LUN#%d: CD-ROM passthrough command (%#04x) error %d %Vrc\n", s->iLUN, u8Cmd, uATAPISenseKey, rc));
     1581                LogRel(("PIIX3 ATA: LUN#%d: CD-ROM passthrough command (%#04x) error %d %Rrc\n", s->iLUN, u8Cmd, uATAPISenseKey, rc));
    15821582            } while (0);
    15831583        }
     
    42694269    pCtl->AsyncIOThread = NIL_RTTHREAD;
    42704270
    4271     Log2(("%s: Ctl#%d: return %Vrc\n", __FUNCTION__, ATACONTROLLER_IDX(pCtl), rc));
     4271    Log2(("%s: Ctl#%d: return %Rrc\n", __FUNCTION__, ATACONTROLLER_IDX(pCtl), rc));
    42724272    return rc;
    42734273}
     
    51995199        rc = ataConfigLun(pDevIns, pIf);
    52005200    else
    5201         AssertMsgFailed(("Failed to attach LUN#%d. rc=%Vrc\n", pIf->iLUN, rc));
     5201        AssertMsgFailed(("Failed to attach LUN#%d. rc=%Rrc\n", pIf->iLUN, rc));
    52025202
    52035203    if (RT_FAILURE(rc))
     
    57405740    else if (rc != VERR_PDM_NO_ATTACHED_DRIVER)
    57415741    {
    5742         AssertMsgFailed(("Failed to attach to status driver. rc=%Vrc\n", rc));
     5742        AssertMsgFailed(("Failed to attach to status driver. rc=%Rrc\n", rc));
    57435743        return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot attach to status driver"));
    57445744    }
     
    57975797            else
    57985798            {
    5799                 AssertMsgFailed(("Failed to attach LUN#%d. rc=%Vrc\n", pIf->iLUN, rc));
     5799                AssertMsgFailed(("Failed to attach LUN#%d. rc=%Rrc\n", pIf->iLUN, rc));
    58005800                switch (rc)
    58015801                {
  • trunk/src/VBox/Devices/Storage/DrvBlock.cpp

    r11269 r11284  
    346346    {
    347347        *pPCHSGeometry = pThis->PCHSGeometry;
    348         LogFlow(("%s: returns %Vrc {%d,%d,%d}\n", __FUNCTION__, rc, pThis->PCHSGeometry.cCylinders, pThis->PCHSGeometry.cHeads, pThis->PCHSGeometry.cSectors));
     348        LogFlow(("%s: returns %Rrc {%d,%d,%d}\n", __FUNCTION__, rc, pThis->PCHSGeometry.cCylinders, pThis->PCHSGeometry.cHeads, pThis->PCHSGeometry.cSectors));
    349349    }
    350350    else if (rc == VERR_NOT_IMPLEMENTED)
    351351    {
    352352        rc = VERR_PDM_GEOMETRY_NOT_SET;
    353         LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     353        LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    354354    }
    355355    return rc;
     
    418418    {
    419419        *pLCHSGeometry = pThis->LCHSGeometry;
    420         LogFlow(("%s: returns %Vrc {%d,%d,%d}\n", __FUNCTION__, rc, pThis->LCHSGeometry.cCylinders, pThis->LCHSGeometry.cHeads, pThis->LCHSGeometry.cSectors));
     420        LogFlow(("%s: returns %Rrc {%d,%d,%d}\n", __FUNCTION__, rc, pThis->LCHSGeometry.cCylinders, pThis->LCHSGeometry.cHeads, pThis->LCHSGeometry.cSectors));
    421421    }
    422422    else if (rc == VERR_NOT_IMPLEMENTED)
    423423    {
    424424        rc = VERR_PDM_GEOMETRY_NOT_SET;
    425         LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     425        LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    426426    }
    427427    return rc;
     
    507507        if (RT_FAILURE(rc))
    508508        {
    509             Log(("drvblockMount: Prepare failed for \"%s\" rc=%Vrc\n", pszFilename, rc));
     509            Log(("drvblockMount: Prepare failed for \"%s\" rc=%Rrc\n", pszFilename, rc));
    510510            return rc;
    511511        }
     
    519519    if (RT_FAILURE(rc))
    520520    {
    521         Log(("drvblockMount: Attach failed rc=%Vrc\n", rc));
     521        Log(("drvblockMount: Attach failed rc=%Rrc\n", rc));
    522522        return rc;
    523523    }
     
    590590    if (RT_FAILURE(rc))
    591591    {
    592         Log(("drvblockUnmount: Detach failed rc=%Vrc\n", rc));
     592        Log(("drvblockUnmount: Detach failed rc=%Rrc\n", rc));
    593593        return rc;
    594594    }
  • trunk/src/VBox/Devices/Storage/DrvHostBase.cpp

    r11267 r11284  
    176176            }
    177177            else
    178                 Log(("%s-%d: drvHostBaseRead: RTFileRead(%d, %p, %#x) -> %Vrc (off=%#llx '%s')\n",
     178                Log(("%s-%d: drvHostBaseRead: RTFileRead(%d, %p, %#x) -> %Rrc (off=%#llx '%s')\n",
    179179                     pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->FileDevice,
    180180                     pvBuf, cbRead, rc, off, pThis->pszDevice));
    181181        }
    182182        else
    183             Log(("%s-%d: drvHostBaseRead: RTFileSeek(%d,%#llx,) -> %Vrc\n", pThis->pDrvIns->pDrvReg->szDriverName,
     183            Log(("%s-%d: drvHostBaseRead: RTFileSeek(%d,%#llx,) -> %Rrc\n", pThis->pDrvIns->pDrvReg->szDriverName,
    184184                 pThis->pDrvIns->iInstance, pThis->FileDevice, off, rc));
    185185#endif
     
    189189
    190190    RTCritSectLeave(&pThis->CritSect);
    191     LogFlow(("%s-%d: drvHostBaseRead: returns %Vrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
     191    LogFlow(("%s-%d: drvHostBaseRead: returns %Rrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
    192192    return rc;
    193193}
     
    226226                rc = RTFileWrite(pThis->FileDevice, pvBuf, cbWrite, NULL);
    227227                if (RT_FAILURE(rc))
    228                     Log(("%s-%d: drvHostBaseWrite: RTFileWrite(%d, %p, %#x) -> %Vrc (off=%#llx '%s')\n",
     228                    Log(("%s-%d: drvHostBaseWrite: RTFileWrite(%d, %p, %#x) -> %Rrc (off=%#llx '%s')\n",
    229229                         pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->FileDevice,
    230230                         pvBuf, cbWrite, rc, off, pThis->pszDevice));
    231231            }
    232232            else
    233                 Log(("%s-%d: drvHostBaseWrite: RTFileSeek(%d,%#llx,) -> %Vrc\n",
     233                Log(("%s-%d: drvHostBaseWrite: RTFileSeek(%d,%#llx,) -> %Rrc\n",
    234234                     pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->FileDevice, off, rc));
    235235#endif
     
    242242
    243243    RTCritSectLeave(&pThis->CritSect);
    244     LogFlow(("%s-%d: drvHostBaseWrite: returns %Vrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
     244    LogFlow(("%s-%d: drvHostBaseWrite: returns %Rrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
    245245    return rc;
    246246}
     
    269269
    270270    RTCritSectLeave(&pThis->CritSect);
    271     LogFlow(("%s-%d: drvHostBaseFlush: returns %Vrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
     271    LogFlow(("%s-%d: drvHostBaseFlush: returns %Rrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
    272272    return rc;
    273273}
     
    347347
    348348    RTCritSectLeave(&pThis->CritSect);
    349     LogFlow(("%s-%d: %s: returns %Vrc CHS={%d,%d,%d}\n",
     349    LogFlow(("%s-%d: %s: returns %Rrc CHS={%d,%d,%d}\n",
    350350             pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, __FUNCTION__, rc, pThis->PCHSGeometry.cCylinders, pThis->PCHSGeometry.cHeads, pThis->PCHSGeometry.cSectors));
    351351    return rc;
     
    399399
    400400    RTCritSectLeave(&pThis->CritSect);
    401     LogFlow(("%s-%d: %s: returns %Vrc CHS={%d,%d,%d}\n",
     401    LogFlow(("%s-%d: %s: returns %Rrc CHS={%d,%d,%d}\n",
    402402             pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, __FUNCTION__, rc, pThis->LCHSGeometry.cCylinders, pThis->LCHSGeometry.cHeads, pThis->LCHSGeometry.cSectors));
    403403    return rc;
     
    496496
    497497    RTCritSectLeave(&pThis->CritSect);
    498     LogFlow(("%s-%d: drvHostBaseLock: returns %Vrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
     498    LogFlow(("%s-%d: drvHostBaseLock: returns %Rrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
    499499    return rc;
    500500}
     
    519519
    520520    RTCritSectLeave(&pThis->CritSect);
    521     LogFlow(("%s-%d: drvHostBaseUnlock: returns %Vrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
     521    LogFlow(("%s-%d: drvHostBaseUnlock: returns %Rrc\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, rc));
    522522    return rc;
    523523}
     
    995995        if (!pThis->fReadOnlyConfig)
    996996        {
    997             LogFlow(("%s-%d: drvHostBaseReopen: '%s' - retry readonly (%Vrc)\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->pszDeviceOpen, rc));
     997            LogFlow(("%s-%d: drvHostBaseReopen: '%s' - retry readonly (%Rrc)\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->pszDeviceOpen, rc));
    998998#ifdef RT_OS_SOLARIS
    999999            rc = drvHostBaseOpen(pThis, &FileDevice, &FileRawDevice, false);
     
    10041004        if (RT_FAILURE(rc))
    10051005        {
    1006             LogFlow(("%s-%d: failed to open device '%s', rc=%Vrc\n",
     1006            LogFlow(("%s-%d: failed to open device '%s', rc=%Rrc\n",
    10071007                     pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->pszDevice, rc));
    10081008            return rc;
     
    12171217               : VERR_WRITE_ERROR;
    12181218            if (pThis->cLogRelErrors++ < 10)
    1219                 LogRel(("DVD scsi error: cmd={%.*Rhxs} TaskStatus=%#x key=%#x ASC=%#x ASCQ=%#x (%Vrc)\n",
     1219                LogRel(("DVD scsi error: cmd={%.*Rhxs} TaskStatus=%#x key=%#x ASC=%#x ASCQ=%#x (%Rrc)\n",
    12201220                        cbCmd, pbCmd, TaskStatus, SenseData.SENSE_KEY, SenseData.ADDITIONAL_SENSE_CODE,
    12211221                        SenseData.ADDITIONAL_SENSE_CODE_QUALIFIER, rc));
     
    12541254    if (RT_FAILURE(rc))
    12551255    {
    1256         LogFlow(("%s-%d: failed to figure media size of %s, rc=%Vrc\n",
     1256        LogFlow(("%s-%d: failed to figure media size of %s, rc=%Rrc\n",
    12571257                 pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pThis->pszDevice, rc));
    12581258        return rc;
     
    14521452            &&  rc != VERR_TIMEOUT)
    14531453        {
    1454             AssertMsgFailed(("rc=%Vrc\n", rc));
     1454            AssertMsgFailed(("rc=%Rrc\n", rc));
    14551455            pThis->ThreadPoller = NIL_RTTHREAD;
    1456             LogFlow(("drvHostBaseMediaThread: returns %Vrc\n", rc));
     1456            LogFlow(("drvHostBaseMediaThread: returns %Rrc\n", rc));
    14571457            return rc;
    14581458        }
     
    17541754    else if (RT_FAILURE(rc))
    17551755    {
    1756         AssertMsgFailed(("Configuration error: Query \"Mountable\" resulted in %Vrc.\n", rc));
     1756        AssertMsgFailed(("Configuration error: Query \"Mountable\" resulted in %Rrc.\n", rc));
    17571757        return rc;
    17581758    }
     
    17641764    else if (RT_FAILURE(rc))
    17651765    {
    1766         AssertMsgFailed(("Configuration error: Query \"ReadOnly\" resulted in %Vrc.\n", rc));
     1766        AssertMsgFailed(("Configuration error: Query \"ReadOnly\" resulted in %Rrc.\n", rc));
    17671767        return rc;
    17681768    }
     
    17741774    else if (RT_FAILURE(rc))
    17751775    {
    1776         AssertMsgFailed(("Configuration error: Query \"Locked\" resulted in %Vrc.\n", rc));
     1776        AssertMsgFailed(("Configuration error: Query \"Locked\" resulted in %Rrc.\n", rc));
    17771777        return rc;
    17781778    }
     
    17841784    else if (RT_FAILURE(rc))
    17851785    {
    1786         AssertMsgFailed(("Configuration error: Query \"BIOSVisible\" resulted in %Vrc.\n", rc));
     1786        AssertMsgFailed(("Configuration error: Query \"BIOSVisible\" resulted in %Rrc.\n", rc));
    17871787        return rc;
    17881788    }
     
    17981798        if (RT_FAILURE(rc))
    17991799        {
    1800             AssertMsgFailed(("Configuration error: Uuid from string failed on \"%s\", rc=%Vrc.\n", psz, rc));
     1800            AssertMsgFailed(("Configuration error: Uuid from string failed on \"%s\", rc=%Rrc.\n", psz, rc));
    18011801            MMR3HeapFree(psz);
    18021802            return rc;
     
    18061806    else
    18071807    {
    1808         AssertMsgFailed(("Configuration error: Failed to obtain the uuid, rc=%Vrc.\n", rc));
     1808        AssertMsgFailed(("Configuration error: Failed to obtain the uuid, rc=%Rrc.\n", rc));
    18091809        return rc;
    18101810    }
     
    18741874    if (rc != VERR_PDM_NO_ATTACHED_DRIVER)
    18751875    {
    1876         AssertMsgFailed(("Configuration error: No attached driver, please! (rc=%Vrc)\n", rc));
     1876        AssertMsgFailed(("Configuration error: No attached driver, please! (rc=%Rrc)\n", rc));
    18771877        return VERR_PDM_DRVINS_NO_ATTACH;
    18781878    }
     
    19521952         */
    19531953        pThis->IBlock.pfnSendCmd = NULL;
    1954         AssertMsgFailed(("Could not open host device %s, rc=%Vrc\n", pszDevice, rc));
     1954        AssertMsgFailed(("Could not open host device %s, rc=%Rrc\n", pszDevice, rc));
    19551955        switch (rc)
    19561956        {
     
    19941994        if (RT_FAILURE(rc))
    19951995        {
    1996             AssertMsgFailed(("Failed to lock the dvd drive. rc=%Vrc\n", rc));
     1996            AssertMsgFailed(("Failed to lock the dvd drive. rc=%Rrc\n", rc));
    19971997            return rc;
    19981998        }
     
    20272027        if (RT_FAILURE(rc))
    20282028        {
    2029             AssertMsgFailed(("Failed to create poller thread. rc=%Vrc\n", rc));
     2029            AssertMsgFailed(("Failed to create poller thread. rc=%Rrc\n", rc));
    20302030            return rc;
    20312031        }
  • trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp

    r11267 r11284  
    199199
    200200     RTCritSectLeave(&pThis->CritSect);
    201      LogFlow(("drvHostDvdUnmount: returns %Vrc\n", rc));
     201     LogFlow(("drvHostDvdUnmount: returns %Rrc\n", rc));
    202202     return rc;
    203203}
     
    265265#endif
    266266
    267     LogFlow(("drvHostDvdDoLock(, fLock=%RTbool): returns %Vrc\n", fLock, rc));
     267    LogFlow(("drvHostDvdDoLock(, fLock=%RTbool): returns %Rrc\n", fLock, rc));
    268268    return rc;
    269269}
     
    472472            *pbStat = cgc.sense->sense_key;
    473473            rc = RTErrConvertFromErrno(errno);
    474             Log2(("%s: error status %d, rc=%Vrc\n", __FUNCTION__, cgc.stat, rc));
     474            Log2(("%s: error status %d, rc=%Rrc\n", __FUNCTION__, cgc.stat, rc));
    475475        }
    476476    }
     
    541541            *pbStat = aSense[2] & 0x0f;
    542542            rc = RTErrConvertFromErrno(errno);
    543             Log2(("%s: error status. rc=%Vrc\n", __FUNCTION__, rc));
     543            Log2(("%s: error status. rc=%Rrc\n", __FUNCTION__, rc));
    544544        }
    545545        else
     
    609609# error "Unsupported platform."
    610610#endif
    611     LogFlow(("%s: rc=%Vrc\n", __FUNCTION__, rc));
     611    LogFlow(("%s: rc=%Rrc\n", __FUNCTION__, rc));
    612612    return rc;
    613613}
     
    765765    }
    766766
    767     LogFlow(("drvHostDvdConstruct: returns %Vrc\n", rc));
     767    LogFlow(("drvHostDvdConstruct: returns %Rrc\n", rc));
    768768    return rc;
    769769}
  • trunk/src/VBox/Devices/Storage/DrvHostFloppy.cpp

    r11267 r11284  
    8181    {
    8282        rc = RTErrConvertFromErrno (errno);
    83         Log(("DrvHostFloppy: FDFLUSH ioctl(%s) failed, errno=%d rc=%Vrc\n", pThis->pszDevice, errno, rc));
     83        Log(("DrvHostFloppy: FDFLUSH ioctl(%s) failed, errno=%d rc=%Rrc\n", pThis->pszDevice, errno, rc));
    8484        return rc;
    8585    }
     
    9090    {
    9191        rc = RTErrConvertFromErrno(errno);
    92         Log(("DrvHostFloppy: FDGETDRVSTAT ioctl(%s) failed, errno=%d rc=%Vrc\n", pThis->pszDevice, errno, rc));
     92        Log(("DrvHostFloppy: FDGETDRVSTAT ioctl(%s) failed, errno=%d rc=%Rrc\n", pThis->pszDevice, errno, rc));
    9393        return rc;
    9494    }
     
    190190    }
    191191
    192     LogFlow(("drvHostFloppyConstruct: returns %Vrc\n", rc));
     192    LogFlow(("drvHostFloppyConstruct: returns %Rrc\n", rc));
    193193    return rc;
    194194}
  • trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp

    r11269 r11284  
    188188    }
    189189
    190     AssertMsgFailed(("Error querying ISO file size, rc=%Vrc. (%s)\n", rc, pThis->pszFilename));
     190    AssertMsgFailed(("Error querying ISO file size, rc=%Rrc. (%s)\n", rc, pThis->pszFilename));
    191191    return 0;
    192192}
     
    249249        }
    250250        else
    251             AssertMsgFailed(("RTFileRead(%d, %p, %#x) -> %Vrc (off=%#llx '%s')\n",
     251            AssertMsgFailed(("RTFileRead(%d, %p, %#x) -> %Rrc (off=%#llx '%s')\n",
    252252                             pThis->File, pvBuf, cbRead, rc, off, pThis->pszFilename));
    253253    }
    254254    else
    255         AssertMsgFailed(("RTFileSeek(%d,%#llx,) -> %Vrc\n", pThis->File, off, rc));
    256     LogFlow(("drvMediaISORead: returns %Vrc\n", rc));
     255        AssertMsgFailed(("RTFileSeek(%d,%#llx,) -> %Rrc\n", pThis->File, off, rc));
     256    LogFlow(("drvMediaISORead: returns %Rrc\n", rc));
    257257    return rc;
    258258}
  • trunk/src/VBox/Devices/Storage/DrvRawImage.cpp

    r11269 r11284  
    133133    if (RT_FAILURE(rc))
    134134    {
    135         AssertMsgFailed(("Configuration error: query for \"Path\" string return %Vrc.\n", rc));
     135        AssertMsgFailed(("Configuration error: query for \"Path\" string return %Rrc.\n", rc));
    136136        return rc;
    137137    }
     
    160160        else
    161161        {
    162             AssertMsgFailed(("Could not open Raw image file %s, rc=%Vrc\n", pszName, rc));
     162            AssertMsgFailed(("Could not open Raw image file %s, rc=%Rrc\n", pszName, rc));
    163163            MMR3HeapFree(pszName);
    164164        }
     
    206206    }
    207207
    208     AssertMsgFailed(("Error querying Raw image file size, rc=%Vrc. (%s)\n", rc, pThis->pszFilename));
     208    AssertMsgFailed(("Error querying Raw image file size, rc=%Rrc. (%s)\n", rc, pThis->pszFilename));
    209209    return 0;
    210210}
     
    267267        }
    268268        else
    269             AssertMsgFailed(("RTFileRead(%d, %p, %#x) -> %Vrc (off=%#llx '%s')\n",
     269            AssertMsgFailed(("RTFileRead(%d, %p, %#x) -> %Rrc (off=%#llx '%s')\n",
    270270                             pThis->File, pvBuf, cbRead, rc, off, pThis->pszFilename));
    271271    }
    272272    else
    273         AssertMsgFailed(("RTFileSeek(%d,%#llx,) -> %Vrc\n", pThis->File, off, rc));
    274     LogFlow(("drvRawImageRead: returns %Vrc\n", rc));
     273        AssertMsgFailed(("RTFileSeek(%d,%#llx,) -> %Rrc\n", pThis->File, off, rc));
     274    LogFlow(("drvRawImageRead: returns %Rrc\n", rc));
    275275    return rc;
    276276}
     
    301301        }
    302302        else
    303             AssertMsgFailed(("RTFileWrite(%d, %p, %#x) -> %Vrc (off=%#llx '%s')\n",
     303            AssertMsgFailed(("RTFileWrite(%d, %p, %#x) -> %Rrc (off=%#llx '%s')\n",
    304304                             pThis->File, pvBuf, cbWrite, rc, off, pThis->pszFilename));
    305305    }
    306306    else
    307         AssertMsgFailed(("RTFileSeek(%d,%#llx,) -> %Vrc\n", pThis->File, off, rc));
    308     LogFlow(("drvRawImageWrite: returns %Vrc\n", rc));
     307        AssertMsgFailed(("RTFileSeek(%d,%#llx,) -> %Rrc\n", pThis->File, off, rc));
     308    LogFlow(("drvRawImageWrite: returns %Rrc\n", rc));
    309309    return rc;
    310310}
     
    319319    Assert(pThis->File != NIL_RTFILE);
    320320    int rc = RTFileFlush(pThis->File);
    321     LogFlow(("drvRawImageFlush: returns %Vrc\n", rc));
     321    LogFlow(("drvRawImageFlush: returns %Rrc\n", rc));
    322322    return rc;
    323323}
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r11269 r11284  
    281281        Log2(("%s: off=%#llx pvBuf=%p cbRead=%d %.*Vhxd\n", __FUNCTION__,
    282282              off, pvBuf, cbRead, cbRead, pvBuf));
    283     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     283    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    284284    return rc;
    285285}
     
    296296          off, pvBuf, cbWrite, cbWrite, pvBuf));
    297297    int rc = VDWrite(pThis->pDisk, off, pvBuf, cbWrite);
    298     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     298    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    299299    return rc;
    300300}
     
    306306    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    307307    int rc = VDFlush(pThis->pDisk);
    308     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     308    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    309309    return rc;
    310310}
     
    342342        rc = VERR_PDM_GEOMETRY_NOT_SET;
    343343    }
    344     LogFlow(("%s: returns %Vrc (CHS=%d/%d/%d)\n", __FUNCTION__,
     344    LogFlow(("%s: returns %Rrc (CHS=%d/%d/%d)\n", __FUNCTION__,
    345345             rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
    346346    return rc;
     
    355355    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    356356    int rc = VDSetPCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pPCHSGeometry);
    357     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     357    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    358358    return rc;
    359359}
     
    371371        rc = VERR_PDM_GEOMETRY_NOT_SET;
    372372    }
    373     LogFlow(("%s: returns %Vrc (CHS=%d/%d/%d)\n", __FUNCTION__,
     373    LogFlow(("%s: returns %Rrc (CHS=%d/%d/%d)\n", __FUNCTION__,
    374374             rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
    375375    return rc;
     
    384384    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    385385    int rc = VDSetLCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pLCHSGeometry);
    386     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     386    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    387387    return rc;
    388388}
     
    394394    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    395395    int rc = VDGetUuid(pThis->pDisk, 0, pUuid);
    396     LogFlow(("%s: returns %Vrc ({%Vuuid})\n", __FUNCTION__, rc, pUuid));
     396    LogFlow(("%s: returns %Rrc ({%Vuuid})\n", __FUNCTION__, rc, pUuid));
    397397    return rc;
    398398}
     
    410410    PVBOXDISK pThis = PDMIMEDIAASYNC_2_VBOXDISK(pInterface);
    411411    int rc = VDAsyncRead(pThis->pDisk, uOffset, cbRead, paSeg, cSeg, pvUser);
    412     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     412    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    413413    return rc;
    414414}
     
    422422    PVBOXDISK pThis = PDMIMEDIAASYNC_2_VBOXDISK(pInterface);
    423423    int rc = VDAsyncWrite(pThis->pDisk, uOffset, cbWrite, paSeg, cSeg, pvUser);
    424     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     424    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    425425    return rc;
    426426}
     
    600600        else if (RT_FAILURE(rc))
    601601        {
    602             AssertMsgFailed(("Failed to attach async transport driver below rc=%Vrc\n", rc));
     602            AssertMsgFailed(("Failed to attach async transport driver below rc=%Rrc\n", rc));
    603603        }
    604604        else
     
    748748        else
    749749        {
    750            AssertMsgFailed(("Failed to open image '%s' rc=%Vrc\n", pszName, rc));
     750           AssertMsgFailed(("Failed to open image '%s' rc=%Rrc\n", pszName, rc));
    751751           break;
    752752        }
     
    816816    {
    817817        rc = RTCacheCreate(&pThis->pCache, 0, sizeof(DRVVDASYNCTASK), RTOBJCACHE_PROTECT_INSERT);
    818         AssertMsg(RT_SUCCESS(rc), ("Failed to create cache rc=%Vrc\n", rc));
    819     }
    820 
    821     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     818        AssertMsg(RT_SUCCESS(rc), ("Failed to create cache rc=%Rrc\n", rc));
     819    }
     820
     821    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    822822    return rc;
    823823}
  • trunk/src/VBox/Devices/Storage/RawHDDCore.cpp

    r11266 r11284  
    302302
    303303out:
    304     LogFlowFunc(("returns %Vrc\n", rc));
     304    LogFlowFunc(("returns %Rrc\n", rc));
    305305    return rc;
    306306}
     
    350350
    351351out:
    352     LogFlowFunc(("returns %Vrc (pBackendData=%#p)\n", rc, *ppBackendData));
     352    LogFlowFunc(("returns %Rrc (pBackendData=%#p)\n", rc, *ppBackendData));
    353353    return rc;
    354354}
     
    419419
    420420out:
    421     LogFlowFunc(("returns %Vrc (pBackendData=%#p)\n", rc, *ppBackendData));
     421    LogFlowFunc(("returns %Rrc (pBackendData=%#p)\n", rc, *ppBackendData));
    422422    return rc;
    423423}
     
    429429    int rc = VERR_NOT_IMPLEMENTED;
    430430
    431     LogFlowFunc(("returns %Vrc\n", rc));
     431    LogFlowFunc(("returns %Rrc\n", rc));
    432432    return rc;
    433433}
     
    445445        rawFreeImage(pImage, fDelete);
    446446
    447     LogFlowFunc(("returns %Vrc\n", rc));
     447    LogFlowFunc(("returns %Rrc\n", rc));
    448448    return rc;
    449449}
     
    472472
    473473out:
    474     LogFlowFunc(("returns %Vrc\n", rc));
     474    LogFlowFunc(("returns %Rrc\n", rc));
    475475    return rc;
    476476}
     
    507507
    508508out:
    509     LogFlowFunc(("returns %Vrc\n", rc));
     509    LogFlowFunc(("returns %Rrc\n", rc));
    510510    return rc;
    511511}
     
    519519
    520520    rc = rawFlushImage(pImage);
    521     LogFlowFunc(("returns %Vrc\n", rc));
     521    LogFlowFunc(("returns %Rrc\n", rc));
    522522    return rc;
    523523}
     
    552552        rc = VERR_VDI_NOT_OPENED;
    553553
    554     LogFlowFunc(("returns %Vrc enmImageType=%u\n", rc, *penmImageType));
     554    LogFlowFunc(("returns %Rrc enmImageType=%u\n", rc, *penmImageType));
    555555    return rc;
    556556}
     
    617617        rc = VERR_VDI_NOT_OPENED;
    618618
    619     LogFlowFunc(("returns %Vrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
     619    LogFlowFunc(("returns %Rrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
    620620    return rc;
    621621}
     
    646646
    647647out:
    648     LogFlowFunc(("returns %Vrc\n", rc));
     648    LogFlowFunc(("returns %Rrc\n", rc));
    649649    return rc;
    650650}
     
    673673        rc = VERR_VDI_NOT_OPENED;
    674674
    675     LogFlowFunc(("returns %Vrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
     675    LogFlowFunc(("returns %Rrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
    676676    return rc;
    677677}
     
    702702
    703703out:
    704     LogFlowFunc(("returns %Vrc\n", rc));
     704    LogFlowFunc(("returns %Rrc\n", rc));
    705705    return rc;
    706706}
     
    762762
    763763out:
    764     LogFlowFunc(("returns %Vrc\n", rc));
     764    LogFlowFunc(("returns %Rrc\n", rc));
    765765    return rc;
    766766}
     
    785785        rc = VERR_VDI_NOT_OPENED;
    786786
    787     LogFlowFunc(("returns %Vrc comment='%s'\n", rc, pszComment));
     787    LogFlowFunc(("returns %Rrc comment='%s'\n", rc, pszComment));
    788788    return rc;
    789789}
     
    810810
    811811out:
    812     LogFlowFunc(("returns %Vrc\n", rc));
     812    LogFlowFunc(("returns %Rrc\n", rc));
    813813    return rc;
    814814}
     
    828828        rc = VERR_VDI_NOT_OPENED;
    829829
    830     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     830    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    831831    return rc;
    832832}
     
    852852        rc = VERR_VDI_NOT_OPENED;
    853853
    854     LogFlowFunc(("returns %Vrc\n", rc));
     854    LogFlowFunc(("returns %Rrc\n", rc));
    855855    return rc;
    856856}
     
    870870        rc = VERR_VDI_NOT_OPENED;
    871871
    872     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     872    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    873873    return rc;
    874874}
     
    893893        rc = VERR_VDI_NOT_OPENED;
    894894
    895     LogFlowFunc(("returns %Vrc\n", rc));
     895    LogFlowFunc(("returns %Rrc\n", rc));
    896896    return rc;
    897897}
     
    911911        rc = VERR_VDI_NOT_OPENED;
    912912
    913     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     913    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    914914    return rc;
    915915}
     
    934934        rc = VERR_VDI_NOT_OPENED;
    935935
    936     LogFlowFunc(("returns %Vrc\n", rc));
     936    LogFlowFunc(("returns %Rrc\n", rc));
    937937    return rc;
    938938}
     
    952952        rc = VERR_VDI_NOT_OPENED;
    953953
    954     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     954    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    955955    return rc;
    956956}
     
    975975        rc = VERR_VDI_NOT_OPENED;
    976976
    977     LogFlowFunc(("returns %Vrc\n", rc));
     977    LogFlowFunc(("returns %Rrc\n", rc));
    978978    return rc;
    979979}
     
    997997{
    998998    int rc = VERR_NOT_IMPLEMENTED;
    999     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     999    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    10001000    return rc;
    10011001}
     
    10041004{
    10051005    int rc = VERR_NOT_IMPLEMENTED;
    1006     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1006    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    10071007    return rc;
    10081008}
     
    10111011{
    10121012    int rc = VERR_NOT_IMPLEMENTED;
    1013     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1013    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    10141014    return rc;
    10151015}
     
    10181018{
    10191019    int rc = VERR_NOT_IMPLEMENTED;
    1020     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1020    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    10211021    return rc;
    10221022}
     
    10251025{
    10261026    int rc = VERR_NOT_IMPLEMENTED;
    1027     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1027    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    10281028    return rc;
    10291029}
     
    10381038{
    10391039    int rc = VERR_NOT_IMPLEMENTED;
    1040     LogFlowFunc(("returns %Vrc\n", rc));
     1040    LogFlowFunc(("returns %Rrc\n", rc));
    10411041    return rc;
    10421042}
     
    10461046{
    10471047    int rc = VERR_NOT_IMPLEMENTED;
    1048     LogFlowFunc(("returns %Vrc\n", rc));
     1048    LogFlowFunc(("returns %Rrc\n", rc));
    10491049    return rc;
    10501050}
  • trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp

    r11266 r11284  
    200200            if (RT_FAILURE(rc) || !pfnHDDFormatLoad)
    201201            {
    202                 LogFunc(("error resolving the entry point %s in plugin %s, rc=%Vrc, pfnHDDFormat=%#p\n", VBOX_HDDFORMAT_LOAD_NAME, pszPluginName, rc, pfnHDDFormatLoad));
     202                LogFunc(("error resolving the entry point %s in plugin %s, rc=%Rrc, pfnHDDFormat=%#p\n", VBOX_HDDFORMAT_LOAD_NAME, pszPluginName, rc, pfnHDDFormatLoad));
    203203                if (RT_SUCCESS(rc))
    204204                    rc = VERR_SYMBOL_NOT_FOUND;
     
    718718                if (RT_FAILURE(rc) || !pfnHDDFormatLoad)
    719719                {
    720                     LogFunc(("error resolving the entry point %s in plugin %s, rc=%Vrc, pfnHDDFormat=%#p\n", VBOX_HDDFORMAT_LOAD_NAME, pPluginDirEntry->szName, rc, pfnHDDFormatLoad));
     720                    LogFunc(("error resolving the entry point %s in plugin %s, rc=%Rrc, pfnHDDFormat=%#p\n", VBOX_HDDFORMAT_LOAD_NAME, pPluginDirEntry->szName, rc, pfnHDDFormatLoad));
    721721                    if (RT_SUCCESS(rc))
    722722                        rc = VERR_SYMBOL_NOT_FOUND;
     
    758758    } while (0);
    759759
    760     LogFlowFunc(("returns %Vrc *pcEntriesUsed=%u\n", rc, cEntries));
     760    LogFlowFunc(("returns %Rrc *pcEntriesUsed=%u\n", rc, cEntries));
    761761    *pcEntriesUsed = cEntries;
    762762    return rc;
     
    827827    } while (0);
    828828
    829     LogFlowFunc(("returns %Vrc (pDisk=%#p)\n", rc, pDisk));
     829    LogFlowFunc(("returns %Rrc (pDisk=%#p)\n", rc, pDisk));
    830830    return rc;
    831831}
     
    962962                if (RT_FAILURE(rc) || !pfnHDDFormatLoad)
    963963                {
    964                     LogFunc(("error resolving the entry point %s in plugin %s, rc=%Vrc, pfnHDDFormat=%#p\n", VBOX_HDDFORMAT_LOAD_NAME, pPluginDirEntry->szName, rc, pfnHDDFormatLoad));
     964                    LogFunc(("error resolving the entry point %s in plugin %s, rc=%Rrc, pfnHDDFormat=%#p\n", VBOX_HDDFORMAT_LOAD_NAME, pPluginDirEntry->szName, rc, pfnHDDFormatLoad));
    965965                    if (RT_SUCCESS(rc))
    966966                        rc = VERR_SYMBOL_NOT_FOUND;
     
    10171017    } while (0);
    10181018
    1019     LogFlowFunc(("returns %Vrc *ppszFormat=\"%s\"\n", rc, *ppszFormat));
     1019    LogFlowFunc(("returns %Rrc *ppszFormat=\"%s\"\n", rc, *ppszFormat));
    10201020    return rc;
    10211021}
     
    12381238    }
    12391239
    1240     LogFlowFunc(("returns %Vrc\n", rc));
     1240    LogFlowFunc(("returns %Rrc\n", rc));
    12411241    return rc;
    12421242}
     
    14431443        pfnProgress(NULL /* WARNING! pVM=NULL  */, 100, pvUser);
    14441444
    1445     LogFlowFunc(("returns %Vrc\n", rc));
     1445    LogFlowFunc(("returns %Rrc\n", rc));
    14461446    return rc;
    14471447}
     
    16071607        pfnProgress(NULL /* WARNING! pVM=NULL  */, 100, pvUser);
    16081608
    1609     LogFlowFunc(("returns %Vrc\n", rc));
     1609    LogFlowFunc(("returns %Rrc\n", rc));
    16101610    return rc;
    16111611}
     
    18261826        pfnProgress(NULL /* WARNING! pVM=NULL */, 100, pvUser);
    18271827
    1828     LogFlowFunc(("returns %Vrc\n", rc));
     1828    LogFlowFunc(("returns %Rrc\n", rc));
    18291829    return rc;
    18301830}
     
    20662066        pfnProgress(NULL /* WARNING! pVM=NULL  */, 100, pvUser);
    20672067
    2068     LogFlowFunc(("returns %Vrc\n", rc));
     2068    LogFlowFunc(("returns %Rrc\n", rc));
    20692069    return rc;
    20702070}
     
    21622162    } while (0);
    21632163
    2164     LogFlowFunc(("returns %Vrc\n", rc));
     2164    LogFlowFunc(("returns %Rrc\n", rc));
    21652165    return rc;
    21662166}
     
    22062206    } while (0);
    22072207
    2208     LogFlowFunc(("returns %Vrc\n", rc));
     2208    LogFlowFunc(("returns %Rrc\n", rc));
    22092209    return rc;
    22102210}
     
    22512251    } while (0);
    22522252
    2253     LogFlowFunc(("returns %Vrc\n", rc));
     2253    LogFlowFunc(("returns %Rrc\n", rc));
    22542254    return rc;
    22552255}
     
    22982298    } while (0);
    22992299
    2300     LogFlowFunc(("returns %Vrc\n", rc));
     2300    LogFlowFunc(("returns %Rrc\n", rc));
    23012301    return rc;
    23022302}
     
    23272327    } while (0);
    23282328
    2329     LogFlowFunc(("returns %Vrc\n", rc));
     2329    LogFlowFunc(("returns %Rrc\n", rc));
    23302330    return rc;
    23312331}
     
    24852485    } while (0);
    24862486
    2487     LogFlowFunc(("%s: %Vrc (PCHS=%u/%u/%u)\n", __FUNCTION__, rc,
     2487    LogFlowFunc(("%s: %Rrc (PCHS=%u/%u/%u)\n", __FUNCTION__, rc,
    24882488                 pDisk->PCHSGeometry.cCylinders, pDisk->PCHSGeometry.cHeads,
    24892489                 pDisk->PCHSGeometry.cSectors));
     
    25832583    } while (0);
    25842584
    2585     LogFlowFunc(("returns %Vrc\n", rc));
     2585    LogFlowFunc(("returns %Rrc\n", rc));
    25862586    return rc;
    25872587}
     
    26312631    } while (0);
    26322632
    2633     LogFlowFunc((": %Vrc (LCHS=%u/%u/%u)\n", rc,
     2633    LogFlowFunc((": %Rrc (LCHS=%u/%u/%u)\n", rc,
    26342634                 pDisk->LCHSGeometry.cCylinders, pDisk->LCHSGeometry.cHeads,
    26352635                 pDisk->LCHSGeometry.cSectors));
     
    27292729    } while (0);
    27302730
    2731     LogFlowFunc(("returns %Vrc\n", rc));
     2731    LogFlowFunc(("returns %Rrc\n", rc));
    27322732    return rc;
    27332733}
     
    27662766    } while (0);
    27672767
    2768     LogFlowFunc(("returns %Vrc uVersion=%#x\n", rc, *puVersion));
     2768    LogFlowFunc(("returns %Rrc uVersion=%#x\n", rc, *puVersion));
    27692769    return rc;
    27702770}
     
    28102810    } while (0);
    28112811
    2812     LogFlowFunc(("returns %Vrc uenmType=%u\n", rc, *penmType));
     2812    LogFlowFunc(("returns %Rrc uenmType=%u\n", rc, *penmType));
    28132813    return rc;
    28142814}
     
    28562856    } while (0);
    28572857
    2858     LogFlowFunc(("returns %Vrc\n", rc));
     2858    LogFlowFunc(("returns %Rrc\n", rc));
    28592859    return rc;
    28602860}
     
    28932893    } while (0);
    28942894
    2895     LogFlowFunc(("returns %Vrc uImageFlags=%#x\n", rc, *puImageFlags));
     2895    LogFlowFunc(("returns %Rrc uImageFlags=%#x\n", rc, *puImageFlags));
    28962896    return rc;
    28972897}
     
    29302930    } while (0);
    29312931
    2932     LogFlowFunc(("returns %Vrc uOpenFlags=%#x\n", rc, *puOpenFlags));
     2932    LogFlowFunc(("returns %Rrc uOpenFlags=%#x\n", rc, *puOpenFlags));
    29332933    return rc;
    29342934}
     
    29692969    } while (0);
    29702970
    2971     LogFlowFunc(("returns %Vrc\n", rc));
     2971    LogFlowFunc(("returns %Rrc\n", rc));
    29722972    return rc;
    29732973}
     
    30243024    } while (0);
    30253025
    3026     LogFlowFunc(("returns %Vrc, pszFilename=\"%s\"\n", rc, pszFilename));
     3026    LogFlowFunc(("returns %Rrc, pszFilename=\"%s\"\n", rc, pszFilename));
    30273027    return rc;
    30283028}
     
    30673067    } while (0);
    30683068
    3069     LogFlowFunc(("returns %Vrc, pszComment=\"%s\"\n", rc, pszComment));
     3069    LogFlowFunc(("returns %Rrc, pszComment=\"%s\"\n", rc, pszComment));
    30703070    return rc;
    30713071}
     
    31043104    } while (0);
    31053105
    3106     LogFlowFunc(("returns %Vrc\n", rc));
     3106    LogFlowFunc(("returns %Rrc\n", rc));
    31073107    return rc;
    31083108}
     
    31403140    } while (0);
    31413141
    3142     LogFlowFunc(("returns %Vrc, Uuid={%Vuuid}\n", rc, pUuid));
     3142    LogFlowFunc(("returns %Rrc, Uuid={%Vuuid}\n", rc, pUuid));
    31433143    return rc;
    31443144}
     
    31813181    } while (0);
    31823182
    3183     LogFlowFunc(("returns %Vrc\n", rc));
     3183    LogFlowFunc(("returns %Rrc\n", rc));
    31843184    return rc;
    31853185}
     
    32173217    } while (0);
    32183218
    3219     LogFlowFunc(("returns %Vrc, Uuid={%Vuuid}\n", rc, pUuid));
     3219    LogFlowFunc(("returns %Rrc, Uuid={%Vuuid}\n", rc, pUuid));
    32203220    return rc;
    32213221}
     
    32603260    } while (0);
    32613261
    3262     LogFlowFunc(("returns %Vrc\n", rc));
     3262    LogFlowFunc(("returns %Rrc\n", rc));
    32633263    return rc;
    32643264}
     
    32963296    } while (0);
    32973297
    3298     LogFlowFunc(("returns %Vrc, Uuid={%Vuuid}\n", rc, pUuid));
     3298    LogFlowFunc(("returns %Rrc, Uuid={%Vuuid}\n", rc, pUuid));
    32993299    return rc;
    33003300}
     
    33383338    } while (0);
    33393339
    3340     LogFlowFunc(("returns %Vrc\n", rc));
     3340    LogFlowFunc(("returns %Rrc\n", rc));
    33413341    return rc;
    33423342}
     
    34003400    } while (0);
    34013401
    3402     LogFlowFunc(("returns %Vrc, fAIOSupported=%u\n", rc, *pfAIOSupported));
     3402    LogFlowFunc(("returns %Rrc, fAIOSupported=%u\n", rc, *pfAIOSupported));
    34033403    return rc;
    34043404}
     
    34723472    } while (0);
    34733473
    3474     LogFlowFunc(("returns %Vrc\n", rc));
     3474    LogFlowFunc(("returns %Rrc\n", rc));
    34753475    return rc;
    34763476}
     
    35273527    } while (0);
    35283528
    3529     LogFlowFunc(("returns %Vrc\n", rc));
    3530     return rc;
    3531 
    3532 }
    3533 
     3529    LogFlowFunc(("returns %Rrc\n", rc));
     3530    return rc;
     3531
     3532}
     3533
  • trunk/src/VBox/Devices/Storage/VBoxHDD.cpp

    r11269 r11284  
    115115    PVDIDISK pThis = PDMIMEDIA_2_VDIDISK(pInterface);
    116116    int rc = VDIDiskSetLCHSGeometry(pThis, pLCHSGeometry);
    117     LogFlow(("%s: returns %Vrc (%d,%d,%d)\n", __FUNCTION__, rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
     117    LogFlow(("%s: returns %Rrc (%d,%d,%d)\n", __FUNCTION__, rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
    118118    return rc;
    119119}
     
    134134              "%.*Vhxd\n",
    135135              off, pvBuf, cbRead, cbRead, pvBuf));
    136     LogFlow(("vdiRead: returns %Vrc\n", rc));
     136    LogFlow(("vdiRead: returns %Rrc\n", rc));
    137137    return rc;
    138138}
     
    152152          off, pvBuf, cbWrite, cbWrite, pvBuf));
    153153    int rc = VDIDiskWrite(pThis, off, pvBuf, cbWrite);
    154     LogFlow(("vdiWrite: returns %Vrc\n", rc));
     154    LogFlow(("vdiWrite: returns %Rrc\n", rc));
    155155    return rc;
    156156}
     
    168168    VDIFlushImage(pThis->pLast);
    169169    int rc = VINF_SUCCESS;
    170     LogFlow(("vdiFlush: returns %Vrc\n", rc));
     170    LogFlow(("vdiFlush: returns %Rrc\n", rc));
    171171    return rc;
    172172}
     
    178178    PVDIDISK pThis = PDMIMEDIA_2_VDIDISK(pInterface);
    179179    int rc = VDIDiskGetImageUuid(pThis, 0, pUuid);
    180     LogFlow(("vdiGetUuid: returns %Vrc ({%Vuuid})\n", rc, pUuid));
     180    LogFlow(("vdiGetUuid: returns %Rrc ({%Vuuid})\n", rc, pUuid));
    181181    return rc;
    182182}
     
    377377                 iLevel, pszName, VDIDiskIsReadOnly(pThis) ? "read-only" : "read-write"));
    378378        else
    379             AssertMsgFailed(("Failed to open image '%s' rc=%Vrc\n", pszName, rc));
     379            AssertMsgFailed(("Failed to open image '%s' rc=%Rrc\n", pszName, rc));
    380380        MMR3HeapFree(pszName);
    381381
  • trunk/src/VBox/Devices/Storage/VDICore.cpp

    r11266 r11284  
    560560        pfnProgress(NULL /* WARNING! pVM=NULL  */, 100, pvUser);
    561561
    562     Log(("vdiCreateImage: done, filename=\"%s\", rc=%Vrc\n", pszFilename, rc));
     562    Log(("vdiCreateImage: done, filename=\"%s\", rc=%Rrc\n", pszFilename, rc));
    563563
    564564    return rc;
     
    796796    RTFileClose(pImage->File);
    797797    RTMemFree(pImage);
    798     Log(("vdiOpenImage: failed, filename=\"%s\", rc=%Vrc\n", pszFilename, rc));
     798    Log(("vdiOpenImage: failed, filename=\"%s\", rc=%Rrc\n", pszFilename, rc));
    799799    return rc;
    800800}
     
    833833        }
    834834    }
    835     AssertMsgRC(rc, ("vdiUpdateHeader failed, filename=\"%s\" rc=%Vrc\n", pImage->szFilename, rc));
     835    AssertMsgRC(rc, ("vdiUpdateHeader failed, filename=\"%s\" rc=%Rrc\n", pImage->szFilename, rc));
    836836    return rc;
    837837}
     
    856856                             sizeof(VDIIMAGEBLOCKPOINTER),
    857857                             NULL);
    858         AssertMsgRC(rc, ("vdiUpdateBlockInfo failed to update block=%u, filename=\"%s\", rc=%Vrc\n",
     858        AssertMsgRC(rc, ("vdiUpdateBlockInfo failed to update block=%u, filename=\"%s\", rc=%Rrc\n",
    859859                         uBlock, pImage->szFilename, rc));
    860860    }
     
    878878                             sizeof(VDIIMAGEBLOCKPOINTER) * getImageBlocks(&pImage->Header),
    879879                             NULL);
    880         AssertMsgRC(rc, ("vdiUpdateBlocks failed, filename=\"%s\", rc=%Vrc\n",
     880        AssertMsgRC(rc, ("vdiUpdateBlocks failed, filename=\"%s\", rc=%Rrc\n",
    881881                         pImage->szFilename, rc));
    882882    }
     
    955955        /* Save header. */
    956956        int rc = vdiUpdateHeader(pImage);
    957         AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Vrc\n",
     957        AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Rrc\n",
    958958                         pImage->szFilename, rc));
    959959        RTFileFlush(pImage->File);
     
    10011001            rc = RTFileRead(pImage->File, pvBuf, cbToRead, NULL);
    10021002        if (RT_FAILURE(rc))
    1003             Log(("vdiReadInBlock: rc=%Vrc filename=\"%s\" uBlock=%u offRead=%u cbToRead=%u u64Offset=%llu\n",
     1003            Log(("vdiReadInBlock: rc=%Rrc filename=\"%s\" uBlock=%u offRead=%u cbToRead=%u u64Offset=%llu\n",
    10041004                 rc, pImage->szFilename, uBlock, offRead, cbToRead, u64Offset));
    10051005        return rc;
     
    11041104    if (RT_FAILURE(rc))
    11051105    {
    1106         Log(("vdiFillBlockByZeroes: seek rc=%Vrc filename=\"%s\" uBlock=%u u64Offset=%llu\n",
     1106        Log(("vdiFillBlockByZeroes: seek rc=%Rrc filename=\"%s\" uBlock=%u u64Offset=%llu\n",
    11071107             rc, pImage->szFilename, uBlock, u64Offset));
    11081108        return rc;
     
    11231123        if (RT_FAILURE(rc))
    11241124        {
    1125             Log(("vdiFillBlockByZeroes: write rc=%Vrc filename=\"%s\" uBlock=%u u64Offset=%llu cbFill=%u to_fill=%u\n",
     1125            Log(("vdiFillBlockByZeroes: write rc=%Rrc filename=\"%s\" uBlock=%u u64Offset=%llu cbFill=%u to_fill=%u\n",
    11261126                 rc, pImage->szFilename, uBlock, u64Offset, cbFill, to_fill));
    11271127            break;
     
    11801180        if (RT_FAILURE(rc))
    11811181        {
    1182             Log(("vdiWriteInBlock: set size rc=%Vrc filename=\"%s\" uBlock=%u u64Size=%llu\n",
     1182            Log(("vdiWriteInBlock: set size rc=%Rrc filename=\"%s\" uBlock=%u u64Size=%llu\n",
    11831183                 rc, pImage->szFilename, uBlock, u64Size));
    11841184            return rc;
     
    12151215        rc = RTFileWrite(pImage->File, pvBuf, cbToWrite, NULL);
    12161216        if (RT_FAILURE(rc))
    1217             Log(("vdiWriteInBlock: write rc=%Vrc filename=\"%s\" uBlock=%u offWrite=%u u64Offset=%llu cbToWrite=%u\n",
     1217            Log(("vdiWriteInBlock: write rc=%Rrc filename=\"%s\" uBlock=%u offWrite=%u u64Offset=%llu cbToWrite=%u\n",
    12181218                 rc, pImage->szFilename, uBlock, offWrite, u64Offset, cbToWrite));
    12191219    }
    12201220    else
    1221         Log(("vdiWriteInBlock: seek rc=%Vrc filename=\"%s\" uBlock=%u offWrite=%u u64Offset=%llu\n",
     1221        Log(("vdiWriteInBlock: seek rc=%Rrc filename=\"%s\" uBlock=%u offWrite=%u u64Offset=%llu\n",
    12221222             rc, pImage->szFilename, uBlock, offWrite, u64Offset));
    12231223
     
    16411641        {
    16421642            rc = rc2;
    1643             Log(("vdiCommitToImage: set size (truncate) rc=%Vrc filename=\"%s\"\n",
     1643            Log(("vdiCommitToImage: set size (truncate) rc=%Rrc filename=\"%s\"\n",
    16441644                 rc, pImage->szFilename));
    16451645        }
     
    16501650        {
    16511651            rc = rc2;
    1652             Log(("vdiCommitToImage: update blocks and header rc=%Vrc filename=\"%s\"\n",
     1652            Log(("vdiCommitToImage: update blocks and header rc=%Rrc filename=\"%s\"\n",
    16531653                 rc, pImage->szFilename));
    16541654        }
     
    16611661    }
    16621662
    1663     Log(("vdiCommitToImage: done, rc=%Vrc\n", rc));
     1663    Log(("vdiCommitToImage: done, rc=%Rrc\n", rc));
    16641664
    16651665    return rc;
     
    17301730    }
    17311731
    1732     LogFlow(("VDICheckImage: returns %Vrc\n", rc));
     1732    LogFlow(("VDICheckImage: returns %Rrc\n", rc));
    17331733    return rc;
    17341734}
     
    17691769    if (RT_FAILURE(rc))
    17701770    {
    1771         Log(("VDISetImageComment: vdiOpenImage rc=%Vrc filename=\"%s\"!\n", rc, pszFilename));
     1771        Log(("VDISetImageComment: vdiOpenImage rc=%Rrc filename=\"%s\"!\n", rc, pszFilename));
    17721772        return rc;
    17731773    }
     
    17851785            /* write out new the header */
    17861786            rc = vdiUpdateHeader(pImage);
    1787             AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Vrc\n",
     1787            AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Rrc\n",
    17881788                             pImage->szFilename, rc));
    17891789        }
     
    18331833    int rc = vdiCreateImage(pszFilename, enmType, VDI_IMAGE_FLAGS_DEFAULT, cbSize, pszComment, NULL,
    18341834                            pfnProgress, pvUser);
    1835     LogFlow(("VDICreateBaseImage: returns %Vrc for filename=\"%s\"\n", rc, pszFilename));
     1835    LogFlow(("VDICreateBaseImage: returns %Rrc for filename=\"%s\"\n", rc, pszFilename));
    18361836    return rc;
    18371837}
     
    18731873        vdiCloseImage(pParent);
    18741874    }
    1875     LogFlow(("VDICreateDifferenceImage: returns %Vrc for filename=\"%s\"\n", rc, pszFilename));
     1875    LogFlow(("VDICreateDifferenceImage: returns %Rrc for filename=\"%s\"\n", rc, pszFilename));
    18761876    return rc;
    18771877}
     
    18981898        rc = RTFileDelete(pszFilename);
    18991899
    1900     LogFlow(("VDIDeleteImage: returns %Vrc for filename=\"%s\"\n", rc, pszFilename));
     1900    LogFlow(("VDIDeleteImage: returns %Rrc for filename=\"%s\"\n", rc, pszFilename));
    19011901    return rc;
    19021902}
     
    19411941    if (RT_FAILURE(rc))
    19421942    {
    1943         Log(("VDICopyImage: src image \"%s\" open failed rc=%Vrc\n", pszSrcFilename, rc));
     1943        Log(("VDICopyImage: src image \"%s\" open failed rc=%Rrc\n", pszSrcFilename, rc));
    19441944        return rc;
    19451945    }
     
    20652065    vdiCloseImage(pImage);
    20662066
    2067     LogFlow(("VDICopyImage: returns %Vrc for pszSrcFilename=\"%s\" pszDstFilename=\"%s\"\n",
     2067    LogFlow(("VDICopyImage: returns %Rrc for pszSrcFilename=\"%s\" pszDstFilename=\"%s\"\n",
    20682068             rc, pszSrcFilename, pszDstFilename));
    20692069    return rc;
     
    20942094    if (RT_FAILURE(rc))
    20952095    {
    2096         Log(("VDIShrinkImage: vdiOpenImage rc=%Vrc filename=\"%s\"\n", rc, pszFilename));
     2096        Log(("VDIShrinkImage: vdiOpenImage rc=%Rrc filename=\"%s\"\n", rc, pszFilename));
    20972097        return rc;
    20982098    }
     
    21162116    if (RT_FAILURE(rc))
    21172117    {
    2118         Log(("VDIShrinkImage: RTFileGetSize rc=%Vrc for file=\"%s\"\n", rc, pszFilename));
     2118        Log(("VDIShrinkImage: RTFileGetSize rc=%Rrc for file=\"%s\"\n", rc, pszFilename));
    21192119        vdiCloseImage(pImage);
    21202120        return rc;
     
    21842184                if (RT_FAILURE(rc))
    21852185                {
    2186                     Log(("VDIShrinkImage: seek rc=%Vrc filename=\"%s\" uBlock=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
     2186                    Log(("VDIShrinkImage: seek rc=%Rrc filename=\"%s\" uBlock=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
    21872187                         rc, pImage->szFilename, uBlock, cBlocks, cBlocksAllocated, cBlocksAllocated2, cbData));
    21882188                    break;
     
    21912191                if (RT_FAILURE(rc))
    21922192                {
    2193                     Log(("VDIShrinkImage: read rc=%Vrc filename=\"%s\" cbBlock=%u uBlock=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
     2193                    Log(("VDIShrinkImage: read rc=%Rrc filename=\"%s\" cbBlock=%u uBlock=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
    21942194                         rc, pImage->szFilename, cbBlock, uBlock, cBlocks, cBlocksAllocated, cBlocksAllocated2, cbData));
    21952195                    break;
     
    22092209                        if (RT_FAILURE(rc))
    22102210                        {
    2211                             Log(("VDIShrinkImage: seek(2) rc=%Vrc filename=\"%s\" uBlockWrite=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
     2211                            Log(("VDIShrinkImage: seek(2) rc=%Rrc filename=\"%s\" uBlockWrite=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
    22122212                                 rc, pImage->szFilename, uBlockWrite, cBlocks, cBlocksAllocated, cBlocksAllocated2, cbData));
    22132213                            break;
     
    22162216                        if (RT_FAILURE(rc))
    22172217                        {
    2218                             Log(("VDIShrinkImage: write rc=%Vrc filename=\"%s\" cbBlock=%u uBlockWrite=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
     2218                            Log(("VDIShrinkImage: write rc=%Rrc filename=\"%s\" cbBlock=%u uBlockWrite=%u cBlocks=%u cBlocksAllocated=%u cBlocksAllocated2=%u cbData=%llu\n",
    22192219                                 rc, pImage->szFilename, cbBlock, uBlockWrite, cBlocks, cBlocksAllocated, cBlocksAllocated2, cbData));
    22202220                            break;
     
    22572257                               pImage->offStartData + ((uint64_t)uBlockWrite << pImage->uShiftIndex2Offset));
    22582258            if (RT_FAILURE(rc))
    2259                 Log(("VDIShrinkImage: RTFileSetSize rc=%Vrc\n", rc));
     2259                Log(("VDIShrinkImage: RTFileSetSize rc=%Rrc\n", rc));
    22602260        }
    22612261        cBlocksAllocated2 = uBlockWrite;
     
    22832283    vdiCloseImage(pImage);
    22842284
    2285     LogFlow(("VDIShrinkImage: returns %Vrc for filename=\"%s\"\n", rc, pszFilename));
     2285    LogFlow(("VDIShrinkImage: returns %Rrc for filename=\"%s\"\n", rc, pszFilename));
    22862286    return rc;
    22872287}
     
    23122312    if (RT_FAILURE(rc))
    23132313    {
    2314         Log(("VDIConvertImage: vdiOpenImage rc=%Vrc filename=\"%s\"\n", rc, pszFilename));
     2314        Log(("VDIConvertImage: vdiOpenImage rc=%Rrc filename=\"%s\"\n", rc, pszFilename));
    23152315        return rc;
    23162316    }
     
    24862486    vdiCloseImage(pImage);
    24872487
    2488     LogFlow(("VDIConvertImage: returns %Vrc for filename=\"%s\"\n", rc, pszFilename));
     2488    LogFlow(("VDIConvertImage: returns %Rrc for filename=\"%s\"\n", rc, pszFilename));
    24892489    return rc;
    24902490}
     
    25212521    if (RT_FAILURE(rc))
    25222522    {
    2523         Log(("VDIGetImageUUIDs: vdiOpenImage rc=%Vrc filename=\"%s\"\n", rc, pszFilename));
     2523        Log(("VDIGetImageUUIDs: vdiOpenImage rc=%Rrc filename=\"%s\"\n", rc, pszFilename));
    25242524        return rc;
    25252525    }
     
    25972597    if (RT_FAILURE(rc))
    25982598    {
    2599         Log(("VDISetImageUUIDs: vdiOpenImage rc=%Vrc filename=\"%s\"\n", rc, pszFilename));
     2599        Log(("VDISetImageUUIDs: vdiOpenImage rc=%Rrc filename=\"%s\"\n", rc, pszFilename));
    26002600        return rc;
    26012601    }
     
    26182618            /* write out new header */
    26192619            rc = vdiUpdateHeader(pImage);
    2620             AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Vrc\n",
     2620            AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Rrc\n",
    26212621                             pImage->szFilename, rc));
    26222622        }
     
    26342634            /* write out new header */
    26352635            rc = vdiUpdateHeader(pImage);
    2636             AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Vrc\n",
     2636            AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Rrc\n",
    26372637                             pImage->szFilename, rc));
    26382638        }
     
    26812681    if (RT_FAILURE(rc))
    26822682    {
    2683         Log(("VDIMergeImage: vdiOpenImage rc=%Vrc pstFilenameFrom=\"%s\"\n", rc, pszFilenameFrom));
     2683        Log(("VDIMergeImage: vdiOpenImage rc=%Rrc pstFilenameFrom=\"%s\"\n", rc, pszFilenameFrom));
    26842684        return rc;
    26852685    }
     
    26892689    if (RT_FAILURE(rc))
    26902690    {
    2691         Log(("VDIMergeImage: vdiOpenImage rc=%Vrc pszFilenameTo=\"%s\"\n", rc, pszFilenameTo));
     2691        Log(("VDIMergeImage: vdiOpenImage rc=%Rrc pszFilenameTo=\"%s\"\n", rc, pszFilenameTo));
    26922692        vdiCloseImage(pImageFrom);
    26932693        return rc;
     
    27502750    vdiCloseImage(pImageTo);
    27512751
    2752     Log(("VDIMergeImage: done, returning with rc = %Vrc\n", rc));
     2752    Log(("VDIMergeImage: done, returning with rc = %Rrc\n", rc));
    27532753    return rc;
    27542754}
     
    29692969            rc = VERR_VDI_GEOMETRY_NOT_SET;
    29702970
    2971         LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     2971        LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    29722972        return rc;
    29732973    }
     
    30083008            rc = vdiUpdateReadOnlyHeader(pDisk->pBase);
    30093009        }
    3010         LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     3010        LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    30113011        return rc;
    30123012    }
     
    33723372#endif
    33733373
    3374     Log(("vdiChangeImageMode: Image \"%s\" mode change failed with rc=%Vrc, mode is %s\n",
     3374    Log(("vdiChangeImageMode: Image \"%s\" mode change failed with rc=%Rrc, mode is %s\n",
    33753375         pImage->szFilename, rc, (pImage->fReadOnly) ? "read-only" : "read/write"));
    33763376
     
    34663466    }
    34673467
    3468     LogFlow(("VDIDiskOpenImage: returns %Vrc\n", rc));
     3468    LogFlow(("VDIDiskOpenImage: returns %Rrc\n", rc));
    34693469    return rc;
    34703470}
     
    35853585        if (RT_FAILURE(rc))
    35863586        {
    3587             Log(("VDIDiskCommitLastDiff: can't switch previous image into r/w mode, rc=%Vrc\n", rc));
     3587            Log(("VDIDiskCommitLastDiff: can't switch previous image into r/w mode, rc=%Rrc\n", rc));
    35883588            return rc;
    35893589        }
     
    36013601        /* Failed! Close all images, can't work with VHDD at all. */
    36023602        VDIDiskCloseAllImages(pDisk);
    3603         AssertMsgFailed(("Fatal: commit failed, rc=%Vrc\n", rc));
     3603        AssertMsgFailed(("Fatal: commit failed, rc=%Rrc\n", rc));
    36043604    }
    36053605
     
    36513651            VDIDeleteImage(pszFilename);
    36523652    }
    3653     LogFlow(("VDIDiskCreateOpenDifferenceImage: returns %Vrc, filename=\"%s\"\n", rc, pszFilename));
     3653    LogFlow(("VDIDiskCreateOpenDifferenceImage: returns %Rrc, filename=\"%s\"\n", rc, pszFilename));
    36543654    return rc;
    36553655}
  • trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp

    r11266 r11284  
    648648            break;
    649649    }
    650     AssertMsgRC(rc, ("vdiUpdateHeader failed, filename=\"%s\" rc=%Vrc\n", pImage->pszFilename, rc));
     650    AssertMsgRC(rc, ("vdiUpdateHeader failed, filename=\"%s\" rc=%Rrc\n", pImage->pszFilename, rc));
    651651    return rc;
    652652}
     
    667667                           sizeof(VDIIMAGEBLOCKPOINTER),
    668668                           NULL);
    669         AssertMsgRC(rc, ("vdiUpdateBlockInfo failed to update block=%u, filename=\"%s\", rc=%Vrc\n",
     669        AssertMsgRC(rc, ("vdiUpdateBlockInfo failed to update block=%u, filename=\"%s\", rc=%Rrc\n",
    670670                         uBlock, pImage->pszFilename, rc));
    671671    }
     
    682682        /* Save header. */
    683683        int rc = vdiUpdateHeader(pImage);
    684         AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Vrc\n",
     684        AssertMsgRC(rc, ("vdiUpdateHeader() failed, filename=\"%s\", rc=%Rrc\n",
    685685                         pImage->pszFilename, rc));
    686686        RTFileFlush(pImage->File);
     
    742742
    743743out:
    744     LogFlowFunc(("returns %Vrc\n", rc));
     744    LogFlowFunc(("returns %Rrc\n", rc));
    745745    return rc;
    746746}
     
    791791
    792792out:
    793     LogFlowFunc(("returns %Vrc (pBackendData=%#p)\n", rc, *ppBackendData));
     793    LogFlowFunc(("returns %Rrc (pBackendData=%#p)\n", rc, *ppBackendData));
    794794    return rc;
    795795}
     
    860860
    861861out:
    862     LogFlowFunc(("returns %Vrc (pBackendData=%#p)\n", rc, *ppBackendData));
     862    LogFlowFunc(("returns %Rrc (pBackendData=%#p)\n", rc, *ppBackendData));
    863863    return rc;
    864864}
     
    905905
    906906out:
    907     LogFlowFunc(("returns %Vrc\n", rc));
     907    LogFlowFunc(("returns %Rrc\n", rc));
    908908    return rc;
    909909}
     
    921921        vdiFreeImage(pImage, fDelete);
    922922
    923     LogFlowFunc(("returns %Vrc\n", rc));
     923    LogFlowFunc(("returns %Rrc\n", rc));
    924924    return rc;
    925925}
     
    974974
    975975out:
    976     LogFlowFunc(("returns %Vrc\n", rc));
     976    LogFlowFunc(("returns %Rrc\n", rc));
    977977    return rc;
    978978}
     
    10781078
    10791079out:
    1080     LogFlowFunc(("returns %Vrc\n", rc));
     1080    LogFlowFunc(("returns %Rrc\n", rc));
    10811081    return rc;
    10821082}
     
    10921092
    10931093    vdiFlushImage(pImage);
    1094     LogFlowFunc(("returns %Vrc\n", rc));
     1094    LogFlowFunc(("returns %Rrc\n", rc));
    10951095    return rc;
    10961096}
     
    11311131        rc = VERR_VDI_NOT_OPENED;
    11321132
    1133     LogFlowFunc(("returns %Vrc enmImageType=%u\n", rc, *penmImageType));
     1133    LogFlowFunc(("returns %Rrc enmImageType=%u\n", rc, *penmImageType));
    11341134    return rc;
    11351135}
     
    12001200        rc = VERR_VDI_NOT_OPENED;
    12011201
    1202     LogFlowFunc(("returns %Vrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
     1202    LogFlowFunc(("returns %Rrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
    12031203    return rc;
    12041204}
     
    12291229
    12301230out:
    1231     LogFlowFunc(("returns %Vrc\n", rc));
     1231    LogFlowFunc(("returns %Rrc\n", rc));
    12321232    return rc;
    12331233}
     
    12651265        rc = VERR_VDI_NOT_OPENED;
    12661266
    1267     LogFlowFunc(("returns %Vrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
     1267    LogFlowFunc(("returns %Rrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
    12681268    return rc;
    12691269}
     
    13051305
    13061306out:
    1307     LogFlowFunc(("returns %Vrc\n", rc));
     1307    LogFlowFunc(("returns %Rrc\n", rc));
    13081308    return rc;
    13091309}
     
    13671367
    13681368out:
    1369     LogFlowFunc(("returns %Vrc\n", rc));
     1369    LogFlowFunc(("returns %Rrc\n", rc));
    13701370    return rc;
    13711371}
     
    13961396        rc = VERR_VDI_NOT_OPENED;
    13971397
    1398     LogFlowFunc(("returns %Vrc comment=\"%s\"\n", rc, pszComment));
     1398    LogFlowFunc(("returns %Rrc comment=\"%s\"\n", rc, pszComment));
    13991399    return rc;
    14001400}
     
    14441444
    14451445out:
    1446     LogFlowFunc(("returns %Vrc\n", rc));
     1446    LogFlowFunc(("returns %Rrc\n", rc));
    14471447    return rc;
    14481448}
     
    14651465        rc = VERR_VDI_NOT_OPENED;
    14661466
    1467     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     1467    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    14681468    return rc;
    14691469}
     
    14991499        rc = VERR_VDI_NOT_OPENED;
    15001500
    1501     LogFlowFunc(("returns %Vrc\n", rc));
     1501    LogFlowFunc(("returns %Rrc\n", rc));
    15021502    return rc;
    15031503}
     
    15201520        rc = VERR_VDI_NOT_OPENED;
    15211521
    1522     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     1522    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    15231523    return rc;
    15241524}
     
    15541554        rc = VERR_VDI_NOT_OPENED;
    15551555
    1556     LogFlowFunc(("returns %Vrc\n", rc));
     1556    LogFlowFunc(("returns %Rrc\n", rc));
    15571557    return rc;
    15581558}
     
    15751575        rc = VERR_VDI_NOT_OPENED;
    15761576
    1577     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     1577    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    15781578    return rc;
    15791579}
     
    16091609        rc = VERR_VDI_NOT_OPENED;
    16101610
    1611     LogFlowFunc(("returns %Vrc\n", rc));
     1611    LogFlowFunc(("returns %Rrc\n", rc));
    16121612    return rc;
    16131613}
     
    16301630        rc = VERR_VDI_NOT_OPENED;
    16311631
    1632     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     1632    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    16331633    return rc;
    16341634}
     
    16611661        rc = VERR_VDI_NOT_OPENED;
    16621662
    1663     LogFlowFunc(("returns %Vrc\n", rc));
     1663    LogFlowFunc(("returns %Rrc\n", rc));
    16641664    return rc;
    16651665}
     
    17301730{
    17311731    int rc = VERR_NOT_IMPLEMENTED;
    1732     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1732    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    17331733    return rc;
    17341734}
     
    17371737{
    17381738    int rc = VERR_NOT_IMPLEMENTED;
    1739     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1739    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    17401740    return rc;
    17411741}
     
    17441744{
    17451745    int rc = VERR_NOT_IMPLEMENTED;
    1746     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1746    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    17471747    return rc;
    17481748}
     
    17511751{
    17521752    int rc = VERR_NOT_IMPLEMENTED;
    1753     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1753    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    17541754    return rc;
    17551755}
     
    17581758{
    17591759    int rc = VERR_NOT_IMPLEMENTED;
    1760     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     1760    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    17611761    return rc;
    17621762}
     
    17711771{
    17721772    int rc = VERR_NOT_IMPLEMENTED;
    1773     LogFlowFunc(("returns %Vrc\n", rc));
     1773    LogFlowFunc(("returns %Rrc\n", rc));
    17741774    return rc;
    17751775}
     
    17791779{
    17801780    int rc = VERR_NOT_IMPLEMENTED;
    1781     LogFlowFunc(("returns %Vrc\n", rc));
     1781    LogFlowFunc(("returns %Rrc\n", rc));
    17821782    return rc;
    17831783}
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r11266 r11284  
    36763676
    36773677out:
    3678     LogFlowFunc(("returns %Vrc\n", rc));
     3678    LogFlowFunc(("returns %Rrc\n", rc));
    36793679    return rc;
    36803680}
     
    37373737
    37383738out:
    3739     LogFlowFunc(("returns %Vrc (pBackendData=%#p)\n", rc, *ppBackendData));
     3739    LogFlowFunc(("returns %Rrc (pBackendData=%#p)\n", rc, *ppBackendData));
    37403740    return rc;
    37413741}
     
    38243824
    38253825out:
    3826     LogFlowFunc(("returns %Vrc (pBackendData=%#p)\n", rc, *ppBackendData));
     3826    LogFlowFunc(("returns %Rrc (pBackendData=%#p)\n", rc, *ppBackendData));
    38273827    return rc;
    38283828}
     
    40554055    if (apszNewLines)
    40564056        RTMemTmpFree(apszNewLines);
    4057     LogFlowFunc(("returns %Vrc\n", rc));
     4057    LogFlowFunc(("returns %Rrc\n", rc));
    40584058    return rc;
    40594059}
     
    40714071        vmdkFreeImage(pImage, fDelete);
    40724072
    4073     LogFlowFunc(("returns %Vrc\n", rc));
     4073    LogFlowFunc(("returns %Rrc\n", rc));
    40744074    return rc;
    40754075}
     
    41454145
    41464146out:
    4147     LogFlowFunc(("returns %Vrc\n", rc));
     4147    LogFlowFunc(("returns %Rrc\n", rc));
    41484148    return rc;
    41494149}
     
    42564256
    42574257out:
    4258     LogFlowFunc(("returns %Vrc\n", rc));
     4258    LogFlowFunc(("returns %Rrc\n", rc));
    42594259    return rc;
    42604260}
     
    42704270
    42714271    rc = vmdkFlushImage(pImage);
    4272     LogFlowFunc(("returns %Vrc\n", rc));
     4272    LogFlowFunc(("returns %Rrc\n", rc));
    42734273    return rc;
    42744274}
     
    43034303        rc = VERR_VDI_NOT_OPENED;
    43044304
    4305     LogFlowFunc(("returns %Vrc enmImageType=%u\n", rc, *penmImageType));
     4305    LogFlowFunc(("returns %Rrc enmImageType=%u\n", rc, *penmImageType));
    43064306    return rc;
    43074307}
     
    43744374        rc = VERR_VDI_NOT_OPENED;
    43754375
    4376     LogFlowFunc(("returns %Vrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
     4376    LogFlowFunc(("returns %Rrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
    43774377    return rc;
    43784378}
     
    44064406
    44074407out:
    4408     LogFlowFunc(("returns %Vrc\n", rc));
     4408    LogFlowFunc(("returns %Rrc\n", rc));
    44094409    return rc;
    44104410}
     
    44334433        rc = VERR_VDI_NOT_OPENED;
    44344434
    4435     LogFlowFunc(("returns %Vrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
     4435    LogFlowFunc(("returns %Rrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
    44364436    return rc;
    44374437}
     
    44654465
    44664466out:
    4467     LogFlowFunc(("returns %Vrc\n", rc));
     4467    LogFlowFunc(("returns %Rrc\n", rc));
    44684468    return rc;
    44694469}
     
    45254525
    45264526out:
    4527     LogFlowFunc(("returns %Vrc\n", rc));
     4527    LogFlowFunc(("returns %Rrc\n", rc));
    45284528    return rc;
    45294529}
     
    45604560
    45614561out:
    4562     LogFlowFunc(("returns %Vrc comment='%s'\n", rc, pszComment));
     4562    LogFlowFunc(("returns %Rrc comment='%s'\n", rc, pszComment));
    45634563    return rc;
    45644564}
     
    45854585
    45864586out:
    4587     LogFlowFunc(("returns %Vrc\n", rc));
     4587    LogFlowFunc(("returns %Rrc\n", rc));
    45884588    return rc;
    45894589}
     
    46064606        rc = VERR_VDI_NOT_OPENED;
    46074607
    4608     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     4608    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    46094609    return rc;
    46104610}
     
    46374637        rc = VERR_VDI_NOT_OPENED;
    46384638
    4639     LogFlowFunc(("returns %Vrc\n", rc));
     4639    LogFlowFunc(("returns %Rrc\n", rc));
    46404640    return rc;
    46414641}
     
    46584658        rc = VERR_VDI_NOT_OPENED;
    46594659
    4660     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     4660    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    46614661    return rc;
    46624662}
     
    46884688        rc = VERR_VDI_NOT_OPENED;
    46894689
    4690     LogFlowFunc(("returns %Vrc\n", rc));
     4690    LogFlowFunc(("returns %Rrc\n", rc));
    46914691    return rc;
    46924692}
     
    47094709        rc = VERR_VDI_NOT_OPENED;
    47104710
    4711     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     4711    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    47124712    return rc;
    47134713}
     
    47394739        rc = VERR_VDI_NOT_OPENED;
    47404740
    4741     LogFlowFunc(("returns %Vrc\n", rc));
     4741    LogFlowFunc(("returns %Rrc\n", rc));
    47424742    return rc;
    47434743}
     
    47604760        rc = VERR_VDI_NOT_OPENED;
    47614761
    4762     LogFlowFunc(("returns %Vrc (%Vuuid)\n", rc, pUuid));
     4762    LogFlowFunc(("returns %Rrc (%Vuuid)\n", rc, pUuid));
    47634763    return rc;
    47644764}
     
    47904790        rc = VERR_VDI_NOT_OPENED;
    47914791
    4792     LogFlowFunc(("returns %Vrc\n", rc));
     4792    LogFlowFunc(("returns %Rrc\n", rc));
    47934793    return rc;
    47944794}
     
    48174817{
    48184818    int rc = VERR_NOT_IMPLEMENTED;
    4819     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4819    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    48204820    return rc;
    48214821}
     
    48244824{
    48254825    int rc = VERR_NOT_IMPLEMENTED;
    4826     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4826    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    48274827    return rc;
    48284828}
     
    48314831{
    48324832    int rc = VERR_NOT_IMPLEMENTED;
    4833     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4833    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    48344834    return rc;
    48354835}
     
    48384838{
    48394839    int rc = VERR_NOT_IMPLEMENTED;
    4840     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4840    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    48414841    return rc;
    48424842}
     
    48454845{
    48464846    int rc = VERR_NOT_IMPLEMENTED;
    4847     LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4847    LogFlow(("%s: returned %Rrc\n", __FUNCTION__, rc));
    48484848    return rc;
    48494849}
     
    49284928                if (RT_FAILURE(rc))
    49294929                {
    4930                     AssertMsgFailed(("Preparing read failed rc=%Vrc\n", rc));
     4930                    AssertMsgFailed(("Preparing read failed rc=%Rrc\n", rc));
    49314931                    goto out;
    49324932                }
     
    50005000                                                                NULL, pvUser,
    50015001                                                                NULL /* Nothing required after read. */);
    5002         AssertMsg(RT_SUCCESS(rc), ("Failed to enqueue tasks rc=%Vrc\n", rc));
     5002        AssertMsg(RT_SUCCESS(rc), ("Failed to enqueue tasks rc=%Rrc\n", rc));
    50035003    }
    50045004
    50055005out:
    5006     LogFlowFunc(("returns %Vrc\n", rc));
     5006    LogFlowFunc(("returns %Rrc\n", rc));
    50075007    return rc;
    50085008}
     
    50645064                if (RT_FAILURE(rc))
    50655065                {
    5066                     AssertMsgFailed(("Preparing read failed rc=%Vrc\n", rc));
     5066                    AssertMsgFailed(("Preparing read failed rc=%Rrc\n", rc));
    50675067                    goto out;
    50685068                }
     
    51365136                                                                NULL, pvUser,
    51375137                                                                NULL /* Nothing required after read. */);
    5138         AssertMsg(RT_SUCCESS(rc), ("Failed to enqueue tasks rc=%Vrc\n", rc));
     5138        AssertMsg(RT_SUCCESS(rc), ("Failed to enqueue tasks rc=%Rrc\n", rc));
    51395139    }
    51405140
    51415141out:
    5142     LogFlowFunc(("returns %Vrc\n", rc));
     5142    LogFlowFunc(("returns %Rrc\n", rc));
    51435143    return rc;
    51445144
  • trunk/src/VBox/Devices/Storage/fdc.c

    r11267 r11284  
    12311231            if (RT_FAILURE (rc)) {
    12321232                AssertMsgFailed (
    1233                     ("Floppy: error getting sector %d, rc = %Vrc",
     1233                    ("Floppy: error getting sector %d, rc = %Rrc",
    12341234                     fd_sector (cur_drv), rc));
    12351235                memset(fdctrl->fifo, 0, FD_SECTOR_LEN);
     
    12481248                                                 len, &read);
    12491249                dump (fdctrl->fifo + rel_pos, len);
    1250                 AssertMsgRC (rc, ("DMAWriteMemory -> %Vrc\n", rc));
     1250                AssertMsgRC (rc, ("DMAWriteMemory -> %Rrc\n", rc));
    12511251            }
    12521252#else
     
    12661266                                                fdctrl->data_pos,
    12671267                                                len, &written);
    1268                 AssertMsgRC (rc, ("DMAReadMemory -> %Vrc\n", rc));
     1268                AssertMsgRC (rc, ("DMAReadMemory -> %Rrc\n", rc));
    12691269            }
    12701270#else
     
    12951295
    12961296            if (RT_FAILURE (rc)) {
    1297                 AssertMsgFailed (("Floppy: error writing sector %d. rc=%Vrc",
     1297                AssertMsgFailed (("Floppy: error writing sector %d. rc=%Rrc",
    12981298                                  fd_sector (cur_drv), rc));
    12991299                fdctrl_stop_transfer (fdctrl, 0x60, 0x00, 0x00);
     
    13131313                rc = PDMDevHlpDMAReadMemory (fdctrl->pDevIns, nchan, tmpbuf,
    13141314                                             fdctrl->data_pos, len, &read);
    1315                 AssertMsg (RT_SUCCESS (rc), ("DMAReadMemory -> %Vrc\n", rc));
     1315                AssertMsg (RT_SUCCESS (rc), ("DMAReadMemory -> %Rrc\n", rc));
    13161316#else
    13171317                DMA_read_memory (nchan, tmpbuf, fdctrl->data_pos, len);
     
    14531453            if (RT_FAILURE (rc)) {
    14541454                AssertMsgFailed (
    1455                     ("Floppy: error getting sector %d. rc=%Vrc\n",
     1455                    ("Floppy: error getting sector %d. rc=%Rrc\n",
    14561456                     fd_sector(cur_drv), rc));
    14571457                /* Sure, image size is too small... */
     
    14951495                if (RT_FAILURE (rc)) {
    14961496                    AssertMsgFailed (
    1497                         ("Floppy: error writting sector %d. rc=%Vrc\n",
     1497                        ("Floppy: error writting sector %d. rc=%Rrc\n",
    14981498                         fd_sector(cur_drv), rc));
    14991499                    fdctrl_stop_transfer(fdctrl, 0x60, 0x00, 0x00);
     
    16301630            if (RT_FAILURE (rc)) {
    16311631                AssertMsgFailed (
    1632                     ("Floppy: Failure to read sector %d. rc=%Vrc",
     1632                    ("Floppy: Failure to read sector %d. rc=%Rrc",
    16331633                     fd_sector (cur_drv), rc));
    16341634            }
     
    17201720
    17211721        if (RT_FAILURE (rc)) {
    1722             AssertMsgFailed (("Floppy: error formating sector %d. rc=%Vrc\n",
     1722            AssertMsgFailed (("Floppy: error formating sector %d. rc=%Rrc\n",
    17231723                              fd_sector (cur_drv), rc));
    17241724            fdctrl_stop_transfer(fdctrl, 0x60, 0x00, 0x00);
     
    17891789            if (RT_FAILURE (rc)) {
    17901790                AssertMsgFailed (
    1791                     ("Floppy: failed to write sector %d. rc=%Vrc\n",
     1791                    ("Floppy: failed to write sector %d. rc=%Rrc\n",
    17921792                     fd_sector (cur_drv), rc));
    17931793            }
     
    26212621    } else {
    26222622        AssertMsg (rc == VERR_PDM_NO_ATTACHED_DRIVER,
    2623                    ("Failed to attach LUN#%d. rc=%Vrc\n", drv->iLUN, rc));
     2623                   ("Failed to attach LUN#%d. rc=%Rrc\n", drv->iLUN, rc));
    26242624        switch (rc) {
    26252625        case VERR_ACCESS_DENIED:
     
    26422642        drv->pDrvMount = NULL;
    26432643    }
    2644     LogFlow (("fdConfig: returns %Vrc\n", rc));
     2644    LogFlow (("fdConfig: returns %Rrc\n", rc));
    26452645    return rc;
    26462646}
     
    26862686    rc = fdConfig (drv, pDevIns);
    26872687    AssertMsg (rc != VERR_PDM_NO_ATTACHED_DRIVER,
    2688                ("Configuration error: failed to configure drive %d, rc=%Vrc\n", rc));
     2688               ("Configuration error: failed to configure drive %d, rc=%Rrc\n", rc));
    26892689    if (RT_SUCCESS(rc)) {
    26902690        fd_revalidate (drv);
    26912691    }
    26922692
    2693     LogFlow (("floppyAttach: returns %Vrc\n", rc));
     2693    LogFlow (("floppyAttach: returns %Rrc\n", rc));
    26942694    return rc;
    26952695}
     
    27922792        irq_lvl = 6;
    27932793    else if (RT_FAILURE (rc)) {
    2794         AssertMsgFailed (("Configuration error: Failed to read U8 IRQ, rc=%Vrc\n", rc));
     2794        AssertMsgFailed (("Configuration error: Failed to read U8 IRQ, rc=%Rrc\n", rc));
    27952795        return rc;
    27962796    }
     
    28002800        dma_chann = 2;
    28012801    else if (RT_FAILURE (rc)) {
    2802         AssertMsgFailed (("Configuration error: Failed to read U8 DMA, rc=%Vrc\n", rc));
     2802        AssertMsgFailed (("Configuration error: Failed to read U8 DMA, rc=%Rrc\n", rc));
    28032803        return rc;
    28042804    }
     
    28082808        io_base = 0x3f0;
    28092809    else if (RT_FAILURE (rc)) {
    2810         AssertMsgFailed (("Configuration error: Failed to read U16 IOBase, rc=%Vrc\n", rc));
     2810        AssertMsgFailed (("Configuration error: Failed to read U16 IOBase, rc=%Rrc\n", rc));
    28112811        return rc;
    28122812    }
     
    28162816        mem_mapped = false;
    28172817    else if (RT_FAILURE (rc)) {
    2818         AssertMsgFailed (("Configuration error: Failed to read bool value MemMapped rc=%Vrc\n", rc));
     2818        AssertMsgFailed (("Configuration error: Failed to read bool value MemMapped rc=%Rrc\n", rc));
    28192819        return rc;
    28202820    }
     
    29032903            pBase->pfnQueryInterface (pBase, PDMINTERFACE_LED_CONNECTORS);
    29042904    } else if (rc != VERR_PDM_NO_ATTACHED_DRIVER) {
    2905         AssertMsgFailed (("Failed to attach to status driver. rc=%Vrc\n",
     2905        AssertMsgFailed (("Failed to attach to status driver. rc=%Rrc\n",
    29062906                          rc));
    29072907        return rc;
     
    29162916        if (    RT_FAILURE (rc)
    29172917            &&  rc != VERR_PDM_NO_ATTACHED_DRIVER) {
    2918             AssertMsgFailed (("Configuration error: failed to configure drive %d, rc=%Vrc\n", rc));
     2918            AssertMsgFailed (("Configuration error: failed to configure drive %d, rc=%Rrc\n", rc));
    29192919            return rc;
    29202920        }
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