summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-30 23:06:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-31 15:36:20 +0100
commit6a28a193906f07bdc52c12c9af7cb101d867856f (patch)
tree06a4a566e9705c5a82bd168a3cbaa1fd486480fa /meta
parente1afa8762c126eb963f4cf506404a734571c8389 (diff)
downloadpoky-6a28a193906f07bdc52c12c9af7cb101d867856f.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: f13788541f64774a586971ed57699e4397b38b32) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/qemuarm64.conf1
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"
14QB_MEM = "-m 512" 14QB_MEM = "-m 512"
15QB_MACHINE = "-machine virt" 15QB_MACHINE = "-machine virt"
16QB_CPU = "-cpu cortex-a57" 16QB_CPU = "-cpu cortex-a57"
17QB_CPU_KVM = "-cpu host"
17# Standard Serial console 18# Standard Serial console
18QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" 19QB_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