[yocto] [yocto-autobuilder][PATCH] enable use of kvm with qemux86*

Bill Randle william.c.randle at intel.com
Tue Aug 16 16:10:33 PDT 2016


When used with corresponding oe-core patch, this will enable the use
of kvm when running qemux86* images on a x86* host that supports kvm.
On the same build machine, for an x86_64 testimage run, the with and
without times are:
  without kvm:
    core-image-sato-1.0-r0 do_testimage: Ran 43 tests in 728.726s
    core-image-sato-sdk-1.0-r0 do_testimage: Ran 52 tests in 1090.838s
  with kvm:
    core-image-sato-1.0-r0 do_testimage: Ran 43 tests in 60.255s
    core-image-sato-sdk-1.0-r0 do_testimage: Ran 52 tests in 71.719s

[YOCTO #9298]

Signed-off-by: Bill Randle <william.c.randle at intel.com>
---
 config/autobuilder.conf.example | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config/autobuilder.conf.example b/config/autobuilder.conf.example
index 9179d14..96bc4c6 100644
--- a/config/autobuilder.conf.example
+++ b/config/autobuilder.conf.example
@@ -60,6 +60,9 @@ RESOLVE_TRIGGERED_HEAD = True
 DEVKERNEL_MUT_REPO = "{'git://git.yoctoproject.org/poky-contrib':['stage/master_under_test', 'sgw/mut']}"
 DEVKERNEL = "linux-yocto-dev"
 
+[TestSettings]
+QEMU_USE_KVM = "True"
+
 [ADTREPO Settings]
 ADTREPO_POPULATE = False
 ADTREPO_DEV_POPULATE = True
-- 
2.5.5




More information about the yocto mailing list