]> git.ipfire.org Git - thirdparty/systemd.git/commit
kmod-setup: fix loading virtio related drivers
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 3 Feb 2026 07:59:49 +0000 (16:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Feb 2026 07:14:54 +0000 (16:14 +0900)
commit6d36e5fae618aeadc6b4ff39db6ec2cfa777543f
tree7debc9bea60b66d5dac98b74ed36bb265f907239
parent2cef4057f59127060ebfa259e87fb97127b0a095
kmod-setup: fix loading virtio related drivers

It seems the device with modalias e.g. virtio:d00000013v, only appears
after the relevant module is loaded. So, we cannot use the string to
determine if we should load the module.

Fixes #40503.
src/core/kmod-setup.c