summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/runqemu.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py b/meta/lib/oeqa/selftest/cases/runqemu.py
index 4e35bb97e3..f69d4706a5 100644
--- a/meta/lib/oeqa/selftest/cases/runqemu.py
+++ b/meta/lib/oeqa/selftest/cases/runqemu.py
@@ -5,6 +5,7 @@
5import re 5import re
6import tempfile 6import tempfile
7import time 7import time
8import oe.types
8from oeqa.selftest.case import OESelftestTestCase 9from oeqa.selftest.case import OESelftestTestCase
9from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd 10from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd
10from oeqa.core.decorator.oeid import OETestID 11from oeqa.core.decorator.oeid import OETestID
@@ -22,6 +23,10 @@ class RunqemuTests(OESelftestTestCase):
22 self.fstypes = "ext4 iso hddimg wic.vmdk wic.qcow2 wic.vdi" 23 self.fstypes = "ext4 iso hddimg wic.vmdk wic.qcow2 wic.vdi"
23 self.cmd_common = "runqemu nographic" 24 self.cmd_common = "runqemu nographic"
24 25
26 kvm = oe.types.qemu_use_kvm(get_bb_var('QEMU_USE_KVM'), 'x86_64')
27 if kvm:
28 self.cmd_common += " kvm"
29
25 self.write_config( 30 self.write_config(
26""" 31"""
27MACHINE = "%s" 32MACHINE = "%s"