VirtualBox

Changeset 16827 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 17, 2009 11:01:43 AM (16 years ago)
Author:
vboxsync
Message:

Storage/VMDK: implement VMDK 1.1 streamOptimized format. read only at the moment.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxHDD-new.h

    r16651 r16827  
    9898 */
    9999/** No flags. */
    100 #define VD_IMAGE_FLAGS_NONE                 (0)
     100#define VD_IMAGE_FLAGS_NONE                     (0)
    101101/** VMDK: Split image into 2GB extents. */
    102 #define VD_VMDK_IMAGE_FLAGS_SPLIT_2G        (0x0001)
     102#define VD_VMDK_IMAGE_FLAGS_SPLIT_2G            (0x0001)
    103103/** VMDK: Raw disk image (giving access to a number of host partitions). */
    104 #define VD_VMDK_IMAGE_FLAGS_RAWDISK         (0x0002)
     104#define VD_VMDK_IMAGE_FLAGS_RAWDISK             (0x0002)
     105/** VMDK: stream optimized image, read only. */
     106#define VD_VMDK_IMAGE_FLAGS_STREAM_OPTIMIZED    (0x0004)
    105107/** VDI: Fill new blocks with zeroes while expanding image file. Only valid
    106108 * for newly created images, never set for opened existing images. */
    107 #define VD_VDI_IMAGE_FLAGS_ZERO_EXPAND      (0x0100)
     109#define VD_VDI_IMAGE_FLAGS_ZERO_EXPAND          (0x0100)
    108110
    109111/** Mask of valid image flags for VMDK. */
    110 #define VD_VMDK_IMAGE_FLAGS_MASK            (VD_IMAGE_FLAGS_NONE | VD_VMDK_IMAGE_FLAGS_SPLIT_2G | VD_VMDK_IMAGE_FLAGS_RAWDISK)
     112#define VD_VMDK_IMAGE_FLAGS_MASK            (VD_IMAGE_FLAGS_NONE | VD_VMDK_IMAGE_FLAGS_SPLIT_2G | VD_VMDK_IMAGE_FLAGS_RAWDISK | VD_VMDK_IMAGE_FLAGS_STREAM_OPTIMIZED)
    111113
    112114/** Mask of valid image flags for VDI. */
  • trunk/include/VBox/err.h

    r15852 r16827  
    10811081/** VMDK: Operation can't be done in current image state. */
    10821082#define VERR_VD_VMDK_INVALID_STATE                  (-3243)
     1083/** VMDK: Format is invalid/inconsistent. */
     1084#define VERR_VD_VMDK_INVALID_FORMAT                 (-3244)
    10831085/** iSCSI: Invalid header, i.e. dummy for validity check. */
    10841086#define VERR_VD_ISCSI_INVALID_HEADER                (-3250)
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