VirtualBox

Ignore:
Timestamp:
Mar 23, 2009 7:28:13 PM (16 years ago)
Author:
vboxsync
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/VirtualBox/src/VBoxMediaManagerDlg.cpp

    r17669 r18162  
    15451545        case VBoxDefs::MediaType_HardDisk:
    15461546        {
    1547             CHardDisk hd = mVBox.OpenHardDisk(aLocation);
     1547            CHardDisk hd = mVBox.OpenHardDisk(aLocation, TRUE /* fWrite */);
    15481548            if (mVBox.isOk())
    15491549            {
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