qubes.vm.appvm – Application VM

This module contains the AppVM implementation

class qubes.vm.appvm.AppVM(app, xml, **kwargs)[source]

Bases: qubes.vm.mix.dvmtemplate.DVMTemplateMixin, qubes.vm.qubesvm.QubesVM

Application VM


When domain is loaded assert that this vm has a template.

on_property_pre_reset_template(event, name, oldvalue=None)[source]

Forbid deleting template of running VM

on_property_pre_set_template(event, name, newvalue, oldvalue=None)[source]

Forbid changing template of running VM

on_property_set_template(event, name, newvalue, oldvalue=None)[source]

Adjust root (and possibly other snap_on_start=True) volume on template change.


Template, on which this AppVM is based.


Update storage configuration for TemplateVM changes