core-admin/qubes/tests
Marek Marczykowski-Górecki 0afee4b05e
Improve checking for netvm loop
There were many cases were the check was missing:
 - changing default_netvm
 - resetting netvm to default value
 - loading already broken qubes.xml

Since it was possible to create broken qubes.xml using legal calls, do
not reject loading such file, instead break the loop(s) by setting netvm
to None when loop is detected. This will be also useful if still not all
places are covered...

Place the check in default_netvm setter. Skip it during qubes.xml loading
(when events_enabled=False), but still keep it in setter, to _validate_ the
value before any property-* event got fired.
2017-12-05 17:39:33 +01:00
..
integ tests: fix deadlock in filecopy test 2017-12-05 17:39:32 +01:00
tools Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
vm Improve checking for netvm loop 2017-12-05 17:39:33 +01:00
__init__.py tests: make waiting for window asyncio aware 2017-12-05 17:39:32 +01:00
api_admin.py api/admin: add API for changing revisions_to_keep dynamically 2017-11-07 02:57:59 +01:00
api_misc.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
api.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
app.py Improve checking for netvm loop 2017-12-05 17:39:33 +01:00
devices_block.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
devices.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
events.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
ext.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
extra.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
firewall.py firewall: skip expired rules 2017-10-21 03:35:00 +02:00
init.py Merge branch 'tests-20171020' 2017-10-21 04:33:35 +02:00
run.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
storage_file.py storage/file: move revisions_to_keep restrictions to property setter 2017-11-07 02:57:59 +01:00
storage_kernels.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
storage_lvm.py storage: add size and usage properties to pool object 2017-11-07 02:57:58 +01:00
storage.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00