PINE64
Virtualization Support - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: Virtualization Support (/showthread.php?tid=204)

Pages: 1 2


RE: Virtualization Support - mgamble - 07-10-2016

(02-22-2016, 04:00 PM)longsleep Wrote: Apritzel has fixed the ATF to boot the CPU in EL2 - KVM works kind of (see http://paste.ubuntu.com/15174425/ for a bootlog of a guest) until the host BSP Kernel crashes with http://paste.ubuntu.com/15174460/ - so some work to be done here or wait for a suitable mainline Kernel.


Update:

Ok, @apritzel also remembered the fix - so i added it to my Kernel tree (https://github.com/longsleep/linux-pine64/commit/2d4c3da2c6adf3b0de46aba25c7cc6a5c90a3bb9) and now KVM works. See http://paste.ubuntu.com/15174728/ for full guest boot log to shell.

Thats some progress i would say. KVM guest with Pine64 host - check!

Can you provide some high level bullet points of what needs to be done to get KVM working?  I have your latest kernel and u-boot installed but I can't find any directions in any of the threads on how to boot into a hypervisor capable kernel.  Any pointers / coles notes would be greatly appreciated.


RE: Virtualization Support - longsleep - 07-10-2016

Nothing needs to be done. It works out of the box. An easy KVM environment can be run with https://git.kernel.org/cgit/linux/kernel/git/will/kvmtool.git/


RE: Virtualization Support - mont3z - 07-14-2016

(07-10-2016, 01:11 PM)longsleep Wrote: Nothing needs to be done. It works out of the box. An easy KVM environment can be run with https://git.kernel.org/cgit/linux/kernel/git/will/kvmtool.git/

Sorry to ask but why this commit was done only for branch pine64-hacks and not pine64-hacks-1.2? I'm mostly using the later. Thx.

EDIT: Please, ignore my comment. Just saw it's committed to 1.2.