systemd/rules
Thomas Huth d35d6249d5 rules: Mark the kvm device as static_node (for s390x and ppc64) (#7795)
On s390x and ppc64, the permissions of the /dev/kvm device are currently
not right as long as the kvm kernel module has not been loaded yet. The
kernel module is using MODULE_ALIAS("devname:kvm") there, so the module
will be loaded on the first access to /dev/kvm. In that case, udev needs
to apply the permission to the static node already (which was created via
devtmpfs), i.e. we have to specify the option "static_node=kvm" in the
udev rule.

Note that on x86, the kvm kernel modules are loaded early instead (via the
MODULE_DEVICE_TABLE(x86cpu, ...) feature checking), so that the right module
is loaded for the Intel or AMD hypervisor extensions right from the start.
Thus the "static_node=kvm" is not required on x86 - but it also should not
hurt here (and using it here even might be more future proof in case the
module loading is also done delayed there one day), so we just add the new
option to the rule here unconditionally.
2018-01-08 10:49:15 +01:00
..
50-udev-default.rules.in rules: Mark the kvm device as static_node (for s390x and ppc64) (#7795) 2018-01-08 10:49:15 +01:00
60-block.rules rules: watch metadata changes in mmcblk devices (#6050) 2017-05-30 15:19:03 +02:00
60-cdrom_id.rules rules: allow SPARC vdisk devices when identifying CD drives (#5599) 2017-03-20 11:22:54 +01:00
60-drm.rules rules: add persistent by-path drm rules (#5337) 2017-02-14 10:18:27 +01:00
60-evdev.rules rules: move input_id rule to a separate file 2017-06-27 13:28:10 +02:00
60-input-id.rules hwdb: add a hwdb file to override ID_INPUT assignments 2017-10-30 10:57:18 +10:00
60-persistent-alsa.rules move imported udev into place 2012-04-04 05:05:07 +02:00
60-persistent-input.rules rules: run all persistent-input rules for rmi and i8042 (#7287) 2017-11-10 10:32:51 +01:00
60-persistent-storage-tape.rules rules: UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG property (#3714) 2016-07-15 18:47:42 +02:00
60-persistent-storage.rules rules: Add MODEL_ID for NVMe device (#7037) 2017-10-10 10:03:38 +02:00
60-persistent-v4l.rules udev: move all unconditionally installed rules to rules/ 2012-04-14 20:10:03 +02:00
60-sensor.rules rules: allow quirks for platform input accelerometers 2017-03-03 21:23:39 +01:00
60-serial.rules rules: merge tty and serial rules file 2015-03-12 17:22:19 +01:00
64-btrfs.rules.in fix path in btrfs rule (#6844) 2017-09-15 21:28:24 +02:00
70-joystick.rules hwdb: Add ID_INPUT_JOYSTICK_INTEGRATION property (#5413) 2017-06-26 12:17:36 +02:00
70-mouse.rules hwdb: add rule and first entry for PS/2 mice 2014-12-24 08:08:23 +10:00
70-touchpad.rules hwdb: add a 70-touchpad.hwdb to tag internal vs external touchpads 2016-07-01 15:25:34 +10:00
75-net-description.rules rules: net, tty description - ask hwdb explicitly for pci data 2013-07-21 16:33:27 +02:00
75-probe_mtd.rules build-sys: make loadable module support optional 2012-11-20 19:35:27 +01:00
78-sound-card.rules rules: identify internal sound cards on platform bus (#4893) 2016-12-15 23:11:11 +01:00
80-drivers.rules rules: load drivers only on "add" events 2017-09-11 21:04:34 +02:00
80-net-setup-link.rules udev: import the full db on MOVE events for devices without dev_t 2014-09-09 15:03:49 +02:00
99-systemd.rules.in Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
meson.build meson: re-attach rule-syntax-check.py test 2017-11-22 12:46:08 +01:00