Hi all,

This series fixes libvirt compilation and runtime on systems using a
monolithic kernel compiled without module support (CONFIG_MODULES=n).

Currently, libvirt assumes kernel module support is always available,
which causes build failures or runtime errors on such systems.

Changes:
- virpci: don't fail VFIO passthrough when modules.alias is missing
- virpci: don"t fail VFIO passthrough when /sys/module/*/drivers is
  inaccessible.

Tested on kernel 6.18 with grsecurity and a custom monolithic kernel.

Note this issue has previously been reported there: 
https://gitlab.com/libvirt/libvirt/-/work_items/591

Thanks,
Baptiste Daroussin

Reply via email to