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.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 92e56862d4..82cbb068ed 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -236,6 +236,10 @@ def testimage_main(d):
236 else: 236 else:
237 kvm = False 237 kvm = False
238 238
239 slirp = False
240 if d.getVar("QEMU_USE_SLIRP"):
241 slirp = True
242
239 # TODO: We use the current implementatin of qemu runner because of 243 # TODO: We use the current implementatin of qemu runner because of
240 # time constrains, qemu runner really needs a refactor too. 244 # time constrains, qemu runner really needs a refactor too.
241 target_kwargs = { 'machine' : machine, 245 target_kwargs = { 'machine' : machine,
@@ -247,6 +251,7 @@ def testimage_main(d):
247 'boottime' : boottime, 251 'boottime' : boottime,
248 'bootlog' : bootlog, 252 'bootlog' : bootlog,
249 'kvm' : kvm, 253 'kvm' : kvm,
254 'slirp' : slirp,
250 } 255 }
251 256
252 # TODO: Currently BBPATH is needed for custom loading of targets. 257 # TODO: Currently BBPATH is needed for custom loading of targets.