diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-03-06 17:10:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-08 11:13:46 +0000 |
commit | 5aa4b5a10fb8191cd3453d09701c8beeff9a952f (patch) | |
tree | f02bb95f6454536c47a396ac3b683596833ada0f /meta/lib/oeqa/targetcontrol.py | |
parent | c2047067daadb40ff3a944f380c10b2a56b8e080 (diff) | |
download | openembedded-core-5aa4b5a10fb8191cd3453d09701c8beeff9a952f.tar.gz openembedded-core-5aa4b5a10fb8191cd3453d09701c8beeff9a952f.tar.bz2 openembedded-core-5aa4b5a10fb8191cd3453d09701c8beeff9a952f.zip |
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.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r-- | meta/lib/oeqa/targetcontrol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index d1f441f841..dbd2c7ca1e 100644 --- a/meta/lib/oeqa/targetcontrol.py +++ b/meta/lib/oeqa/targetcontrol.py @@ -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 |