White Papers

Virtual Media Profile
Version 1.0.0a 21
The relationship shall be modeled with an instance of the CIM_LogicalIdentity association. When used in
this way, the CIM_LogicalIdentity association's SystemElement property shall reference the
CIM_USBDevice instance, and its SameElement property shall reference the CIM_LogicalDevice
instance.
7.5.4 Representing the USB Device Class
The USB Device Class shall be represented by the value of the CIM_USBDevice.ClassCode property.
The USB Version shall be represented by the value of the CIM_USBDevice.USBVersion property.
The USB Device subclass may be represented by the value of the CIM_USBDevice.SubClassCode.
7.5.5 Representing the Command Response Timeout
The Command Response Timeout is the amount of time the session shall wait for a response after
sending a USB command. If the Command Response Timeout is exceeded, the USB device behaves as
if the media was ejected and a Reset message is sent to the Remote System to terminate the previous
command.
The CIM_USBDevice.Commandtimeout shall have the value of the Command Response Timeout.
7.6 The States of a Virtual Media
The state of a Virtual Media shall be determined by the state of the instance of
DCIM_OEMVirtualMediaService and the state of the instance of CIM_USBRedirectionSAP that is
associated though an instance of CIM_ServiceAccessBySAP.
The Virtual Media shall have the state inactive, available, or active
7.6.1 Active State
The Virtual Media is active when the USB Redirection SAP is connected to a Remote SAP.
If the Virtual Media is in the active state, the value of the EnabledState properties in
DCIM_OEMVirtualMediaService shall be either 2(Enabled) or 6(Enabled but Offline) and
CIM_USBRedirectionSAP shall be 2 (Enabled).
If the Virtual Media is in the active state, Virtual Media Session shall exist.
7.6.2 Available State
The Virtual Media is available when the USB Redirection SAP is available for connection at the protocol
endpoint. The USB Redirection SAP is either waiting for a connection request (listen mode), or ready to
initiate a connection (connect mode).
If the Virtual Media is in the available state, the value of the EnabledState property of
DCIM_OEMVirtualMediaService shall be 2 (Enabled) or 6(Enabled but Offline), and value of the
EnabledState property of CIM_USBRedirectionSAP shall be 6 (Enabled but Offline).
If the Virtual Media is in the active state, Virtual Media Session shall not exist.
7.6.3 Inactive State
The Virtual Media is inactive when virtual devices are unattached, or the USB Redirection SAP is
unavailable for connection at the protocol endpoint; effectively, the USB Redirection SAP is neither
waiting for a connection request (listen mode) nor ready to initiate a connection (connect mode).