VirtualBox

Ignore:
Timestamp:
Oct 18, 2010 8:30:05 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66718
Message:

Devices/Storage: implement sequential reading of streamOptimized VMDK images

File:
1 edited

Legend:

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

    r32768 r33182  
    20962096    int rc;
    20972097
    2098     /* Image must be opened and the new flags must be valid. Just readonly and
    2099      * info flags are supported. */
    2100     if (!pThis || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO || VD_OPEN_FLAGS_SHAREABLE)))
     2098    /* Image must be opened and the new flags must be valid. */
     2099    if (!pThis || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO || VD_OPEN_FLAGS_SHAREABLE | VD_OPEN_FLAGS_SEQUENTIAL)))
    21012100    {
    21022101        rc = VERR_INVALID_PARAMETER;
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