VirtualBox

Changeset 31151 in vbox


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

VBoxManage: fixed createhd --type shareable

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

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

    r28888 r31151  
    228228                vrc = parseDiskType(ValueUnion.psz, &DiskType);
    229229                if (    RT_FAILURE(vrc)
    230                     ||  (DiskType != MediumType_Normal && DiskType != MediumType_Writethrough))
     230                    ||  (   DiskType != MediumType_Normal
     231                         && DiskType != MediumType_Writethrough
     232                         && DiskType != MediumType_Shareable))
    231233                    return errorArgument("Invalid hard disk type '%s'", ValueUnion.psz);
    232234                break;
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r31125 r31151  
    481481                 "                            [--format VDI|VMDK|VHD] (default: VDI)\n"
    482482                 "                            [--variant Standard,Fixed,Split2G,Stream,ESX]\n"
    483                  "                            [--type normal|writethrough|"
     483                 "                            [--type normal|writethrough|\n"
    484484                 "                                    shareable] (default: normal)\n"
    485485                 "                            [--comment <comment>]\n"
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