LibvirtGConfig.DomainHostdev¶
- Subclasses:
Methods¶
- Inherited:
LibvirtGConfig.DomainDevice (1), LibvirtGConfig.Object (6), GObject.Object (37)
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class LibvirtGConfig.DomainHostdev(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- get_boot_order()¶
- Returns:
The boot order if self is bootable, otherwise a negative integer.
- Return type:
- set_boot_order(order)¶
- Parameters:
order (
int
) – the boot order
If a positive integer is passed as order, self is marked bootable and boot order set to order, otherwise self is marked to be unbootable.
- set_readonly(readonly)¶
- Parameters:
readonly (
bool
) – the new readonly status
Set the readonly status of self to readonly.
- Parameters:
shareable (
bool
) – the new shareable status
Set whether or not self is shared between domains.