Go to file
Marek Marczykowski-Górecki 202e3df6b6
vm/mixin/net: disconnect network interface on backend shutdown/crash
Since we have more reliable domain-shutdown event delivery (it si
guaranteed to be delivered before subsequent domain start, even if
libvirt fails to report it), it's better to move detach_network call to
domain-shutdown handler. This way, frontend domain will see immediately
that the backend is gone. Technically it already know that, but at least
Linux do not propagate that anywhere, keeping the interface up,
seemingly operational, leading to various timeouts.
Additionally, by avoiding attach_network call _just_ after
detach_network call, it avoids various race conditions (like calling
cleanup scripts after new device got already connected).

While libvirt itself still doesn't cleanup devices when the backend
domain is gone, this will emulate it within qubesd.

Fixes QubesOS/qubes-issues#3642
Fixes QubesOS/qubes-issues#1426
2019-02-27 06:03:57 +01:00
ci Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
contrib events: add support for async event handlers 2017-07-04 13:04:22 +02:00
doc doc: fix paths of jinja templates for libvirt Xen configuration 2019-02-20 23:49:57 +01:00
etc Replace pool config parsing logic 2016-04-25 07:16:37 +02:00
linux Add logrotate for qubes logs 2019-01-19 03:25:20 +01:00
qubes vm/mixin/net: disconnect network interface on backend shutdown/crash 2019-02-27 06:03:57 +01:00
qubes-rpc Add qubes.GetDate proxy service 2018-03-03 03:50:58 +01:00
qubes-rpc-policy comments 2018-08-08 09:38:45 +00:00
qubespolicy Adjust test for fixed typo 2018-12-07 14:19:11 +01:00
qvm-tools add missing /sbin/ to hwclock call (so it will work as cronjob) 2018-09-10 17:24:35 +02:00
relaxng Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rpm_spec Merge branch 'devel-20181130' 2019-01-22 00:30:44 +01:00
templates Merge branch 'maxmem' 2018-12-09 18:38:21 +01:00
test-packages Fix starting VM with kernel=None 2017-12-14 23:26:52 +01:00
tests tests: migrate qvm-block tests to core3 2018-10-10 00:44:15 +02:00
.coveragerc add config for coverage.py 2015-10-12 16:40:46 +02:00
.gitignore run-tests: Script for running tests in repo 2016-04-20 13:54:56 +02:00
.pylintrc Remove obsolete options from .pylintrc 2016-07-21 12:21:00 +02:00
.travis.yml tracis-ci: add support for fc29 dom0 2018-11-22 19:34:58 +01:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
Makefile qubes/features: check_with_(template_and_)adminvm 2018-12-20 18:28:33 +01:00
Makefile.builder rpm: integrate -doc package into main one 2017-05-12 18:43:35 +02:00
README.md Update readme 2017-10-16 04:16:23 +02:00
run-tests tests: rearrage LVM thin tests to run at least some in devel env 2017-05-12 18:10:17 +02:00
setup.cfg Add yapf configuration to setup.cfg 2016-07-21 12:11:34 +02:00
setup.py Update windows-related feature requests 2018-07-16 22:02:58 +02:00
version version 4.0.39 2019-02-19 22:33:59 +01:00

Qubes core, version 3

Build Status

This is master branch of the Qubes OS core.

API documentation is available: https://dev.qubes-os.org/projects/core-admin/en/latest/.