Changeset 44408 in vbox
- Timestamp:
- Jan 28, 2013 9:54:00 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd.h
r43861 r44408 4 4 5 5 /* 6 * Copyright (C) 2006-201 1Oracle Corporation6 * Copyright (C) 2006-2013 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 796 796 797 797 /** 798 * Resizes the given disk image to the given size. 798 * Resizes the given disk image to the given size. It is OK if there are 799 * multiple images open in the container. In this case the last disk image 800 * will be resized. 799 801 * 800 802 * @return VBox status -
trunk/src/VBox/Storage/VD.cpp
r44400 r44408 7719 7719 fLockRead = true; 7720 7720 7721 /* Not supported if the disk has child images attached. */7722 AssertMsgBreakStmt(pDisk->cImages == 1, ("cImages=%u\n", pDisk->cImages),7721 /* Must have at least one image in the chain, will resize last. */ 7722 AssertMsgBreakStmt(pDisk->cImages >= 1, ("cImages=%u\n", pDisk->cImages), 7723 7723 rc = VERR_NOT_SUPPORTED); 7724 7724 7725 PVDIMAGE pImage = pDisk->p Base;7725 PVDIMAGE pImage = pDisk->pLast; 7726 7726 7727 7727 /* If there is no compact callback for not file based backends then
Note:
See TracChangeset
for help on using the changeset viewer.