Go to file
HW42 b467dd6218
QubesWatch: do not create multiple dom0 QubesDB connections
When calling _register_watches() multiple times for dom0 (by passing
None or since 7e9c816b by passing the corresponding libvirt domain) the
check was missing if there is already a QubesDB in _qdb. Therefore a new
QubesDB was created and the old one is destroyed by the GC. As a
consequence the watch_fd is closed but the libvirt event handle for this
fd is still registered. So when libvirt calls poll() it returns
immediately POLLNVAL with the closed fd. This is not caught in libvirt
and the callback is called as if an event happened. _qdb_handler() now
calls read_watch() on the new fd for dom0 and thereby hangs the thread.
This leads (at leads) to qubes-manager to miss VM status updates and
block device events.

Fixes QubesOS/qubes-issues#2178
2016-07-18 15:03:14 +02:00
core QubesWatch: do not create multiple dom0 QubesDB connections 2016-07-18 15:03:14 +02:00
core-modules core: fix handling uses_default_netvm property 2016-07-17 03:56:11 +02:00
dispvm qfile-daemon-dvm: Implement LAUNCH and FINISH actions 2016-06-29 11:59:12 +00:00
doc core: add pci_e820_host property 2016-06-04 16:52:02 +02:00
linux systemd: do not fail qubes-vm@ service when the VM is already running 2015-12-26 11:34:40 +01:00
qmemman qmemman: make memory request handling more defensive 2016-02-22 17:57:30 +01:00
qubes-rpc use shuf rather than od because it is more readable 2016-03-13 01:52:03 +00:00
qubes-rpc-policy Add policy for qubes.OpenURL service 2016-05-18 02:03:48 +02:00
qvm-tools Correct note regarding dom0 home-pre-restore directory 2016-07-16 18:26:15 -07:00
rpm_spec Install dom0 qvm-* tools man pages by default 2016-06-04 16:57:13 +02:00
site-packages add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
site-packages-qmemman Convenient link for qmemman 2014-04-23 12:53:41 +02:00
tests tests: save qubes.xml befor launching qvm-block tests 2016-07-17 05:16:31 +02:00
vm-config core: add pci_e820_host property 2016-06-04 16:52:02 +02:00
.gitignore gitignore 2015-05-04 00:35:57 +02:00
.travis.yml travis: initial version 2016-06-02 11:29:38 +02:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile Add policy for qubes.OpenURL service 2016-05-18 02:03:48 +02:00
Makefile.builder windows: installer 2014-11-19 12:50:30 +01:00
version version 3.2.6 2016-07-17 05:17:57 +02:00