Changeset 28620 in vbox for trunk/src/VBox/Devices/Storage/RawHDDCore.cpp
- Timestamp:
- Apr 22, 2010 10:43:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/RawHDDCore.cpp
r28154 r28620 58 58 /** Pointer to the per-disk VD interface list. */ 59 59 PVDINTERFACE pVDIfsDisk; 60 /** Pointer to the per-image VD interface list. */ 61 PVDINTERFACE pVDIfsImage; 60 62 61 63 /** Error callback. */ … … 269 271 #ifdef VBOX_WITH_NEW_IO_CODE 270 272 /* Try to get I/O interface. */ 271 pImage->pInterfaceIO = VDInterfaceGet(pImage->pVDIfs Disk, VDINTERFACETYPE_IO);273 pImage->pInterfaceIO = VDInterfaceGet(pImage->pVDIfsImage, VDINTERFACETYPE_IO); 272 274 AssertPtr(pImage->pInterfaceIO); 273 275 pImage->pInterfaceIOCallbacks = VDGetInterfaceIO(pImage->pInterfaceIO); … … 335 337 #ifdef VBOX_WITH_NEW_IO_CODE 336 338 /* Try to get async I/O interface. */ 337 pImage->pInterfaceIO = VDInterfaceGet(pImage->pVDIfs Disk, VDINTERFACETYPE_IO);339 pImage->pInterfaceIO = VDInterfaceGet(pImage->pVDIfsImage, VDINTERFACETYPE_IO); 338 340 AssertPtr(pImage->pInterfaceIO); 339 341 pImage->pInterfaceIOCallbacks = VDGetInterfaceIO(pImage->pInterfaceIO); … … 511 513 #endif 512 514 pImage->pVDIfsDisk = pVDIfsDisk; 515 pImage->pVDIfsImage = pVDIfsImage; 513 516 514 517 rc = rawOpenImage(pImage, uOpenFlags); … … 580 583 #endif 581 584 pImage->pVDIfsDisk = pVDIfsDisk; 585 pImage->pVDIfsImage = pVDIfsImage; 582 586 583 587 rc = rawCreateImage(pImage, cbSize, uImageFlags, pszComment,
Note:
See TracChangeset
for help on using the changeset viewer.