mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 22:03:41 +08:00
d35d6249d5
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. |
||
---|---|---|
.. | ||
50-udev-default.rules.in | ||
60-block.rules | ||
60-cdrom_id.rules | ||
60-drm.rules | ||
60-evdev.rules | ||
60-input-id.rules | ||
60-persistent-alsa.rules | ||
60-persistent-input.rules | ||
60-persistent-storage-tape.rules | ||
60-persistent-storage.rules | ||
60-persistent-v4l.rules | ||
60-sensor.rules | ||
60-serial.rules | ||
64-btrfs.rules.in | ||
70-joystick.rules | ||
70-mouse.rules | ||
70-touchpad.rules | ||
75-net-description.rules | ||
75-probe_mtd.rules | ||
78-sound-card.rules | ||
80-drivers.rules | ||
80-net-setup-link.rules | ||
99-systemd.rules.in | ||
meson.build |