Changeset 11287 in vbox
- Timestamp:
- Aug 8, 2008 10:35:40 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostBase.cpp
r11286 r11287 314 314 *pUuid = pThis->Uuid; 315 315 316 LogFlow(("%s-%d: drvHostBaseGetUuid: returns VINF_SUCCESS *pUuid=% Vuuid\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pUuid));316 LogFlow(("%s-%d: drvHostBaseGetUuid: returns VINF_SUCCESS *pUuid=%RTuuid\n", pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, pUuid)); 317 317 return VINF_SUCCESS; 318 318 } … … 1863 1863 1864 1864 /* log config summary */ 1865 Log(("%s-%d: pszDevice='%s' (%s) cMilliesPoller=%d fReadOnlyConfig=%d fLocked=%d fBIOSVisible=%d Uuid=% Vuuid\n",1865 Log(("%s-%d: pszDevice='%s' (%s) cMilliesPoller=%d fReadOnlyConfig=%d fLocked=%d fBIOSVisible=%d Uuid=%RTuuid\n", 1866 1866 pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, pThis->pszDevice, pThis->pszDeviceOpen, pThis->cMilliesPoller, 1867 1867 pThis->fReadOnlyConfig, pThis->fLocked, pThis->fBiosVisible, &pThis->Uuid)); -
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r11284 r11287 394 394 PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface); 395 395 int rc = VDGetUuid(pThis->pDisk, 0, pUuid); 396 LogFlow(("%s: returns %Rrc ({% Vuuid})\n", __FUNCTION__, rc, pUuid));396 LogFlow(("%s: returns %Rrc ({%RTuuid})\n", __FUNCTION__, rc, pUuid)); 397 397 return rc; 398 398 } -
trunk/src/VBox/Devices/Storage/RawHDDCore.cpp
r11284 r11287 828 828 rc = VERR_VDI_NOT_OPENED; 829 829 830 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));830 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 831 831 return rc; 832 832 } … … 835 835 static int rawSetUuid(void *pBackendData, PCRTUUID pUuid) 836 836 { 837 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));838 PRAWIMAGE pImage = (PRAWIMAGE)pBackendData; 839 int rc; 840 841 LogFlowFunc(("% Vuuid\n", pUuid));837 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 838 PRAWIMAGE pImage = (PRAWIMAGE)pBackendData; 839 int rc; 840 841 LogFlowFunc(("%RTuuid\n", pUuid)); 842 842 Assert(pImage); 843 843 … … 870 870 rc = VERR_VDI_NOT_OPENED; 871 871 872 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));872 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 873 873 return rc; 874 874 } … … 877 877 static int rawSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 878 878 { 879 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));879 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 880 880 PRAWIMAGE pImage = (PRAWIMAGE)pBackendData; 881 881 int rc; … … 911 911 rc = VERR_VDI_NOT_OPENED; 912 912 913 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));913 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 914 914 return rc; 915 915 } … … 918 918 static int rawSetParentUuid(void *pBackendData, PCRTUUID pUuid) 919 919 { 920 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));920 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 921 921 PRAWIMAGE pImage = (PRAWIMAGE)pBackendData; 922 922 int rc; … … 952 952 rc = VERR_VDI_NOT_OPENED; 953 953 954 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));954 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 955 955 return rc; 956 956 } … … 959 959 static int rawSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 960 960 { 961 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));961 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 962 962 PRAWIMAGE pImage = (PRAWIMAGE)pBackendData; 963 963 int rc; -
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r11284 r11287 3140 3140 } while (0); 3141 3141 3142 LogFlowFunc(("returns %Rrc, Uuid={% Vuuid}\n", rc, pUuid));3142 LogFlowFunc(("returns %Rrc, Uuid={%RTuuid}\n", rc, pUuid)); 3143 3143 return rc; 3144 3144 } … … 3157 3157 int rc; 3158 3158 3159 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {% Vuuid}\n",3159 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {%RTuuid}\n", 3160 3160 pDisk, nImage, pUuid, pUuid)); 3161 3161 do … … 3217 3217 } while (0); 3218 3218 3219 LogFlowFunc(("returns %Rrc, Uuid={% Vuuid}\n", rc, pUuid));3219 LogFlowFunc(("returns %Rrc, Uuid={%RTuuid}\n", rc, pUuid)); 3220 3220 return rc; 3221 3221 } … … 3234 3234 int rc; 3235 3235 3236 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {% Vuuid}\n",3236 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {%RTuuid}\n", 3237 3237 pDisk, nImage, pUuid, pUuid)); 3238 3238 do … … 3296 3296 } while (0); 3297 3297 3298 LogFlowFunc(("returns %Rrc, Uuid={% Vuuid}\n", rc, pUuid));3298 LogFlowFunc(("returns %Rrc, Uuid={%RTuuid}\n", rc, pUuid)); 3299 3299 return rc; 3300 3300 } … … 3313 3313 int rc; 3314 3314 3315 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {% Vuuid}\n",3315 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {%RTuuid}\n", 3316 3316 pDisk, nImage, pUuid, pUuid)); 3317 3317 do -
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r11284 r11287 178 178 PVDIDISK pThis = PDMIMEDIA_2_VDIDISK(pInterface); 179 179 int rc = VDIDiskGetImageUuid(pThis, 0, pUuid); 180 LogFlow(("vdiGetUuid: returns %Rrc ({% Vuuid})\n", rc, pUuid));180 LogFlow(("vdiGetUuid: returns %Rrc ({%RTuuid})\n", rc, pUuid)); 181 181 return rc; 182 182 } -
trunk/src/VBox/Devices/Storage/VDICore.cpp
r11284 r11287 1697 1697 if (RT_SUCCESS(rc)) 1698 1698 { 1699 Log(("VDICheckImage: filename=\"%s\" version=%08X type=%X cbDisk=%llu uuid={% Vuuid}\n",1699 Log(("VDICheckImage: filename=\"%s\" version=%08X type=%X cbDisk=%llu uuid={%RTuuid}\n", 1700 1700 pszFilename, 1701 1701 pImage->PreHeader.u32Version, … … 3244 3244 { 3245 3245 *pUuid = *getImageCreationUUID(&pImage->Header); 3246 LogFlow(("VDIDiskGetImageUuid: returns VINF_SUCCESS, uuid={% Vuuid} nImage=%d\n",3246 LogFlow(("VDIDiskGetImageUuid: returns VINF_SUCCESS, uuid={%RTuuid} nImage=%d\n", 3247 3247 pUuid, nImage)); 3248 3248 return VINF_SUCCESS; … … 3275 3275 { 3276 3276 *pUuid = *getImageModificationUUID(&pImage->Header); 3277 LogFlow(("VDIDiskGetImageModificationUuid: returns VINF_SUCCESS, uuid={% Vuuid} nImage=%d\n",3277 LogFlow(("VDIDiskGetImageModificationUuid: returns VINF_SUCCESS, uuid={%RTuuid} nImage=%d\n", 3278 3278 pUuid, nImage)); 3279 3279 return VINF_SUCCESS; … … 3304 3304 { 3305 3305 *pUuid = *getImageParentUUID(&pImage->Header); 3306 LogFlow(("VDIDiskGetParentImageUuid: returns VINF_SUCCESS, *pUuid={% Vuuid} nImage=%d\n",3306 LogFlow(("VDIDiskGetParentImageUuid: returns VINF_SUCCESS, *pUuid={%RTuuid} nImage=%d\n", 3307 3307 pUuid, nImage)); 3308 3308 return VINF_SUCCESS; … … 3684 3684 RTLogPrintf("Header: Geometry: C/H/S=%u/%u/%u cbSector=%u\n", 3685 3685 pg->cCylinders, pg->cHeads, pg->cSectors, pg->cbSector); 3686 RTLogPrintf("Header: uuidCreation={% Vuuid}\n", getImageCreationUUID(&pImage->Header));3687 RTLogPrintf("Header: uuidModification={% Vuuid}\n", getImageModificationUUID(&pImage->Header));3688 RTLogPrintf("Header: uuidParent={% Vuuid}\n", getImageParentUUID(&pImage->Header));3686 RTLogPrintf("Header: uuidCreation={%RTuuid}\n", getImageCreationUUID(&pImage->Header)); 3687 RTLogPrintf("Header: uuidModification={%RTuuid}\n", getImageModificationUUID(&pImage->Header)); 3688 RTLogPrintf("Header: uuidParent={%RTuuid}\n", getImageParentUUID(&pImage->Header)); 3689 3689 if (GET_MAJOR_HEADER_VERSION(&pImage->Header) >= 1) 3690 RTLogPrintf("Header: uuidParentModification={% Vuuid}\n", getImageParentModificationUUID(&pImage->Header));3690 RTLogPrintf("Header: uuidParentModification={%RTuuid}\n", getImageParentModificationUUID(&pImage->Header)); 3691 3691 RTLogPrintf("Image: fFlags=%08X offStartBlocks=%u offStartData=%u\n", 3692 3692 pImage->fFlags, pImage->offStartBlocks, pImage->offStartData); -
trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp
r11284 r11287 1465 1465 rc = VERR_VDI_NOT_OPENED; 1466 1466 1467 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));1467 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 1468 1468 return rc; 1469 1469 } … … 1472 1472 static int vdiSetUuid(void *pBackendData, PCRTUUID pUuid) 1473 1473 { 1474 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));1474 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 1475 1475 PVDIIMAGEDESC pImage = (PVDIIMAGEDESC)pBackendData; 1476 1476 int rc = VINF_SUCCESS; … … 1520 1520 rc = VERR_VDI_NOT_OPENED; 1521 1521 1522 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));1522 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 1523 1523 return rc; 1524 1524 } … … 1527 1527 static int vdiSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 1528 1528 { 1529 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));1529 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 1530 1530 PVDIIMAGEDESC pImage = (PVDIIMAGEDESC)pBackendData; 1531 1531 int rc = VINF_SUCCESS; … … 1575 1575 rc = VERR_VDI_NOT_OPENED; 1576 1576 1577 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));1577 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 1578 1578 return rc; 1579 1579 } … … 1582 1582 static int vdiSetParentUuid(void *pBackendData, PCRTUUID pUuid) 1583 1583 { 1584 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));1584 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 1585 1585 PVDIIMAGEDESC pImage = (PVDIIMAGEDESC)pBackendData; 1586 1586 int rc = VINF_SUCCESS; … … 1630 1630 rc = VERR_VDI_NOT_OPENED; 1631 1631 1632 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));1632 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 1633 1633 return rc; 1634 1634 } … … 1637 1637 static int vdiSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 1638 1638 { 1639 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));1639 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 1640 1640 PVDIIMAGEDESC pImage = (PVDIIMAGEDESC)pBackendData; 1641 1641 int rc = VINF_SUCCESS; … … 1692 1692 RTLogPrintf("Header: Geometry: C/H/S=%u/%u/%u cbSector=%u\n", 1693 1693 pg->cCylinders, pg->cHeads, pg->cSectors, pg->cbSector); 1694 RTLogPrintf("Header: uuidCreation={% Vuuid}\n", getImageCreationUUID(&pImage->Header));1695 RTLogPrintf("Header: uuidModification={% Vuuid}\n", getImageModificationUUID(&pImage->Header));1696 RTLogPrintf("Header: uuidParent={% Vuuid}\n", getImageParentUUID(&pImage->Header));1694 RTLogPrintf("Header: uuidCreation={%RTuuid}\n", getImageCreationUUID(&pImage->Header)); 1695 RTLogPrintf("Header: uuidModification={%RTuuid}\n", getImageModificationUUID(&pImage->Header)); 1696 RTLogPrintf("Header: uuidParent={%RTuuid}\n", getImageParentUUID(&pImage->Header)); 1697 1697 if (GET_MAJOR_HEADER_VERSION(&pImage->Header) >= 1) 1698 RTLogPrintf("Header: uuidParentModification={% Vuuid}\n", getImageParentModificationUUID(&pImage->Header));1698 RTLogPrintf("Header: uuidParentModification={%RTuuid}\n", getImageParentModificationUUID(&pImage->Header)); 1699 1699 RTLogPrintf("Image: fFlags=%08X offStartBlocks=%u offStartData=%u\n", 1700 1700 pImage->uImageFlags, pImage->offStartBlocks, pImage->offStartData); -
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r11284 r11287 1371 1371 char *pszUuid; 1372 1372 1373 int rc = RTStrAPrintf(&pszUuid, "\"% Vuuid\"", pUuid);1373 int rc = RTStrAPrintf(&pszUuid, "\"%RTuuid\"", pUuid); 1374 1374 if (RT_FAILURE(rc)) 1375 1375 return rc; … … 4606 4606 rc = VERR_VDI_NOT_OPENED; 4607 4607 4608 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));4608 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 4609 4609 return rc; 4610 4610 } … … 4613 4613 static int vmdkSetUuid(void *pBackendData, PCRTUUID pUuid) 4614 4614 { 4615 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));4615 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 4616 4616 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData; 4617 4617 int rc; 4618 4618 4619 LogFlowFunc(("% Vuuid\n", pUuid));4619 LogFlowFunc(("%RTuuid\n", pUuid)); 4620 4620 Assert(pImage); 4621 4621 … … 4658 4658 rc = VERR_VDI_NOT_OPENED; 4659 4659 4660 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));4660 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 4661 4661 return rc; 4662 4662 } … … 4665 4665 static int vmdkSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 4666 4666 { 4667 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));4667 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 4668 4668 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData; 4669 4669 int rc; … … 4709 4709 rc = VERR_VDI_NOT_OPENED; 4710 4710 4711 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));4711 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 4712 4712 return rc; 4713 4713 } … … 4716 4716 static int vmdkSetParentUuid(void *pBackendData, PCRTUUID pUuid) 4717 4717 { 4718 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));4718 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 4719 4719 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData; 4720 4720 int rc; … … 4760 4760 rc = VERR_VDI_NOT_OPENED; 4761 4761 4762 LogFlowFunc(("returns %Rrc (% Vuuid)\n", rc, pUuid));4762 LogFlowFunc(("returns %Rrc (%RTuuid)\n", rc, pUuid)); 4763 4763 return rc; 4764 4764 } … … 4767 4767 static int vmdkSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 4768 4768 { 4769 LogFlowFunc(("pBackendData=%#p Uuid=% Vuuid\n", pBackendData, pUuid));4769 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 4770 4770 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData; 4771 4771 int rc; … … 4806 4806 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors, 4807 4807 VMDK_BYTE2SECTOR(pImage->cbSize)); 4808 RTLogPrintf("Header: uuidCreation={% Vuuid}\n", &pImage->ImageUuid);4809 RTLogPrintf("Header: uuidModification={% Vuuid}\n", &pImage->ModificationUuid);4810 RTLogPrintf("Header: uuidParent={% Vuuid}\n", &pImage->ParentUuid);4811 RTLogPrintf("Header: uuidParentModification={% Vuuid}\n", &pImage->ParentModificationUuid);4808 RTLogPrintf("Header: uuidCreation={%RTuuid}\n", &pImage->ImageUuid); 4809 RTLogPrintf("Header: uuidModification={%RTuuid}\n", &pImage->ModificationUuid); 4810 RTLogPrintf("Header: uuidParent={%RTuuid}\n", &pImage->ParentUuid); 4811 RTLogPrintf("Header: uuidParentModification={%RTuuid}\n", &pImage->ParentModificationUuid); 4812 4812 } 4813 4813 }
Note:
See TracChangeset
for help on using the changeset viewer.