VirtualBox

Changeset 21030 in vbox for trunk


Ignore:
Timestamp:
Jun 29, 2009 3:25:03 PM (16 years ago)
Author:
vboxsync
Message:

Storage/VBoxHDD: paranoia, for cloning to newly created image which is bigger. not usable via API right now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD.cpp

    r21025 r21030  
    20442044            pImageTo = pDiskTo->pLast;
    20452045            AssertPtrBreakStmt(pImageTo, rc = VERR_VD_IMAGE_NOT_FOUND);
     2046
     2047            cbSize = RT_MIN(cbSize, cbSizeFrom);
    20462048        }
    20472049        else
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