core-admin/qubes/tests/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 qubes: port core to python3 2017-01-20 16:42:51 +01:00
__init__.py app: do not create 'default' storage pool 2017-07-25 06:20:42 +02:00
adminvm.py tests: fix AdminVM test 2017-07-29 05:07:45 +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
init.py vm: improve sending events for tags and features 2017-06-14 10:44:23 +02:00
qubesvm.py vm/qubesvm: do not assign all host vCPUs to a qube 2017-07-17 12:33:52 +02:00