VirtualBox

Changeset 31180 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jul 28, 2010 6:11:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64167
Message:

Main/Medium+Main/Console+Storage: Pass a flag for the medium type "Shareable" to the image format backends so that they can treat the files appropriately.

File:
1 edited

Legend:

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

    r31098 r31180  
    169169 *  Only available if VD_CAP_ASYNC_IO is set
    170170 *  Check with VDIsAsynchonousIoSupported wether
    171  *  asynchronous I/O is really supported for this file.
    172  */
     171 *  asynchronous I/O is really supported for this file.  */
    173172#define VD_OPEN_FLAGS_ASYNC_IO      RT_BIT(4)
     173/** Allow sharing of the image for writable images. May be ignored if the
     174 * format backend doesn't support this type of concurrent access. */
     175#define VD_OPEN_FLAGS_SHAREABLE     RT_BIT(5)
    174176/** Mask of valid flags. */
    175 #define VD_OPEN_FLAGS_MASK          (VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_HONOR_ZEROES | VD_OPEN_FLAGS_HONOR_SAME | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO)
     177#define VD_OPEN_FLAGS_MASK          (VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_HONOR_ZEROES | VD_OPEN_FLAGS_HONOR_SAME | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO | VD_OPEN_FLAGS_SHAREABLE)
    176178/** @}*/
    177179
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