在 2022年9月5日星期一 CST 下午5:12:27,[email protected] 写道: > I upgraded to 5.19.6 today ,using the source code pack of xanmod-sources > provided by gentoo-zh. > I use kvmgt function till 5.18.19,however,when I use "make olddefconfig" and > compile/install the kernel today ,kvmgt dont work. > But when I switched back to 5.18.9,it works again!And I use "lsmod|grep > kvmgt" and "lsmod |grep mdev",finding that kvmgt,mdev are correctly loaded > but vifo is not loaded and cannot be loaded by modprobe vifo,modprobe > vfio-iommu-type1. This is my commandline: > root=PARTUUID=51206061-2e7d-c64b-baa4-e8fbbb937930 rootflags=subvol=rootfs > quiet splash nvidia-drm.modeset=1 loglevel=3 intel_iommu=on > i915.enable_guc=0 resume=PARTUUID=51206061-2e7d-c64b-baa4-e8fbbb937930 > resume_offset=22254052 i915.enable_gvt=1
I've got it wrong. When I use lsmod|grep vfio,I saw vfio loaded but not used by mdev. So I think it might be some changes happened to the kernel config that this link between mdev and vfio had been broken.

