1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00
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
60-drm.rules
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
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
60-persistent-storage.rules rules: Add MODEL_ID for NVMe device (#7037) 2017-10-10 10:03:38 +02:00
60-persistent-v4l.rules
60-sensor.rules
60-serial.rules
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
70-touchpad.rules
75-net-description.rules
75-probe_mtd.rules
78-sound-card.rules
80-drivers.rules rules: load drivers only on "add" events 2017-09-11 21:04:34 +02:00
80-net-setup-link.rules
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