summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/testimage.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 2dbd2dad77..7d148d7262 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -227,6 +227,10 @@ def testimage_main(d):
227 # Get use_kvm 227 # Get use_kvm
228 kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH')) 228 kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH'))
229 229
230 slirp = False
231 if d.getVar("QEMU_USE_SLIRP"):
232 slirp = True
233
230 # TODO: We use the current implementatin of qemu runner because of 234 # TODO: We use the current implementatin of qemu runner because of
231 # time constrains, qemu runner really needs a refactor too. 235 # time constrains, qemu runner really needs a refactor too.
232 target_kwargs = { 'machine' : machine, 236 target_kwargs = { 'machine' : machine,
@@ -238,6 +242,7 @@ def testimage_main(d):
238 'boottime' : boottime, 242 'boottime' : boottime,
239 'bootlog' : bootlog, 243 'bootlog' : bootlog,
240 'kvm' : kvm, 244 'kvm' : kvm,
245 'slirp' : slirp,
241 } 246 }
242 247
243 # TODO: Currently BBPATH is needed for custom loading of targets. 248 # TODO: Currently BBPATH is needed for custom loading of targets.