Has anyone tried using KVM with the Juno board? It doesn't look like the bootloader starts the cores in hypervisor mode, so it's not clear to me whether the current system software will support a hypervisor at the moment, even with the appropriate kernel options selected. Are there any plans to support it?
Yes A53 is not yet added in the kvmtool. I should have been explicit about this in
my earlier reply. I just mentioned that I have tested on A57, sorry for that.
Instead of taking troubles to make CPU4 boot cpu, how about using taskset to
affine the task to A57. I use it in that way, something like:
$ taskset 0x30 ./lkvm run <arg_list_you_are_using_now>
In my case it appears that KVM isn't initializing at all. I'm missing /dev/kvm (which I assumed was related to the dmesg output I posted earlier). In your experiments, do you have the /dev/kvm device? I haven't tried kvmtool because I assumed that nothing would work without the /dev/kvm device.
It is not initializing because you are probably using an ancient kernel (pre 3.16), which doesn't recognize A53 as a valid CPU for virtualization. Please use a recent enough kernel.
As Sudeep mentioned above, you will also need an updated userspace (or use the taskset workaround).
Thanks,
M.