VirtualBox

Changeset 18162 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Mar 23, 2009 7:28:13 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44866
Message:

Main: add read/write param to OpenHardDisk to allow for opening disk images during import without requiring write access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r17737 r18162  
    16701670            /* we've not found the image */
    16711671            RTPrintf("Adding hard disk '%S'...\n", hdaFile);
    1672             virtualBox->OpenHardDisk(hdaFileBstr, hardDisk.asOutParam());
     1672            virtualBox->OpenHardDisk(hdaFileBstr, TRUE /* fWrite */, hardDisk.asOutParam());
    16731673        }
    16741674        /* do we have the right image now? */
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