LibvirtGConfig.CapabilitiesCpuTopology

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.CapabilitiesCpuTopology LibvirtGConfig.CapabilitiesCpuTopology LibvirtGConfig.Object->LibvirtGConfig.CapabilitiesCpuTopology

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_xml (xml)

get_cores ()

get_sockets ()

get_threads ()

set_cores (cores)

set_sockets (sockets)

set_threads (threads)

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.Object

r

Class Details

class LibvirtGConfig.CapabilitiesCpuTopology(**kwargs)
Bases:

LibvirtGConfig.Object

Abstract:

No

Structure:

LibvirtGConfig.CapabilitiesCpuTopologyClass

classmethod new()
Return type:

LibvirtGConfig.CapabilitiesCpuTopology

classmethod new_from_xml(xml)
Parameters:

xml (str) –

Raises:

GLib.Error

Return type:

LibvirtGConfig.CapabilitiesCpuTopology

get_cores()
Return type:

int

get_sockets()
Return type:

int

get_threads()
Return type:

int

set_cores(cores)
Parameters:

cores (int) –

set_sockets(sockets)
Parameters:

sockets (int) –

set_threads(threads)
Parameters:

threads (int) –