LibvirtGConfig.CapabilitiesCpu

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.CapabilitiesCpu LibvirtGConfig.CapabilitiesCpu LibvirtGConfig.Object->LibvirtGConfig.CapabilitiesCpu

Subclasses:

LibvirtGConfig.DomainCpu

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

add_feature (feature)

get_arch ()

get_features ()

get_model ()

get_topology ()

set_topology (topology)

Virtual Methods

Inherited:

GObject.Object (7)

do_get_features ()

Properties

Inherited:

LibvirtGConfig.Object (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

LibvirtGConfig.Object

r

Class Details

class LibvirtGConfig.CapabilitiesCpu(**kwargs)
Bases:

LibvirtGConfig.Object

Abstract:

No

Structure:

LibvirtGConfig.CapabilitiesCpuClass

add_feature(feature)
Parameters:

feature (LibvirtGConfig.CapabilitiesCpuFeature) –

Adds a new feature to CPU.

get_arch()
Return type:

str

get_features()
Returns:

a newly allocated GLib.List of LibvirtGConfig.CapabilitiesCpuFeature.

Return type:

[LibvirtGConfig.CapabilitiesCpuFeature]

Gets the features of this CPU.

get_model()
Returns:

a new LibvirtGConfig.CapabilitiesCpuModel.

Return type:

LibvirtGConfig.CapabilitiesCpuModel

Gets the model of the cpu.

get_topology()
Returns:

a new LibvirtGConfig.CapabilitiesCpuTopology.

Return type:

LibvirtGConfig.CapabilitiesCpuTopology

Gets the topology of the cpu.

set_topology(topology)
Parameters:

topology (LibvirtGConfig.CapabilitiesCpuTopology) –

Sets the topology of the cpu.

do_get_features() virtual
Returns:

a newly allocated GLib.List of LibvirtGConfig.CapabilitiesCpuFeature.

Return type:

[LibvirtGConfig.CapabilitiesCpuFeature]

Gets the features of this CPU.