]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemuarm64: Add QB_CPU_KVM to allow kvm acceleration
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Oct 2019 00:55:59 +0000 (17:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Oct 2019 09:48:46 +0000 (10:48 +0100)
This allows kvm acceleration on arm systems that support it. "host" is the
best option I can find right now to attempt to use the acceleration. It
potentially might not be correct but arm systems are sensitive to the
correct values and I don't want to encode the autobuilders CPU type here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f13788541f64774a586971ed57699e4397b38b32)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/qemuarm64.conf

index 5c8aac1511a3b4874570010b9470f3ad44144bd3..353ac927d949a65cefe36107e2001308abd06423 100644 (file)
@@ -14,6 +14,7 @@ QB_SYSTEM_NAME = "qemu-system-aarch64"
 QB_MEM = "-m 512"
 QB_MACHINE = "-machine virt"
 QB_CPU = "-cpu cortex-a57"
+QB_CPU_KVM = "-cpu host"
 # Standard Serial console
 QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0"
 # For graphics to work we need to define the VGA device as well as the necessary USB devices