Changeset 45486 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Apr 11, 2013 2:52:10 PM (12 years ago)
- Location:
- trunk/src/VBox/Storage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/ISCSI.cpp
r44528 r45486 4428 4428 ASMBitClear(&aCachingModePage[Offset + 2], 0); 4429 4429 4430 uint8_t aCDBCaching[6];4431 4430 sr.abCDB[0] = SCSI_MODE_SELECT_6; 4432 4431 sr.abCDB[1] = 0; /* Don't write the page into NV RAM. */ -
trunk/src/VBox/Storage/VCICache.cpp
r44528 r45486 1667 1667 *pcbActuallyRead = VCI_BLOCK2BYTE(cBlocksToRead); 1668 1668 1669 out:1670 1669 LogFlowFunc(("returns %Rrc\n", rc)); 1671 1670 return rc; … … 1682 1681 uint64_t cBlocksToWrite = VCI_BYTE2BLOCK(cbToWrite); 1683 1682 uint64_t offBlockAddr = VCI_BYTE2BLOCK(uOffset); 1684 PVCICACHEEXTENT pExtent;1685 1683 1686 1684 AssertPtr(pCache); … … 1694 1692 1695 1693 *pcbWriteProcess = cbToWrite; /** @todo: Implement. */ 1696 out: 1694 1697 1695 LogFlowFunc(("returns %Rrc\n", rc)); 1698 1696 return rc; … … 1865 1863 rc = VERR_VD_NOT_OPENED; 1866 1864 1867 out:1868 1865 LogFlowFunc(("returns %Rrc\n", rc)); 1869 1866 return rc; -
trunk/src/VBox/Storage/VDI.cpp
r45069 r45486 1129 1129 { 1130 1130 int rc2; 1131 uint64_t cbImage;1132 1131 1133 1132 /* Block write complete. Update metadata. */ -
trunk/src/VBox/Storage/VHDX.cpp
r44529 r45486 1064 1064 u32ChkSumSaved = pHdr1->u32Checksum; 1065 1065 pHdr1->u32Checksum = 0; 1066 //u32ChkSum = RTCrc32C(pHdr1, sizeof(*pHdr1));1066 //u32ChkSum = RTCrc32C(pHdr1, RT_OFFSETOF(VhdxHeader, u8Reserved[502])); 1067 1067 1068 1068 if ( pHdr1->u32Signature == VHDX_HEADER_SIGNATURE … … 1081 1081 u32ChkSumSaved = pHdr2->u32Checksum; 1082 1082 pHdr2->u32Checksum = 0; 1083 //u32ChkSum = RTCrc32C(pHdr2, sizeof(*pHdr2));1083 //u32ChkSum = RTCrc32C(pHdr2, RT_OFFSETOF(VhdxHeader, u8Reserved[502])); 1084 1084 1085 1085 if ( pHdr2->u32Signature == VHDX_HEADER_SIGNATURE … … 2064 2064 rc = VERR_VD_NOT_OPENED; 2065 2065 2066 out:2067 2066 LogFlowFunc(("returns %Rrc\n", rc)); 2068 2067 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.