VirtualBox

Changeset 38819 in vbox for trunk/src/VBox/Storage


Ignore:
Timestamp:
Sep 21, 2011 6:32:50 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74114
Message:

Storage/VMDK: VMware have apparently introduced a new marker with unknown content, ignore it as long as no one knows what the payload actually means

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VMDK.cpp

    r38693 r38819  
    9292/** Marker for footer in streamOptimized images. */
    9393#define VMDK_MARKER_FOOTER 3
     94
     95/** Marker for unknown purpose in streamOptimized images.
     96 * Shows up in very recent images created by vSphere, but only sporadically.
     97 * They "forgot" to document that one in the VMDK specification. */
     98#define VMDK_MARKER_UNSPECIFIED 4
    9499
    95100/** Dummy marker for "don't check the marker value". */
     
    53585363                    case VMDK_MARKER_FOOTER:
    53595364                        uGrainSectorAbs += 2;
     5365                        break;
     5366                    case VMDK_MARKER_UNSPECIFIED:
     5367                        /* Skip over the contents of the unspecified marker
     5368                         * type 4 which exists in some vSphere created files. */
     5369                        /** @todo figure out what the payload means. */
     5370                        uGrainSectorAbs += 1;
    53605371                        break;
    53615372                    default:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette