Skip to contentSkip to conversation

enable use of kvm with qemux86*

PATCH Superseded Bill Randle 2 participants 2 messages Aug 16, 2016 – Aug 17, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 enable use of kvm with qemux86*

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]

---
 config/autobuilder.conf.example | 3 +++
 1 file changed, 3 insertions(+)
config/autobuilder.conf.example +3 -0
index 9179d14..96bc4c6 100644
@@ -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
Signature · 1 line
2.5.5
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Bill Randle

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
Quoted 3 lines

[YOCTO #9298]

Quoted 19 lines
---
 config/autobuilder.conf.example | 3 +++
 1 file changed, 3 insertions(+)
config/autobuilder.conf.example +3 -0
index 9179d14..96bc4c6 100644
@@ -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