2.2.4.17 SVHDX_META_OPERATION_START_REQUEST Structure

The SVHDX_META_OPERATION_START_REQUEST packet is sent by the client to start a meta-operation on the shared virtual disk file.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

TransactionId

...

...

...

OperationType

Reserved

Data (variable)

...

TransactionId (16 bytes): Indicates the transaction ID for the operation. The field MUST be set to a globally unique ID for each meta-operation.

OperationType (4 bytes): Indicates the type of the operation. This field MUST contain one of the following values.

Value

Meaning

SvhdxMetaOperationTypeResize

0x00000000

The meta-operation requests that the target file be resized.

SvhdxMetaOperationTypeCreateSnapshot

0x00000001

The meta-operation is part of a snapshot creation process.

SvhdxMetaOperationTypeOptimize

0x00000002

The meta-operation requests that the server optimize the target file.

SvhdxMetaOperationTypeExtractVHD

0x00000003

The meta-operation requests that the server extract a differencing virtual hard disk (VHD) from the target file.

SvhdxMetaOperationTypeConvertToVHDSet

0x00000004

The meta-operation requests that the given virtual disk file be converted to a VHD set.

SvhdxMetaOperationTypeApplySnapshot

0x00000005

The meta-operation requests that a specific snapshot be applied to a shared VHD Set.

Reserved (4 bytes): This value MUST be set to 0 by the client and MUST be ignored by the server.

Data (variable): A variable-length field that contains the additional input specified by the OperationType field.

If the OperationType is SvhdxMetaOperationTypeCreateSnapshot, this field is provided in the format SVHDX_META_OPERATION_CREATE_SNAPSHOT as specified in section 2.2.4.17.1.

If the OperationType is SvhdxMetaOperationTypeExtractVHD, this field is provided in the format SVHDX_META_OPERATION_EXTRACT as specified in section 2.2.4.17.2.

If the OperationType is SvhdxMetaOperationTypeOptimize, this field MUST be empty.

If the OperationType is SvhdxMetaOperationTypeConvertToVHDSet, this field is provided in the format SVHDX_META_OPERATION_CONVERT_TO_VHDSET, as specified in section 2.2.4.17.3.

If the OperationType is SvhdxMetaOperationTypeResize, this field is provided in the format SVHDX_META_OPERATION _RESIZE_VIRTUAL_DISK as specified in section 2.2.4.17.4.