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 1f42f6a768..67d8b9ca8d 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -230,6 +230,10 @@ def testimage_main(d):
230 # Get use_kvm 230 # Get use_kvm
231 kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH')) 231 kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH'))
232 232
233 slirp = False
234 if d.getVar("QEMU_USE_SLIRP"):
235 slirp = True
236
233 # TODO: We use the current implementatin of qemu runner because of 237 # TODO: We use the current implementatin of qemu runner because of
234 # time constrains, qemu runner really needs a refactor too. 238 # time constrains, qemu runner really needs a refactor too.
235 target_kwargs = { 'machine' : machine, 239 target_kwargs = { 'machine' : machine,
@@ -241,6 +245,7 @@ def testimage_main(d):
241 'boottime' : boottime, 245 'boottime' : boottime,
242 'bootlog' : bootlog, 246 'bootlog' : bootlog,
243 'kvm' : kvm, 247 'kvm' : kvm,
248 'slirp' : slirp,
244 } 249 }
245 250
246 # TODO: Currently BBPATH is needed for custom loading of targets. 251 # TODO: Currently BBPATH is needed for custom loading of targets.