PcieDeviceState#

class PcieDeviceState(*args, **kwargs)#

Bases: object

Device state

Allowed enum values:

  • _UNKNOWN

  • _REDACTED

  • UVM_AVAILABLE: The device is available for passthrough to a UVM and not assigned to any

  • UVM_RESERVED: The device is being assigned to the UVM mentioned in the ‘owner’ property

  • UVM_ASSIGNED: The device is assigned to the UVM mentioned in the ‘owner’ property

  • HOST_BROKEN: The device is broken or non-functional may be cleared when the host is restarted

  • HOST_UNUSED: The device is not used by the host and not available for assignment to the CVM or a UVM

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model