summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index f2ff91da9d..614df87d02 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -248,13 +248,7 @@ def testimage_main(d):
248 boottime = int(d.getVar("TEST_QEMUBOOT_TIMEOUT")) 248 boottime = int(d.getVar("TEST_QEMUBOOT_TIMEOUT"))
249 249
250 # Get use_kvm 250 # Get use_kvm
251 qemu_use_kvm = d.getVar("QEMU_USE_KVM") 251 kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH'))
252 if qemu_use_kvm and \
253 (d.getVar('MACHINE') in qemu_use_kvm.split() or \
254 oe.types.boolean(qemu_use_kvm) and 'x86' in machine):
255 kvm = True
256 else:
257 kvm = False
258 252
259 # TODO: We use the current implementatin of qemu runner because of 253 # TODO: We use the current implementatin of qemu runner because of
260 # time constrains, qemu runner really needs a refactor too. 254 # time constrains, qemu runner really needs a refactor too.