]> code.ossystems Code Review - openembedded-core.git/commit
qemuarm64: Add -machine gic-version=3 with kvm
authorKhem Raj <raj.khem@gmail.com>
Sat, 29 Feb 2020 19:18:41 +0000 (11:18 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Mar 2020 08:20:32 +0000 (08:20 +0000)
commit17e93c6464184d137b9590f17bfa879ae79d0cfc
tree419100dfa29cb4091b8917726d9aabe32994b6c5
parent15fe7de55b90293a588703700b3de72cf95ecd79
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/qemuarm64.conf