Changeset 74952 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Oct 19, 2018 4:58:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumIOImpl.cpp
r74944 r74952 417 417 VDINTERFACEPROGRESS IfsProgress; 418 418 PVDINTERFACE pIfsOp = NULL; 419 PVDINTERFACE pIfsImg = NULL; 419 420 PVDISK pDstDisk; 420 421 … … 442 443 IfsOutputIO.pfnFlushSync = i_vdStreamFlush; 443 444 VDInterfaceAdd(&IfsOutputIO.Core, "stream", VDINTERFACETYPE_IO, 444 m_pDataStream, sizeof(VDINTERFACEIO), &pIfs Op);445 m_pDataStream, sizeof(VDINTERFACEIO), &pIfsImg); 445 446 446 447 int vrc = VDCreate(NULL, VDTYPE_HDD, &pDstDisk); … … 450 451 vrc = VDCopy(mMediumIO->m->pHdd, VD_LAST_IMAGE, pDstDisk, m_strFormat.c_str(), 451 452 "stream", false, 0, m_fMediumVariant, NULL, 452 VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_SEQUENTIAL, NULL,453 pIfs Op, NULL);453 VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_SEQUENTIAL, pIfsOp, 454 pIfsImg, NULL); 454 455 if (RT_FAILURE(vrc)) 455 456 hrc = mMediumIO->setErrorBoth(VBOX_E_FILE_ERROR, vrc,
Note:
See TracChangeset
for help on using the changeset viewer.