Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4941

Advanced users • Re: RPI5: Unable to enable kvm in qemu after replacing host kernel and enabling vfio

$
0
0
Hello @redvli

could you share again the configuration you used? (link does not work)

I'm strugling with KVM and 6.12.

Thanks
It is not me who posted the URL to configs (but @ruiqurm). I do not have a Pi5. I saw your message in the 6.12 RPi kernel topic. It also would affect me if the problem would not only be Pi5 related. That is the question. Is it a Pi5 (so 16k pages kernel) or a Pi3 or Pi4?

The Odroid you mention is 4x Cortex-A53, same as Pi3. Those run kernel8, so standard 4k pages. Pi4 is Cortex-A72, also kernel8 / standard 4k pages. W.r.t. KVM, they can run 32-bit VM still, the Pi5 (Cortex-A76) cannot. But that is not the case/problem here I think. I can run 64-bit VM on RK3588S using 6.12.2 mainline (4k pages), works fine even the big.LITTLE (4x Cortex-A76 + 4x Cortex-55) dynamic allocation works, that was a showstopper earlier.

You could boot a Pi5 with kernel8 (set kernel=kernel8.img in config.txt or remove the 2712/16k kernel) and see if it works.

For Pi4 I might go to vanilla Debian (Testing) so using a the generic arm64 kernel. That one is also able to run itself in a VM, the RPi vendor kernel does not. I do that already for a Pi3 for more than a year.

Statistics: Posted by redvli — Fri Dec 13, 2024 3:18 pm



Viewing all articles
Browse latest Browse all 4941

Trending Articles