LibvirtGConfig.DomainHostdevPci¶
- Subclasses:
None
Methods¶
- Inherited:
LibvirtGConfig.DomainHostdev (6), LibvirtGConfig.DomainDevice (1), LibvirtGConfig.Object (6), GObject.Object (37)
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class LibvirtGConfig.DomainHostdevPci(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
LibvirtGConfig.DomainHostdevPci
. The returned object should be unreffed withGObject.Object.unref
() when no longer needed.- Return type:
Creates a new
LibvirtGConfig.DomainHostdevPci
.
- classmethod new_from_xml(xml)¶
- Parameters:
xml (
str
) – xml data to create the host device from- Raises:
- Returns:
a new
LibvirtGConfig.DomainHostdevPci
, orNone
if xml failed to be parsed. The returned object should be unreffed withGObject.Object.unref
() when no longer needed.- Return type:
Creates a new
LibvirtGConfig.DomainHostdevPci
. The host device object will be created using the XML description stored in xml. This is a fragment of libvirt domain XML whose root node is <hostdev>.
- get_address()¶
- Returns:
a new
LibvirtGConfig.DomainAddressPci
, orNone
if no address is associated with self. The returned object should be unreffed withGObject.Object.unref
() when no longer needed.- Return type:
Gets the address associated with self.
- set_address(address)¶
- Parameters:
address (
LibvirtGConfig.DomainAddressPci
) –