Hi Andre,
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 (I guess these are the right configuration files), they are
layers/meta-arm/meta-arm-bsp/recipes-kernel/linux/files/tc0/defconfig:CONFIG_KVM=y
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 as followsI try three commands, "kvm-ok", "dmesg | grep KVM", and "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 do not mention anything about KVM.
And this is the FVP booting command in the scripts:
===
/FVP_Base_RevC-2xAEMv8A
-C pctl.startup=0.0.0.0
-C bp.secure_memory=0
-C cluster0.NUM_CORES=1
-C cluster1.NUM_CORES=1
-C cache_state_modelled=0
-C bp.pl011_uart0.untimed_fifos=1
-C bp.pl011_uart0.unbuffered_output=1
-C bp.pl011_uart0.out_file=uart0-1624328932274439497.log
-C bp.pl011_uart1.out_file=uart1-1624328932274439497.log
-C bp.secureflashloader.fname=<workspace>/build-poky/tmp-poky/deploy/images/fvp-base/bl1-fvp.bin
-C bp.flashloader0.fname=<workspace>/build-poky/tmp-poky/deploy/images/fvp-base/fip-fvp.bin
-C bp.hostbridge.interfaceName=tap0
-C bp.smsc_91c111.enabled=1
--data cluster0.cpu0=<workspace>/build-poky/tmp-poky/deploy/images/fvp-base/Image@0x80080000
--data cluster0.cpu0=<workspace>/build-poky/tmp-poky/deploy/images/fvp-base/fvp-base-gicv3-psci-custom.dtb@0x83000000
-C bp.ve_sysregs.mmbSiteDefault=0
-C bp.ve_sysregs.exit_on_shutdown=1
-C bp.virtioblockdevice.image_path=<workspace>/build-poky/tmp-poky/deploy/images/fvp-base/core-image-minimal-fvp-base.disk.img
===
If you can provide any kind of help, I appreciate it very much.