qubes.vm.templatevm – Template for AppVM

This module contains the TemplateVM implementation

class qubes.vm.templatevm.TemplateVM(*args, **kwargs)[source]

Bases: QubesVM

Template for AppVM

on_property_set_child(_event, name, newvalue, oldvalue=None)[source]

Send event about default value change to child VMs (which use default inherited from the template).

This handler is supposed to be set for properties using _default_with_template() function for the default value.

property appvms

Returns a generator containing all domains based on the current TemplateVM.

dir_path_prefix = 'vm-templates'

directory in which domains of this class will reside


VM that provides network connection to this domain. When None, machine is disconnected.