diff options
Diffstat (limited to 'meta/lib/oeqa/utils/commands.py')
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 0425c9fd98..73ede2379f 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -218,7 +218,7 @@ def create_temp_layer(templayerdir, templayername, priority=999, recipepathspec= | |||
218 | 218 | ||
219 | 219 | ||
220 | @contextlib.contextmanager | 220 | @contextlib.contextmanager |
221 | def runqemu(pn, ssh=True): | 221 | def runqemu(pn, ssh=True, runqemuparams=''): |
222 | 222 | ||
223 | import bb.tinfoil | 223 | import bb.tinfoil |
224 | import bb.build | 224 | import bb.build |
@@ -260,7 +260,7 @@ def runqemu(pn, ssh=True): | |||
260 | try: | 260 | try: |
261 | qemu.deploy() | 261 | qemu.deploy() |
262 | try: | 262 | try: |
263 | qemu.start(ssh=ssh) | 263 | qemu.start(ssh=ssh, runqemuparams=runqemuparams) |
264 | except bb.build.FuncFailed: | 264 | except bb.build.FuncFailed: |
265 | raise Exception('Failed to start QEMU - see the logs in %s' % logdir) | 265 | raise Exception('Failed to start QEMU - see the logs in %s' % logdir) |
266 | 266 | ||