VirtualBox

Ignore:
Timestamp:
Dec 12, 2008 1:50:32 PM (16 years ago)
Author:
vboxsync
Message:

Storage: Eradicated the last bits using the old VDI only backend, keeping only the testcases for now (no longer built).

Completely removed old iSCSI driver.

Added intnet option to addiscsidisk and adjusted documentation.

Made backend name comparisons case-insensitive.

Detect VMDK files not according to VMDK 1.0 and reject with clear error message.

Changed format probing logic to not fall through to the "unsupported" case if it's a known format, i.e. has valid header.

VBoxManage converthd generic format converter made official.

Added format flag to VBoxManage createhd, allows creating VMDK files.

VBoxManage convertdd reimplemented based on new framework, supporting any image format.

VBoxManage internalcommands sethduuid reimplemented based on new framework, supporting any image format.

Cleaned up error codes.

File:
1 edited

Legend:

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

    r15156 r15366  
    552552    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    553553    int rc = VDSetPCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pPCHSGeometry);
    554     if (rc == VERR_VDI_GEOMETRY_NOT_SET)
     554    if (rc == VERR_VD_GEOMETRY_NOT_SET)
    555555        rc = VERR_PDM_GEOMETRY_NOT_SET;
    556556    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
     
    583583    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    584584    int rc = VDSetLCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pLCHSGeometry);
    585     if (rc == VERR_VDI_GEOMETRY_NOT_SET)
     585    if (rc == VERR_VD_GEOMETRY_NOT_SET)
    586586        rc = VERR_PDM_GEOMETRY_NOT_SET;
    587587    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
     
    635635    PVBOXDISK pThis = PDMITRANSPORTASYNCPORT_2_VBOXDISK(pInterface);
    636636    PDRVVDASYNCTASK pDrvVDAsyncTask = (PDRVVDASYNCTASK)pvUser;
    637     int rc = VINF_VDI_ASYNC_IO_FINISHED;
     637    int rc = VINF_VD_ASYNC_IO_FINISHED;
    638638
    639639    /* Having a completion callback for a task is not mandatory. */
     
    642642
    643643    /* Check if the request is finished. */
    644     if (rc == VINF_VDI_ASYNC_IO_FINISHED)
     644    if (rc == VINF_VD_ASYNC_IO_FINISHED)
    645645    {
    646646        rc = pThis->pDrvMediaAsyncPort->pfnTransferCompleteNotify(pThis->pDrvMediaAsyncPort, pDrvVDAsyncTask->pvUserCaller);
    647647    }
    648     else if (rc == VERR_VDI_ASYNC_IO_IN_PROGRESS)
     648    else if (rc == VERR_VD_ASYNC_IO_IN_PROGRESS)
    649649        rc = VINF_SUCCESS;
    650650
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