-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hey @qaz6750,
Fist at all great job of keeping this fork alive. 👍👍
I have one issue to enable KVM on the kernel compilation level for my Xiaomi K20 PRO (raphael) (Snapdragon 855+ CPU based)
I added the below flags to the kernel .config:
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_KVM_MMIO=y
following this thread is seems to be doable? https://www.reddit.com/r/termux/comments/tej7yz/qemu_with_kvm_enable/ ?
The compilation went well, the device is booting fine, even on the extracted config version contain the set flags but still on OS (Debian) level KVM seems to be not enable?
I have some suspicion that something KVM specific is not fully combined into kernel so debian can't load it?
I attached the full config that I'm using to compile the kernel (with the upper flags there).
Few technical points:
- I checked KVM aviability via
sudo kvm-ok
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
modprobe: FATAL: Module msr not found in directory /lib/modules/6.16.9-sm8150
- Same as for
sudo modprobe kvm
[sudo modprobe kvm](modprobe: FATAL: Module kvm not found in directory /lib/modules/6.16.9-sm8150)
- I'm compiling the kernel with ARM64 GCC :
sudo make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KBUILD_BUILD_VERSION=6.17.0 -j4based on thelinux-xiaomi-6.16.yrepo branch.
Did I miss something? I have read that setting the flags and kernel recompile should make a job but it isn't? :)
Thx in advance for the answer.
Best
igorak87