VirtualBox

Ignore:
Timestamp:
Sep 13, 2009 10:17:34 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52261
Message:

VBoxHDD: Add new parameter to VDGetFormat which takes a list of interfaces. Backends need the async I/O interface if VBOX_WITH_NEW_IO_CODE is enabled to access the file

File:
1 edited

Legend:

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

    r22978 r22982  
    914914
    915915/** @copydoc VBOXHDDBACKEND::pfnCheckIfValid */
    916 static int vdiCheckIfValid(const char *pszFilename)
     916static int vdiCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk)
    917917{
    918918    LogFlowFunc(("pszFilename=\"%s\"\n", pszFilename));
     
    940940#endif
    941941    pImage->paBlocks = NULL;
    942     pImage->pVDIfsDisk = NULL;
     942    pImage->pVDIfsDisk = pVDIfsDisk;
    943943
    944944    rc = vdiOpenImage(pImage, VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_READONLY);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette