LibvirtGConfig.DomainHostdev

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.DomainDevice LibvirtGConfig.DomainDevice LibvirtGConfig.DomainHostdev LibvirtGConfig.DomainHostdev LibvirtGConfig.DomainDevice->LibvirtGConfig.DomainHostdev LibvirtGConfig.Object->LibvirtGConfig.DomainDevice

Subclasses:

LibvirtGConfig.DomainHostdevPci

Methods

Inherited:

LibvirtGConfig.DomainDevice (1), LibvirtGConfig.Object (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_boot_order ()

get_readonly ()

get_shareable ()

set_boot_order (order)

set_readonly (readonly)

set_shareable (shareable)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

LibvirtGConfig.Object (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

LibvirtGConfig.DomainDevice

r

Class Details

class LibvirtGConfig.DomainHostdev(**kwargs)
Bases:

LibvirtGConfig.DomainDevice

Abstract:

Yes

Structure:

LibvirtGConfig.DomainHostdevClass

get_boot_order()
Returns:

The boot order if self is bootable, otherwise a negative integer.

Return type:

int

get_readonly()
Returns:

True if self is readonly, False otherwise.

Return type:

bool

get_shareable()
Returns:

True if self is shared between domains, False otherwise.

Return type:

bool

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.

set_shareable(shareable)
Parameters:

shareable (bool) – the new shareable status

Set whether or not self is shared between domains.