Package prlsdkapi :: Class HostDevice
[hide private]
[frames] | no frames]

Class HostDevice

object --+    
         |    
   _Handle --+
             |
            HostDevice
Known Subclasses:

A base class providing methods for obtaining information about physical devices on the host computer. The descendants of this class provide additional methods specific to a particular device type.

Instance Methods [hide private]
 
get_name(self)
Obtain the device name.
 
get_id(self)
Obtain the device ID.
 
get_type(self)
Obtain the device type.
 
is_connected_to_vm(self)
Determine whether the device is connected to a virtual machine.
 
get_device_state(self)
Determine whether a virtual machine can directly use a PCI device through IOMMU technology.
 
set_device_state(self, nDeviceState)
Set whether a virtual machine can directly use a PCI device through IOMMU technology.

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, reg_event_handler, unreg_event_handler

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_type(self)

 

Obtain the device type.

Overrides: _Handle.get_type