VirtualBox

Ignore:
Timestamp:
Sep 16, 2010 12:07:01 PM (14 years ago)
Author:
vboxsync
Message:

VBoxHDD: More cleanup

  • The I/O interface between the generic layer and the backend is private because it includes operations for various async I/O tasks the user of VBoxHDD doesn't know about. Renamed it to make clear that it is internal and make the old async I/O interface the one which can be used for the VFS layer from the outside.
File:
1 edited

Legend:

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

    r32536 r32553  
    6767    PVDINTERFACE        pInterfaceIO;
    6868    /** I/O interface callbacks. */
    69     PVDINTERFACEIO      pInterfaceIOCallbacks;
     69    PVDINTERFACEIOINT   pInterfaceIOCallbacks;
    7070
    7171    /** Pointer to the per-disk VD interface list. */
     
    331331
    332332    /* Get I/O interface. */
    333     pImage->pInterfaceIO = VDInterfaceGet(pImage->pVDIfsImage, VDINTERFACETYPE_IO);
     333    pImage->pInterfaceIO = VDInterfaceGet(pImage->pVDIfsImage, VDINTERFACETYPE_IOINT);
    334334    AssertPtrReturn(pImage->pInterfaceIO, VERR_INVALID_PARAMETER);
    335     pImage->pInterfaceIOCallbacks = VDGetInterfaceIO(pImage->pInterfaceIO);
     335    pImage->pInterfaceIOCallbacks = VDGetInterfaceIOInt(pImage->pInterfaceIO);
    336336    AssertPtrReturn(pImage->pInterfaceIOCallbacks, VERR_INVALID_PARAMETER);
    337337
     
    422422
    423423    /* Get I/O interface. */
    424     PVDINTERFACE pInterfaceIO = VDInterfaceGet(pVDIfsImage, VDINTERFACETYPE_IO);
     424    PVDINTERFACE pInterfaceIO = VDInterfaceGet(pVDIfsImage, VDINTERFACETYPE_IOINT);
    425425    AssertPtrReturn(pInterfaceIO, VERR_INVALID_PARAMETER);
    426     PVDINTERFACEIO pInterfaceIOCallbacks = VDGetInterfaceIO(pInterfaceIO);
     426    PVDINTERFACEIOINT pInterfaceIOCallbacks = VDGetInterfaceIOInt(pInterfaceIO);
    427427    AssertPtrReturn(pInterfaceIOCallbacks, VERR_INVALID_PARAMETER);
    428428
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