2.2.4.17.2 SVHDX_META_OPERATION_EXTRACT Structure
The SVHDX_META_OPERATION_EXTRACT packet is issued by a server as part of a SVHDX_META_OPERATION_START_REQUEST operation, when the meta-operation type indicates an SvhdxMetaOperationTypeExtractVHD. The server issues such a request to export a virtual hard disk (VHD) or a differencing VHD.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SnapshotType |
|||||||||||||||||||||||||||||||
|
Reserved |
|||||||||||||||||||||||||||||||
|
Flags |
|||||||||||||||||||||||||||||||
|
SourceSnapshotId (16 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
SourceLimitSnapshotId (16 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
DestinationVhdNameLength |
|||||||||||||||||||||||||||||||
|
DestinationVhdName (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
SnapshotType (4 bytes): The type of snapshot. This field MUST contain one of the values defined in section 2.2.6.
Reserved (4 bytes): This value MUST be set to 0 by the client and MUST be ignored by the server.
Flags (4 bytes): This field MUST be set to zero or more of the following values:
-
Name
Meaning
SVHDX_EXTRACT_SNAPSHOTS_FLAG_DELETE_ON_CLOSE 0x00000001
Request for the VHD set to be deleted on close after exporting the differences between specified snapshots.
SourceSnapshotId (16 Bytes): A GUID that indicates the ID of the snapshot to be used as the source for the extracted VHD.
SourceLimitSnapshotId (16 Bytes): A GUID that optionally indicates the ID of the snapshot that will act as the base for the extracted differencing VHD. Zero indicates that there MUST be no base snapshot and that the extracted disk will not be a differencing VHD.
DestinationVhdNameLength (4 Bytes): The length, in bytes, including the NULL terminating character, of the VHD file name to extract the data differences to.
DestinationVhdName (Variable): A buffer containing a null-terminated Unicode UTF-16 string that indicates the VHD file name to extract the data differences to.