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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 45bb2bda3b..7260ad4517 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -215,7 +215,7 @@ def testimage_main(d):
215 # Get use_kvm 215 # Get use_kvm
216 qemu_use_kvm = d.getVar("QEMU_USE_KVM") 216 qemu_use_kvm = d.getVar("QEMU_USE_KVM")
217 if qemu_use_kvm and \ 217 if qemu_use_kvm and \
218 (qemu_use_kvm == 'True' and 'x86' in machine or \ 218 (oe.types.boolean(qemu_use_kvm) and 'x86' in machine or \
219 d.getVar('MACHINE') in qemu_use_kvm.split()): 219 d.getVar('MACHINE') in qemu_use_kvm.split()):
220 kvm = True 220 kvm = True
221 else: 221 else: