Hello,
That is the error message I get when I start up a TX2 with the NVIDIA 4.4 kernel built from the ‘tegra18_defconfig’ .config file with KVM virtualization enabled. Boot-up continues on successfully, but once everything is up the /dev/kvm file never appears.
Trying the generic 4.10 kernel gets me past that step, but then boot-up crashes when I get to the real-time clock step.
Suggestions?
I’ve been guided to stay with the 4.4 kernel since it is known to work with the TX2, but it is very tempting to go with to the 4.10 kernel that I downloaded from kernel.org
Thanks
The 10000x speed decrease is for x86 emulation. I am looking at virtualization of ARM-compiled software, and only at virtualization of the CPU. GPU virtualization is not under consideration.
Thank you for your update.
It seems that arm includes virtualization support since ARM7v-A. But initially ARM architecture didn’t support virtualization. (Paolino 2015)
Could you please let me know if the complete code required for KVM virtualization is ported? If not, do you plan to port the code? I am using Jetson TX1 linux kernel version 4.4 to enable hypervisor mode and it fails with error messages as mentioned by markummitchell
I was able to boot the arm cores in HYP mode and run QEMU/KVM guests with a small device tree modification. change the main interrupt controller section to read:
Hi.
If you have CONFIG_KVM set to “y” rather than “m”, all the KVM functionality is built into the kernel image itself, so there is no separate “kvm.ko”.
I.e. there is nothing to fix, you have KVM already (as evidenced by /dev/kvm being present).
The KVM_ARM_VCPU_INIT ioctl will return invalid argument if the specified virtual CPU type (Cortex-A57 in your case) does not match the physical CPU.
Since two of the cores in the TX2 are Denver 2 rather than Cortex-A57, maybe the qemu process needs to be pinned to one of the actual A57 cores, such as core 0?