[oe-commits] [openembedded-core] 07/09: qemuarm64: Add QB_CPU_KVM to allow kvm acceleration

git at git.openembedded.org git at git.openembedded.org
Fri May 31 08:08:30 UTC 2019


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 4586f90b5d18e58c370ef8fce089066f226596f3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu May 30 23:06:06 2019 +0100

    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.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/machine/qemuarm64.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index 5c8aac1..353ac92 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -14,6 +14,7 @@ QB_SYSTEM_NAME = "qemu-system-aarch64"
 QB_MEM = "-m 512"
 QB_MACHINE = "-machine virt"
 QB_CPU = "-cpu cortex-a57"
+QB_CPU_KVM = "-cpu host"
 # 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