KVM: ARM: Cortex-A7 support and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] KVM: ARM: Cortex-A7 support and fixes
Hi Gavin,
Quoted 8 lines · Gavin Guo
Quoted 5 lines · Jonathan Austin
This series adds support for using KVM on ARM Cortex-A7 CPUs. As the Cortex-A7 is architecturally identical to the A15 there is not a huge amount of code required, however there are a number of fixups necessary to core KVM code that testing on A7 has revealed.
Quoted 7 lines
Hi Jonathan,
I'd like to help test the kvm on Cortex-A7. I've applied your 3 kernel patches, and download the Virtual Open Systems's kvmtools to test. But the guest os can't be brought up. Could you provide the steps about where to download kvmtools and the command to bring up the guest?
Firstly, if you're on a TC2, you need to make sure the A15s are held in reset, and you need a shim to boot the kernel in hyp mode. For now I'll assume you're *not* in that situation.
Assuming your platform does enter the kernel in Hyp mode (it needs to!) then you need a couple of patches to kvmtool:
http://www.spinics.net/lists/kvm/msg96662.html
At the moment, I think you're still in the business of picking up individual patches from the list - Will (Deacon) has offered to host them in his kvm branch but is waiting until the core A7 support is in Christoffer's 'next'.
Once you've applied the patches, build lkvm and a kernel image, copy them over to your host, then try something like:
/lkvm run /Image -d /fs.img -m 512 -c 2 --console virtio -p "console=hvc0,38400"
Finally have a check in /proc/cpuinfo to be sure that you've got the kind of CPUs you were expecting!
Hope that helps,
Jonny
Quoted 3 lines
Thanks,
Gavin