diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-30 17:55:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-01 10:48:59 +0100 |
commit | 40e28b6b9a9e07ed83723e0cea956266d7499c7c (patch) | |
tree | e8b17b1ad7a74dda28f12828ec538ed25bcac5e3 | |
parent | 411624fa506a74eba7f1b1e159bd1a2286aa6686 (diff) | |
download | poky-40e28b6b9a9e07ed83723e0cea956266d7499c7c.tar.gz |
qemuarm64: Add QB_CPU_KVM to allow kvm acceleration
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.
(From OE-Core rev: 20a61476a45d5116dc7081e802b2aaa0bab7e77f)
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>
-rw-r--r-- | meta/conf/machine/qemuarm64.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index 5c8aac1511..353ac927d9 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf | |||
@@ -14,6 +14,7 @@ QB_SYSTEM_NAME = "qemu-system-aarch64" | |||
14 | QB_MEM = "-m 512" | 14 | QB_MEM = "-m 512" |
15 | QB_MACHINE = "-machine virt" | 15 | QB_MACHINE = "-machine virt" |
16 | QB_CPU = "-cpu cortex-a57" | 16 | QB_CPU = "-cpu cortex-a57" |
17 | QB_CPU_KVM = "-cpu host" | ||
17 | # Standard Serial console | 18 | # Standard Serial console |
18 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" | 19 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" |
19 | # For graphics to work we need to define the VGA device as well as the necessary USB devices | 20 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |