core-admin/qubes/vm
Marek Marczykowski-Górecki c247ddff72
dispvm: fix setting up new DispVM
Clone properties from DispVM template after setting base properties
(qid, name, uuid). This means we can use standard clone_properties()
function. Otherwise various setters may fail - for example
netvm setter require uuid property initialized (for VM lookup in VM
collection).
Also, make dispvm_allowed check more robust - include direct creation of
DispVM, and also check just before VM startup (if property was changed
in the meantime).

Fixes QubesOS/qubes-issues#3057
2017-09-05 02:07:26 +02:00
..
mix Rename vm.qdb to vm.untrusted_qdb 2017-07-24 13:01:55 +02:00
__init__.py qubes: Allow for explicit closing of objects 2017-08-31 20:30:23 +02:00
adminvm.py vm/adminvm: add default_dispvm property to AdminVM 2017-08-06 20:54:10 +02:00
appvm.py storage: move volume_config['source'] filling to one place 2017-07-26 03:26:11 +02:00
dispvm.py dispvm: fix setting up new DispVM 2017-09-05 02:07:26 +02:00
qubesvm.py fix some more fd leaks 2017-08-31 20:30:24 +02:00
standalonevm.py app: do not create 'default' storage pool 2017-07-25 06:20:42 +02:00
templatevm.py app: do not create 'default' storage pool 2017-07-25 06:20:42 +02:00