13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

•Each attached virtual disk object maintains an association with an actual disk (basic, dynamic,or unallocated disk) that has been exposed to the system as a result of attaching the virtualdisk.Each <strong>VDS</strong> object maintains the following information:<strong>VDS</strong> Object Identifier: A unique identifier of type <strong>VDS</strong>_OBJECT_ID.•The server may generate these identifiers at run time.•The server MUST NOT assign two objects to the same identifier.•The server MUST NOT change the identifier for the entire duration of a <strong>VDS</strong> session or until theobject is removed from the list. A <strong>VDS</strong> session is defined to be from the point at which a clientreceives a pointer to the service object, to the point at which the client releases all references toit.•The server facilitates ID-based object retrieval.Object Type: A value of type <strong>VDS</strong>_OBJECT_TYPE, which indicates the type of device that theobject represents.•When a <strong>VDS</strong> object is created, the server assigns its corresponding object type:•HBA port: <strong>VDS</strong>_OT_HBAPORT•Initiator adapter: <strong>VDS</strong>_OT_INIT_ADAPTER•Initiator portal: <strong>VDS</strong>_OT_INIT_PORTAL•Provider: <strong>VDS</strong>_OT_PROVIDER•Pack: <strong>VDS</strong>_OT_PACK•<strong>Disk</strong>: <strong>VDS</strong>_OT_DISK•Volume: <strong>VDS</strong>_OT_VOLUME•Volume plex: <strong>VDS</strong>_OT_VOLUME_PLEX•<strong>Virtual</strong> disk: <strong>VDS</strong>_OT_VDISK•<strong>Virtual</strong> disk that has been opened: <strong>VDS</strong>_OT_OPEN_VDISKThe objects can be used by more than one <strong>VDS</strong> session at a time. Objects can be added or removedas a result of client requests or events that the operating system triggers, such as when a disk is nolonger being reported by its bus, or when the disk's bus reports a new disk.If objects are removed while a client still has references to them, the server MUST return a value of<strong>VDS</strong>_E_OBJECT_DELETED (HRESULT of 0x8004240bL) whenever the client attempts to access theobject interface methods.3.4.1.3 Enumeration of ObjectsAll <strong>VDS</strong> objects that are listed in Storage Management Objects--except for the service object--arereturned by means of enumeration objects. For an example of how these objects are created andused, see section 4.3.[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 2011157 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!