2.2.4.6 SVHDX_TUNNEL_DISK_INFO_RESPONSE Structure

The SVHDX_TUNNEL_DISK_INFO_RESPONSE packet is sent by the server in response to an SVHDX_TUNNEL_DISK_INFO_REQUEST.


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

DiskType

DiskFormat

BlockSize

LinkageID

...

...

...

IsMounted

Is4kAligned

Reserved

FileSize

...

VirtualDiskId

...

...

...

DiskType (4 bytes): Indicates the type of disk. This field MUST contain exactly one of the following values.

Value

Meaning

VHD_TYPE_FIXED

0x00000002

Indicates that the type of the disk is fixed.

VHD_TYPE_DYNAMIC

0x00000003

Indicates that the type of the disk is dynamic.

DiskFormat (4 bytes): Indicates the format of the disk. This field MUST contain exactly one of the following values.

Value

Meaning

VIRTUAL_STORAGE_TYPE_DEVICE_VHDX      

0x00000003

Indicates that the type of the disk is shared virtual disk.

VIRTUAL_STORAGE_TYPE_DEVICE_VHDSET

0x00000004     

Indicates that the type of the disk is VHD set.

BlockSize (4 bytes): Specifics the disk block size in bytes.

LinkageID (16 bytes): A GUID that specifies the linkage identification of the disk.

IsMounted (1 byte): A Boolean value. Zero represents FALSE (0x00), indicating that the disk is not ready for read or write operations. One represents TRUE (0x01), indicating that the disk is mounted and ready for read or write operations.

Is4kAligned (1 byte): A Boolean value. Zero represents FALSE, indicating disk sectors are not aligned to 4 kilobytes. One represents TRUE, indicating disk sectors are aligned to 4 kilobytes.

Reserved (2 bytes): This field MUST NOT be used and MUST be reserved. The client SHOULD set this field to zero, and the server MUST ignore it on receipt.

FileSize (8 bytes): The size, in bytes, of the file opened as the shared virtual disk.

VirtualDiskId (16 bytes): A GUID that specifies the identification of the disk.