VirtualBox

Changeset 33322 in vbox


Ignore:
Timestamp:
Oct 21, 2010 5:14:44 PM (14 years ago)
Author:
vboxsync
Message:

Main/Medium: remaining bits for MediumType_Readonly

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r33300 r33322  
    128128            case MediumType_Shareable:
    129129                typeStr = "shareable";
     130                break;
     131            case MediumType_Readonly:
     132                typeStr = "readonly";
    130133                break;
    131134        }
  • trunk/src/VBox/Main/MediumImpl.cpp

    r33307 r33322  
    10271027        rc = setLocation(aLocation);
    10281028    else
     1029    {
     1030        if (aDeviceType == DeviceType_DVD)
     1031            m->type = MediumType_Readonly;
     1032        else
     1033            m->type = MediumType_Writethrough;
    10291034        rc = setLocation(aLocation, "RAW");
     1035    }
    10301036    if (FAILED(rc)) return rc;
    10311037
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