core-admin/qubes
Rusty Bird f96fd70f76
Don't fire domain-stopped/-shutdown while VM is still Dying
Lots of code expects the VM to be Halted after receiving one of these
events, but it could also be Dying or Crashed. Get rid of the Dying case
at least, by waiting until the VM has transitioned out of it.

Fixes e.g. the following DispVM cleanup bug:

    $ qvm-create -C DispVM --prop auto_cleanup=True -l red dispvm
    $ qvm-start dispvm
    $ qvm-shutdown --wait dispvm  # this won't remove dispvm
    $ qvm-start dispvm
    $ qvm-kill dispvm  # but this will
2018-02-22 19:53:29 +00:00
..
api qubespolicy: use '@' instead of '$' for policy keywords 2018-02-19 03:33:40 +01:00
ext Merge remote-tracking branch 'qubesos/pr/185' 2018-01-22 15:32:57 +01:00
qmemman qmemman: fix early crash 2018-01-18 17:36:37 +01:00
storage file-reflink, a storage driver optimized for CoW filesystems 2018-02-12 21:20:05 +00:00
tests Merge remote-tracking branch 'qubesos/pr/190' 2018-02-14 01:29:08 +01:00
tools qmemman: do not close stdout/stderr in daemon mode 2018-01-18 17:36:37 +01:00
vm Don't fire domain-stopped/-shutdown while VM is still Dying 2018-02-22 19:53:29 +00:00
__init__.py cache PropertyHolder.property_list and use O(1) property name lookups 2017-11-11 02:38:16 +01:00
app.py file-reflink, a storage driver optimized for CoW filesystems 2018-02-12 21:20:05 +00:00
backup.py vm/qubesvm: revert backup_timestamp to '%s' format 2018-01-12 05:34:45 +01:00
config.py Add IPv6 related VM properties 2017-12-07 01:40:30 +01:00
core2migration.py Make pylint happy 2017-12-21 18:19:10 +01:00
devices.py devices: clarify error on attaching non-persistent device to stopped VM 2017-10-21 04:05:16 +02:00
dochelpers.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
events.py events: add support for wildcard event handlers 2018-01-06 00:40:19 +01:00
exc.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
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.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
utils.py qubespolicy: use '@' instead of '$' for policy keywords 2018-02-19 03:33:40 +01:00