LibvirtGConfig.DomainDiskDriver

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.DomainDiskDriver LibvirtGConfig.DomainDiskDriver LibvirtGConfig.Object->LibvirtGConfig.DomainDiskDriver

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_xml (xml)

get_cache ()

get_copy_on_read ()

get_discard ()

get_error_policy ()

get_format ()

get_io_policy ()

get_name ()

set_cache (cache_type)

set_copy_on_read (copy_on_read)

set_discard (discard)

set_error_policy (policy)

set_format (format)

set_io_policy (policy)

set_name (name)

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.DomainDiskDriver(**kwargs)
Bases:

LibvirtGConfig.Object

Abstract:

No

Structure:

LibvirtGConfig.DomainDiskDriverClass

classmethod new()
Return type:

LibvirtGConfig.DomainDiskDriver

classmethod new_from_xml(xml)
Parameters:

xml (str) –

Raises:

GLib.Error

Return type:

LibvirtGConfig.DomainDiskDriver

get_cache()
Return type:

LibvirtGConfig.DomainDiskCacheType

get_copy_on_read()
Return type:

bool

get_discard()
Return type:

LibvirtGConfig.DomainDiskDriverDiscard

get_error_policy()
Return type:

LibvirtGConfig.DomainDiskDriverErrorPolicy

get_format()
Return type:

LibvirtGConfig.DomainDiskFormat

get_io_policy()
Return type:

LibvirtGConfig.DomainDiskDriverIoPolicy

get_name()
Return type:

str

set_cache(cache_type)
Parameters:

cache_type (LibvirtGConfig.DomainDiskCacheType) –

set_copy_on_read(copy_on_read)
Parameters:

copy_on_read (bool) –

set_discard(discard)
Parameters:

discard (LibvirtGConfig.DomainDiskDriverDiscard) –

set_error_policy(policy)
Parameters:

policy (LibvirtGConfig.DomainDiskDriverErrorPolicy) –

set_format(format)
Parameters:

format (LibvirtGConfig.DomainDiskFormat) –

set_io_policy(policy)
Parameters:

policy (LibvirtGConfig.DomainDiskDriverIoPolicy) –

set_name(name)
Parameters:

name (str) –