VirtualBox

Changeset 36633 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 8, 2011 9:43:41 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71097
Message:

Storage: Small cleanup. Drops VDImageIsAsyncIOSupported, it is completely unused and the best behavior is to fail in VDOpen like we do for all the other flags

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vd-plugin.h

    r33567 r36633  
    455455
    456456    /**
    457      * Return whether asynchronous I/O operations are supported for this image.
    458      *
    459      * @returns true if asynchronous I/O is supported
    460      *          false otherwise.
    461      * @param   pBackendData     Opaque state data for this image.
    462      */
    463     DECLR3CALLBACKMEMBER(bool, pfnIsAsyncIOSupported, (void *pBackendData));
    464 
    465     /**
    466457     * Start an asynchronous read request.
    467458     *
  • trunk/include/VBox/vd.h

    r36573 r36633  
    167167#define VD_OPEN_FLAGS_INFO          RT_BIT(3)
    168168/** Open image for asynchronous access. Only available if VD_CAP_ASYNC_IO is
    169  * set. Check with VDIsAsynchonousIoSupported whether asynchronous I/O is
    170  * really supported for this file. */
     169 * set. VDOpen fails with VERR_NOT_SUPPORTED if this operation is not supported for
     170 * this kind of image. */
    171171#define VD_OPEN_FLAGS_ASYNC_IO      RT_BIT(4)
    172172/** Allow sharing of the image for writable images. May be ignored if the
     
    26102610
    26112611/**
    2612  * Query if asynchronous operations are supported for this disk.
    2613  *
    2614  * @return  VBox status code.
    2615  * @return  VERR_VD_IMAGE_NOT_FOUND if image with specified number was not opened.
    2616  * @param   pDisk           Pointer to the HDD container.
    2617  * @param   nImage          Image number, counts from 0. 0 is always base image of container.
    2618  * @param   pfAIOSupported  Where to store if async IO is supported.
    2619  */
    2620 VBOXDDU_DECL(int) VDImageIsAsyncIOSupported(PVBOXHDD pDisk, unsigned nImage, bool *pfAIOSupported);
    2621 
    2622 
    2623 /**
    26242612 * Start an asynchronous read request.
    26252613 *
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