VirtualBox

Ignore:
Timestamp:
Oct 21, 2009 5:32:21 PM (15 years ago)
Author:
vboxsync
Message:

API/Medium: stub for resizing method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r23946 r23947  
    96829682    </method>
    96839683
     9684    <method name="resize">
     9685      <desc>
     9686        Starts resizing this medium. This means that the nominal size of the
     9687        medium is set to the new value. Both increasing and decreasing the
     9688        size is possible, and there are no safety checks, since VirtualBox
     9689        does not make any assumptions about the medium contents.
     9690
     9691        Resizing usually needs additional disk space, and possibly also
     9692        some temporary disk space. Note that resize does not create a full
     9693        temporary copy of the medium, so the additional disk space requirement
     9694        is usually much lower than using the clone operation.
     9695
     9696        This medium will be placed to <link to="MediumState_LockedWrite"/>
     9697        state for the duration of this operation.
     9698
     9699        Please note that the results can be either returned straight away,
     9700        or later as the result of the background operation via the object
     9701        returned via the @a progress parameter.
     9702
     9703        <result name="VBOX_E_NOT_SUPPORTED">
     9704          Medium format does not support resizing.
     9705        </result>
     9706      </desc>
     9707      <param name="logicalSize" type="unsigned long long" dir="in">
     9708        <desc>New nominal capacity of the medium in megabytes.</desc>
     9709      </param>
     9710      <param name="progress" type="IProgress" dir="return">
     9711        <desc>Progress object to track the operation completion.</desc>
     9712      </param>
     9713    </method>
     9714
    96849715    <method name="reset">
    96859716      <desc>
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