1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

qemurunner: add runqemuparams argument to commands.runqemu

Added possibility to pass additional runqemu parameters
down the stack of APIs:
 commands.runqemu -> QemuTarget.start -> QemuRunner.start

This will be used to pass ovmf parameter in testing of
efi wic images under qemu.

(From OE-Core rev: 5aa4b5a10fb8191cd3453d09701c8beeff9a952f)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh
2017-03-06 17:10:09 +02:00
committed by Richard Purdie
parent b41e1c9209
commit 383cd20828
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -176,8 +176,8 @@ class QemuTarget(BaseTarget):
bb.note("Qemu log file: %s" % self.qemulog)
super(QemuTarget, self).deploy()
def start(self, params=None, ssh=True, extra_bootparams=None):
if self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams):
def start(self, params=None, ssh=True, extra_bootparams=None, runqemuparams=''):
if self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams, runqemuparams=runqemuparams):
if ssh:
self.ip = self.runner.ip
self.server_ip = self.runner.server_ip