VirtualBox

Changeset 2337

Show
Ignore:
Timestamp:
04/25/07 12:57:01 (2 years ago)
Author:
vboxsync
Message:

Update log groups and errors for new virtual disk container code.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/err.h

    r2106 r2337  
    3737/** Failed to allocate VM memory. */ 
    3838#define VERR_NO_VM_MEMORY                   (-1000) 
    39 /** GC is toased the VMM should be terminated at once, but no need to panic about it :-) */ 
     39/** GC is toasted and the VMM should be terminated at once, but no need to panic about it :-) */ 
    4040#define VERR_DONT_PANIC                     (-1001) 
    4141/** Unsupported CPU. */ 
     
    956956 */ 
    957957/** Invalid image file header. */ 
    958 #define VERR_VDI_INVALID_HEADER                    (-3200) 
     958#define VERR_VDI_INVALID_HEADER                    (-3200) 
    959959/** Invalid image file header: invalid signature. */ 
    960 #define VERR_VDI_INVALID_SIGNATURE                 (-3201) 
     960#define VERR_VDI_INVALID_SIGNATURE                  (-3201) 
    961961/** Invalid image file header: invalid version. */ 
    962 #define VERR_VDI_UNSUPPORTED_VERSION               (-3202) 
     962#define VERR_VDI_UNSUPPORTED_VERSION                (-3202) 
    963963/** Invalid image type. */ 
    964 #define VERR_VDI_INVALID_TYPE                      (-3203) 
     964#define VERR_VDI_INVALID_TYPE                      (-3203) 
    965965/** Invalid image flags. */ 
    966 #define VERR_VDI_INVALID_FLAGS                     (-3204) 
     966#define VERR_VDI_INVALID_FLAGS                      (-3204) 
    967967/** Operation can't be done in current HDD container state. */ 
    968 #define VERR_VDI_INVALID_STATE                     (-3205) 
     968#define VERR_VDI_INVALID_STATE                      (-3205) 
    969969/** Differencing image can't be used with current base image. */ 
    970 #define VERR_VDI_WRONG_DIFF_IMAGE                  (-3206) 
     970#define VERR_VDI_WRONG_DIFF_IMAGE                  (-3206) 
    971971/** Two or more images of one HDD has different versions. */ 
    972 #define VERR_VDI_IMAGES_VERSION_MISMATCH           (-3207) 
     972#define VERR_VDI_IMAGES_VERSION_MISMATCH            (-3207) 
    973973/** Differencing and parent images can't be used together due to UUID. */ 
    974 #define VERR_VDI_IMAGES_UUID_MISMATCH              (-3208) 
     974#define VERR_VDI_IMAGES_UUID_MISMATCH              (-3208) 
    975975/** No differencing images to commit. */ 
    976 #define VERR_VDI_NO_DIFF_IMAGES                    (-3209) 
     976#define VERR_VDI_NO_DIFF_IMAGES                    (-3209) 
    977977/** Virtual HDD is not opened. */ 
    978 #define VERR_VDI_NOT_OPENED                        (-3210) 
     978#define VERR_VDI_NOT_OPENED                        (-3210) 
    979979/** Requested image is not opened. */ 
    980 #define VERR_VDI_IMAGE_NOT_FOUND                   (-3211) 
     980#define VERR_VDI_IMAGE_NOT_FOUND                    (-3211) 
    981981/** Image is read-only. */ 
    982 #define VERR_VDI_IMAGE_READ_ONLY                   (-3212) 
     982#define VERR_VDI_IMAGE_READ_ONLY                    (-3212) 
    983983/** Comment string is too long. */ 
    984 #define VERR_VDI_COMMENT_TOO_LONG                  (-3213) 
     984#define VERR_VDI_COMMENT_TOO_LONG                  (-3213) 
    985985/** Geometry hasn't been set. */ 
    986 #define VERR_VDI_GEOMETRY_NOT_SET                  (-3214) 
     986#define VERR_VDI_GEOMETRY_NOT_SET                   (-3214) 
     987/** No data for this block in image. */ 
     988#define VINF_VDI_BLOCK_FREE                         3215 
     989/** Configuration value not found. */ 
     990#define VERR_VDI_VALUE_NOT_FOUND                    (-3216) 
    987991/** @} */ 
    988992 
  • trunk/include/VBox/log.h

    r2039 r2337  
    159159    /** VBoxHDD media driver group. */ 
    160160    LOG_GROUP_DRV_VBOXHDD, 
     161    /** VBox HDD container media driver group. */ 
     162    LOG_GROUP_DRV_VD, 
    161163    /** Virtual Switch transport driver group */ 
    162164    LOG_GROUP_DRV_VSWITCH, 
     
    247249    /** TRPM group. */ 
    248250    LOG_GROUP_TRPM, 
     251    /** Generic virtual disk layer. */ 
     252    LOG_GROUP_VD, 
     253    /** VMDK virtual disk backend. */ 
     254    LOG_GROUP_VD_VMDK, 
    249255    /** VM group. */ 
    250256    LOG_GROUP_VM, 
     
    326332    "DRV_USBPROXY", \ 
    327333    "DRV_VBOXHDD",  \ 
     334    "DRV_VD",       \ 
    328335    "DRV_VSWITCH",  \ 
    329336    "DRV_VUSB",     \ 
     
    370377    "TM",           \ 
    371378    "TRPM",         \ 
     379    "VD",           \ 
     380    "VD_VMDK",      \ 
    372381    "VM",           \ 
    373382    "VMM",          \ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy