VirtualBox

Ignore:
Timestamp:
Jul 27, 2010 7:32:43 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64129
Message:

VBoxManage: another fix for VBoxManage createhd --type shareable --remember

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r31151 r31152  
    306306                CHECK_ERROR(hardDisk, COMGETTER(Id)(uuid.asOutParam()));
    307307
    308                 if (DiskType == MediumType_Writethrough)
     308                if (   DiskType == MediumType_Writethrough
     309                    || DiskType == MediumType_Shareable)
    309310                {
    310                     CHECK_ERROR(hardDisk, COMSETTER(Type)(MediumType_Writethrough));
     311                    CHECK_ERROR(hardDisk, COMSETTER(Type)(DiskType));
    311312                }
    312313
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