Since the last few days I have been trying to enable KVM on the Jetson TX2 board (L4T 28.2).
First I have built the kernel, enabling the virtualization + kvm option.
For this, I used the following tutorial: http://www.jetsonhacks.com/2017/07/31/build-kernel-ttyacm-module-nvidia-jetson-tx2/
Edit: I’m building the kernel with the script provided in this tutorial, I also added the “make dbts” instruction.
I got a compilation error when building the module, so I had to apply this patch:
*note that the patch is for version 28.1 but should work for version 28.2
This patch should also fix the following bug, but It doesn’t:
Apr 18 11:20:02 tegra-ubuntu kernel: [ 0.413555] kvm : error getting vgic maintenance irq from DT Apr 18 11:20:02 tegra-ubuntu kernel: [ 0.413613] kvm : error initializing Hyp mode: -6
I think the device tree is not being updated correctly or that the virtualization extensions are not enabled by the BIOS.
Am I missing something?
Thank you in advance.