qubes.vm.appvm – Application VM

This module contains the AppVM implementation

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

Bases: qubes.vm.qubesvm.QubesVM

Application VM

on_domain_loaded(event)[source]

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

on_property_pre_del_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.

dispvms

Returns a generator containing all Disposable VMs based on the current AppVM.

template

Template, on which this AppVM is based.

template_for_dispvms

Should this VM be allowed to start as Disposable VM