diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index bfe5714454..a259423c22 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -210,7 +210,9 @@ def testimage_main(d): | |||
210 | 210 | ||
211 | # Get use_kvm | 211 | # Get use_kvm |
212 | qemu_use_kvm = d.getVar("QEMU_USE_KVM") | 212 | qemu_use_kvm = d.getVar("QEMU_USE_KVM") |
213 | if qemu_use_kvm and qemu_use_kvm == 'True' and 'x86' in machine: | 213 | if qemu_use_kvm and \ |
214 | (qemu_use_kvm == 'True' and 'x86' in machine or \ | ||
215 | d.getVar('MACHINE') in qemu_use_kvm.split()): | ||
214 | kvm = True | 216 | kvm = True |
215 | else: | 217 | else: |
216 | kvm = False | 218 | kvm = False |