[oe-commits] [openembedded-core] 07/13: qemuarm64: Add -machine gic-version=3 with kvm

git at git.openembedded.org git at git.openembedded.org
Fri Mar 6 17:14:53 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e559e4d45832bee379be9fb021fa355f1670b3f6
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Feb 29 11:18:41 2020 -0800

    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 at gmail.com>
    Cc: Jon Mason <jdmason at kudzu.us>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/machine/qemuarm64.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index ec2a887..1e2d4f0 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -13,7 +13,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
 QB_SYSTEM_NAME = "qemu-system-aarch64"
 QB_MACHINE = "-machine virt"
 QB_CPU = "-cpu cortex-a57"
-QB_CPU_KVM = "-cpu host"
+QB_CPU_KVM = "-cpu host -machine gic-version=3"
 # 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list