summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-02-29 11:18:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-08 08:21:10 +0000
commitfe948c3c9527a239c4ddab8a462d85524c6cd101 (patch)
treecd55772242c6f5b6f8ecbaa299ea80690925030c /meta/conf
parent517f511039ef7f88ecd2ee1c2cdcb1f779aa4f4d (diff)
downloadpoky-fe948c3c9527a239c4ddab8a462d85524c6cd101.tar.gz
qemuarm64: Add -machine gic-version=3 with kvm
qemuarm64 on aarch64 host errors out when using kvm qemu-system-aarch64: PMU: KVM_SET_DEVICE_ATTR: Invalid argument qemu-system-aarch64: failed to set irq for PMU Aborted machines with GICv3 that don’t support GICv2 guests you must have ‘-machine gic-version=3’ on the QEMU command line. (From OE-Core rev: 17e93c6464184d137b9590f17bfa879ae79d0cfc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/qemuarm64.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index ec2a887bdd..1e2d4f018d 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -13,7 +13,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
13QB_SYSTEM_NAME = "qemu-system-aarch64" 13QB_SYSTEM_NAME = "qemu-system-aarch64"
14QB_MACHINE = "-machine virt" 14QB_MACHINE = "-machine virt"
15QB_CPU = "-cpu cortex-a57" 15QB_CPU = "-cpu cortex-a57"
16QB_CPU_KVM = "-cpu host" 16QB_CPU_KVM = "-cpu host -machine gic-version=3"
17# Standard Serial console 17# Standard Serial console
18QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" 18QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0"
19# For graphics to work we need to define the VGA device as well as the necessary USB devices 19# For graphics to work we need to define the VGA device as well as the necessary USB devices