VirtualBox

Changeset 64132 in vbox for trunk/include


Ignore:
Timestamp:
Oct 3, 2016 4:23:11 PM (8 years ago)
Author:
vboxsync
Message:

VSCSI: Add method to eject media from the guest and make use of it in DrvSCSI, also add callbacks for attaching and detaching drivers below DrvSCSI which will be required to avoid destroying/recreating the driver every time the medium is changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vscsi.h

    r63992 r64132  
    184184     */
    185185    DECLR3CALLBACKMEMBER(int, pfnVScsiLunMediumSetLock,(VSCSILUN hVScsiLun, void *pvScsiLunUser, bool fLocked));
     186
     187    /**
     188     * Eject the attached medium.
     189     *
     190     * @returns VBox status code.
     191     * @param   hVScsiLun       Virtual SCSI LUN handle.
     192     * @param   pvScsiLunUser   Opaque user data which may be used to identify the
     193     *                          medium.
     194     */
     195    DECLR3CALLBACKMEMBER(int, pfnVScsiLunMediumEject, (VSCSILUN hVScsiLun, void *pvScsiLunUser));
     196
    186197    /**
    187198     * Enqueue a read or write request from the medium.
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