diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/testimage.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 3e4ffcaca8..11c2ddab98 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
| @@ -240,8 +240,8 @@ def testimage_main(d): | |||
| 240 | # Get use_kvm | 240 | # Get use_kvm |
| 241 | qemu_use_kvm = d.getVar("QEMU_USE_KVM") | 241 | qemu_use_kvm = d.getVar("QEMU_USE_KVM") |
| 242 | if qemu_use_kvm and \ | 242 | if qemu_use_kvm and \ |
| 243 | (oe.types.boolean(qemu_use_kvm) and 'x86' in machine or \ | 243 | (d.getVar('MACHINE') in qemu_use_kvm.split() or \ |
| 244 | d.getVar('MACHINE') in qemu_use_kvm.split()): | 244 | oe.types.boolean(qemu_use_kvm) and 'x86' in machine): |
| 245 | kvm = True | 245 | kvm = True |
| 246 | else: | 246 | else: |
| 247 | kvm = False | 247 | kvm = False |
