Go to file
Marek Marczykowski-Górecki 0695e7ba78
utils/QubesWatch: register libvirt event loop only when really launched
Registering event implementation in libvirt and then not calling it is
harmful, because libvirt expects it working. Known drawbacks:
- keep-alives are advertised as supported but not really sent (cause
  dropping connections)
- connections are not closed (sockets remains open, effectively leaking
  file descriptors)

So call libvirt.virEventRegisterDefaultImpl only when it will be really
used (libvirt.virEventRunDefaultImpl called), which means calling it in
QubesWatch. Registering events implementation have effect only on new
libvirt connections, so start a new one for QubesWatch.

Fixes QubesOS/qubes-issues#1380
2015-11-07 03:51:51 +01:00
core utils/QubesWatch: register libvirt event loop only when really launched 2015-11-07 03:51:51 +01:00
core-modules Fix race condition in QubesVm.get_cputime/get_mem 2015-10-27 21:35:02 +01:00
dispvm dispvm: get rid of obsolete symlinks to dvm.conf 2015-10-10 05:22:44 +02:00
doc core: inherit kernelopts from the template by default 2015-08-05 01:43:43 +02:00
linux Merge remote-tracking branch 'qubesos/pr/5' 2015-08-01 22:04:18 +02:00
qmemman Merge remote-tracking branch 'origin/pr/7' into HEAD 2015-10-10 05:22:13 +02:00
qubes-rpc notify-updates: ignore chown error 2015-10-10 05:22:43 +02:00
qubes-rpc-policy qubes-rpc-policy/qubes.GetImageRGBA.policy 2014-05-20 17:49:20 +02:00
qvm-tools dispvm: get rid of obsolete symlinks to dvm.conf 2015-10-10 05:22:44 +02:00
rpm_spec Add support for 'pci_strictreset' option 2015-05-28 00:11:17 +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: fix race condition in copy-paste test 2015-11-03 02:47:08 +01:00
vm-config hvm: change default graphics to std vga ('xen') 2015-07-01 04:44:41 +02:00
.gitignore gitignore 2015-05-04 00:35:57 +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 dispvm: do not treat DispVMs as Xen-specific 2015-03-30 05:30:52 +02:00
Makefile.builder windows: installer 2014-11-19 12:50:30 +01:00
version version 3.1.1 2015-10-11 02:52:51 +02:00