Go to file
Marek Marczykowski-Górecki 764b0f3f07
udev: major cleanup in block devices handling
1. Do not detach device forcefully when it's removed. This breaks
libvirt (which thinks the device is still there). After this change, it
is possible to detach device using libvirt, even if it was already
removed physically from backend domain (unless it is dom0 - in which
case it is still broken). So, this is partial fix for
QubesOS/qubes-issues#1082.

2. Do not trigger "change" udev event when only QubesDB state needs to
be updated - this leads to massive udev events queue, and heavy I/O
usage - for example scanning all LVM many times. In some cases it even
caused infinite event queue.

3. Do not use QUBES_EXPOSED udev property - it was needed a while back
before QubesDB, because concurrent xenstore accesses are expensive
(because of transactions). It isn't the problem on QubesDB.

4. Cache information about device-mapper, so it is possible to
reconstruct it at device remove - when the actual device cannot be
queried anymore. This is specifically about list of lower layer devices
used.

5. Allow excluding loop devices pointing at a file in directory marked
with ".qubes-exclude-block-devices" file. This is more generic than
hardcoding /var/lib/qubes.

QubesOS/qubes-issues#3084
Fixes QubesOS/qubes-issues#3073
QubesOS/qubes-issues#1082
2017-09-12 04:25:34 +02:00
archlinux Add python-setuptools to build depends 2017-04-08 13:58:33 +02:00
debian version 4.0.5 2017-08-11 13:34:11 +02:00
dracut initramfs: use symlink for rw root.img, instead of dm-linear 2017-06-12 13:02:31 +02:00
imgconverter Fix off-by-one error in header length calculation 2017-08-11 09:43:41 -04:00
initramfs-tools debian: introduce qubes-kernel-vm-support package 2015-11-11 05:10:59 +01:00
kernel-modules u2mfn: get mfn via pte 2017-07-05 20:21:22 +02:00
pkgs archlinux: created build scripts 2013-04-17 01:48:28 +02:00
qmemman qmemman-meminfo-writer: send simplified meminfo value 2017-04-08 13:58:33 +02:00
qrexec-lib Fall back to sync() if syncfs() is unavailable 2017-06-16 16:13:44 +00:00
rpm_spec rpm: add missing build requires 2017-05-18 01:23:23 +02:00
udev udev: major cleanup in block devices handling 2017-09-12 04:25:34 +02:00
.gitignore gitignore 2014-07-26 03:36:31 +02:00
.travis.yml travis: drop fc23 vm packages building 2017-04-10 11:01:46 +02:00
Makefile Package imgconverter as separate Python module 2017-04-08 13:58:32 +02:00
Makefile.builder Add VM kernel related files as qubes-core-vm-kernel-support package 2015-03-25 23:25:33 +01:00
version version 4.0.5 2017-08-11 13:34:11 +02:00