core-admin/qubes/vm
Marek Marczykowski-Górecki e1f65bdf7b
vm: add shutdown_timeout property, make vm.shutdown(wait=True) use it
vm.shutdown(wait=True) waited indefinitely for the shutdown, which makes
useless without some boilerplate handling the timeout. Since the timeout
may depend on the operating system inside, add a per-VM property for it,
with value inheritance from template and then from global
default_shutdown_timeout property.

When timeout is reached, the method raises exception - whether to kill
it or not is left to the caller.

Fixes QubesOS/qubes-issues#1696
2018-10-26 23:54:04 +02:00
..
mix vm/mix/net: make vm.gateway6 consistent with vm.gateway 2018-04-03 00:20:06 +02:00
__init__.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
adminvm.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
appvm.py
dispvm.py Fix error message when using invalid VM as a template for DispVM 2018-03-05 23:47:33 +01:00
qubesvm.py vm: add shutdown_timeout property, make vm.shutdown(wait=True) use it 2018-10-26 23:54:04 +02:00
standalonevm.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
templatevm.py