VirtualBox

Ignore:
Timestamp:
Apr 29, 2010 11:50:05 AM (15 years ago)
Author:
vboxsync
Message:

Main/Medium: new stub medium type "Shareable", plus assorted frontend changes to prepare its use.

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

Legend:

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

    r28800 r28888  
    109109    else if (!RTStrICmp(psz, "writethrough"))
    110110        DiskType = MediumType_Writethrough;
     111    else if (!RTStrICmp(psz, "shareable"))
     112        DiskType = MediumType_Shareable;
    111113    else
    112114        rc = VERR_PARSE_ERROR;
     
    12311233                typeStr = "writethrough";
    12321234                break;
     1235            case MediumType_Shareable:
     1236                typeStr = "shareable";
     1237                break;
    12331238        }
    12341239        RTPrintf("Type:                 %s\n", typeStr);
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r28800 r28888  
    124124            case MediumType_Writethrough:
    125125                typeStr = "writethrough";
     126                break;
     127            case MediumType_Shareable:
     128                typeStr = "shareable";
    126129                break;
    127130        }
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