VirtualBox

Ignore:
Timestamp:
Oct 27, 2008 2:04:18 PM (16 years ago)
Author:
vboxsync
Message:

Ported s2 branch (r37120:38456).

File:
1 edited

Legend:

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

    r12638 r13580  
    777777    int rc;
    778778
    779     /* Image must be opened and the new flags must be valid. Just readonly flag
    780      * is supported. */
    781     if (!pImage || uOpenFlags & ~VD_OPEN_FLAGS_READONLY)
     779    /* Image must be opened and the new flags must be valid. Just readonly and
     780     * info flags are supported. */
     781    if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO)))
    782782    {
    783783        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