This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to enable KVM-support on FVP? How to run ARM64 KVM on FVP?

Greetings!

I am trying to boot ARM64 KVM on FVP.

I follow the document https://git.linaro.org/landing-teams/working/arm/arm-reference-platforms.git/about/docs/basefvp/user-guide.rst, and I build a Linux-on-FVP environment successfully. However, I still cannot boot KVM, the details are as follows:

 

1.I make sure that two configuration files enable KVM, they are

<workspace>/layers/meta-arm/meta-arm-bsp/recipes-kernel/linux/files/tc0/defconfig:CONFIG_KVM=y

<workspace>/build-poky/tmp-poky/work-shared/fvp-base/kernel-source/arch/arm64/configs/defconfig:CONFIG_KVM=y

 

2.I follow the document https://git.linaro.org/landing-teams/working/arm/arm-reference-platforms.git/about/docs/basefvp/user-guide.rst. After building the whole software stack, I try several commands but the results show that KVM does not work. The screenshots are shown in the attachments.I try three commands, "kvm-ok", "dmesg | grep KVM", "grep -E -o 'vmx|svm' /proc/cpuinfo", but all of them show negative results.

I guess maybe the reason is that FVP configuration uses a KVM-unsupport CPU, but I do not know the right configuration, and the FVP documents does not mention anything about KVM.

 

If you can provide any kind of help, I appreciate it very much.

Sincerely,

Yinhua