Enums

Details

class LibvirtGObject.DomainDeleteFlags(value)

Bases: GObject.GEnum

NONE = 0

No flags

SAVED_STATE = 1

Also remove associated saved state (if present).

SNAPSHOTS_METADATA = 2

If last use of domain, then also remove any snapshot metadata.

REMOVE_NVRAM = 4
KEEP_NVRAM = 8
class LibvirtGObject.DomainRebootFlags(value)

Bases: GObject.GEnum

NONE = 0

No flags, hypervisor choice

ACPI_POWER_BTN = 1

Send ACPI event

GUEST_AGENT = 2

Use guest agent

class LibvirtGObject.DomainShutdownFlags(value)

Bases: GObject.GEnum

NONE = 0

No flags, hypervisor choice

ACPI_POWER_BTN = 1

Send ACPI event

GUEST_AGENT = 2

Use guest agent

class LibvirtGObject.DomainSnapshotCreateFlags(value)

Bases: GObject.GEnum

NONE = 0

No flags

REDEFINE = 1

Restore or alter metadata

ATOMIC = 128

Atomically avoid partial changes

DISK_ONLY = 16

Disk snapshot, not system checkpoint

CURRENT = 2

With redefine, make snapshot current

REUSE_EXT = 32

Reuse any existing external files

NO_METADATA = 4

Make snapshot without remembering it

QUIESCE = 64

Use guest agent to quiesce all mounter file systems within the domain

HALT = 8

Stop running guest after snapshot

class LibvirtGObject.DomainSnapshotDeleteFlags(value)

Bases: GObject.GEnum

CHILDREN = 1

Also delete children

METADATA_ONLY = 2

Delete just metadata

CHILDREN_ONLY = 4

Delete just children

class LibvirtGObject.DomainSnapshotListFlags(value)

Bases: GObject.GEnum

ALL = 0

List all snapshots

DESCENDANTS = 1

List all descendants, not just children, when listing a snapshot. For historical reasons, groups do not use contiguous bits.

ROOTS = 1

Filter by snapshots with no parents, when listing a domain

DISK_ONLY = 128

Filter by snapshots taken while guest was active, but without memory state

NO_METADATA = 16

Filter by snapshots with no metadata

METADATA = 2

Filter by snapshots which have metadata

INTERNAL = 256

Filter by snapshots stored internal to disk images

INACTIVE = 32

Filter by snapshots taken while guest was shut off

LEAVES = 4

Filter by snapshots with no children

EXTERNAL = 512

Filter by snapshots that use files external to disk images

ACTIVE = 64

Filter by snapshots taken while guest was active, and with memory state

NO_LEAVES = 8

Filter by snapshots that have children

class LibvirtGObject.DomainSnapshotRevertFlags(value)

Bases: GObject.GEnum

RUNNING = 1

Run after revert

PAUSED = 2

Pause after revert

FORCE = 4

Allow risky reverts

class LibvirtGObject.DomainState(value)

Bases: GObject.GEnum

NONE = 0
RUNNING = 1
BLOCKED = 2
PAUSED = 3
SHUTDOWN = 4
SHUTOFF = 5
CRASHED = 6
PMSUSPENDED = 7
class LibvirtGObject.DomainUpdateDeviceFlags(value)

Bases: GObject.GEnum

CURRENT = 0

Update current domain state

LIVE = 1

Update state for only active domains

CONFIG = 2

Update state for persistent state only

class LibvirtGObject.DomainXMLFlags(value)

Bases: GObject.GEnum

NONE = 0

No flags

SECURE = 1

Dump security sensitive information too

INACTIVE = 2

Dump inactive domain information

UPDATE_CPU = 4

Update guest CPU requirements according to host CPU

class LibvirtGObject.IPAddrType(value)

Bases: GObject.GEnum

IPV4 = 0

IPv4 Address.

IPV6 = 1

IPv6 Address.

class LibvirtGObject.StoragePoolState(value)

Bases: GObject.GEnum

INACTIVE = 0
BUILDING = 1
RUNNING = 2
DEGRADED = 3
INACCESSIBLE = 4
class LibvirtGObject.StorageVolResizeFlags(value)

Bases: GObject.GEnum

NONE = 0

No flags

ALLOCATE = 1

force allocation of new size

DELTA = 2

size is relative to current

SHRINK = 4

allow decrease in capacity. This combined with LibvirtGObject.StorageVolResizeFlags.DELTA, implies a negative delta.

class LibvirtGObject.StorageVolType(value)

Bases: GObject.GEnum

FILE = 0
BLOCK = 1
DIR = 2