core-admin/qubes/tests
HW42 b907303a39 qubes/vm: Improve stopped event handling
The previous version did not ensure that the stopped/shutdown event was
handled before a new VM start. This can easily lead to problems like in
QubesOS/qubes-issues#3164.

This improved version now ensures that the stopped/shutdown events are
handled before a new VM start.

Additionally this version should be more robust against unreliable
events from libvirt. It handles missing, duplicated and delayed stopped
events.

Instead of one 'domain-shutdown' event there are now 'domain-stopped'
and 'domain-shutdown'. The later is generated after the former. This way
it's easy to run code after the VM is shutdown including the stop of
it's storage.
2017-10-21 05:57:57 +02:00
..
integ qubes/vm: Improve stopped event handling 2017-10-21 05:57:57 +02:00
tools Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
vm Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
__init__.py Merge branch 'tests-20171020' 2017-10-21 04:33:35 +02:00
api_admin.py tests: fix typo 2017-10-21 04:05:15 +02: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 Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02: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 Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
storage_kernels.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
storage_lvm.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02: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