qubes.vm.adminvm – Dom0

This module contains the AdminVM implementation

class qubes.vm.adminvm.AdminVM(*args, **kwargs)[source]

Bases: qubes.vm.BaseVM

Dom0

static get_mem()[source]

Get current memory usage of Dom0.

Unit is KiB.

get_mem_static_max()[source]

Get maximum memory available to Dom0.

static get_power_state()[source]

Always 'Running'.

static is_halted()[source]

Always False.

static is_running()[source]

Always True.

kill()[source]

Does nothing.

shutdown()[source]

Does nothing.

start(start_guid=True, notify_function=None, mem_required=None)[source]

Always raises an exception.

suspend()[source]

Does nothing.

verify_files()[source]

Always True

default_dispvm

Default VM to be used as Disposable VM for service calls.

include_in_backups

If this domain is to be included in default backup.

libvirt_domain

Libvirt object for dom0.

untrusted_qdb

QubesDB handle for this domain.

xid

Always 0.