# Fault - CannotAccessVmDevice(vim.fault.CannotAccessVmDevice)

Extended by
  CannotAccessNetwork, CannotAccessVmDisk
Extends
  CannotAccessVmComponent
Since
  2.0

## Fault Description

One of the virtual machine's devices uses a backing that is not accessible on the host.

Following is a discussion of this fault's use in migration validation.

This is an error if the device is currently connected and a warning otherwise. Devices that can be disconnected can only be connected if the virtual machine is powered on.

The usage of this fault is slightly different if the backing of a device is inherently host-local, and therefore not shared or globally named among hosts. (Examples of such backings: physical CD-ROM drive, physical serial port.) If a device with such a backing is currently connected, that will be a migration error. If the device is disconnected, there will be a warning if no backing with the same name exists on the destination host. If the device is disconnected and a backing with the same name exists on the destination host, this is neither a warning nor an error case, even though the destination host's backing is not the same instance as the source host's. It is assumed that use of the host-local backing is what is desired for the device.

Properties

Name | Type | Description
--- | --- | ---
backing | xsd:string | The backing of the device.
connected | xsd:boolean | The connected/disconnected state of the device.
device | xsd:string | The label of the device.
Properties inherited from CannotAccessVmComponent
None
Properties inherited from VmConfigFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="CannotAccessVmDevice"> <complexContent> <extension base="pbm:CannotAccessVmComponent"> <sequence> <element name="device" type="xsd:string"/> <element name="backing" type="xsd:string"/> <element name="connected" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType>