summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-03-06 17:10:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-08 11:52:56 +0000
commit383cd20828e4a0f88f2d9659aafe5d0a162e8fbc (patch)
treee0db2b2ad4b52aa3e725f649fa5b9a3e72f60087 /meta/lib/oeqa/targetcontrol.py
parentb41e1c92099fb29f8db76cf6501e5d02a456630c (diff)
downloadpoky-383cd20828e4a0f88f2d9659aafe5d0a162e8fbc.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r--meta/lib/oeqa/targetcontrol.py4
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):
176 bb.note("Qemu log file: %s" % self.qemulog) 176 bb.note("Qemu log file: %s" % self.qemulog)
177 super(QemuTarget, self).deploy() 177 super(QemuTarget, self).deploy()
178 178
179 def start(self, params=None, ssh=True, extra_bootparams=None): 179 def start(self, params=None, ssh=True, extra_bootparams=None, runqemuparams=''):
180 if self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams): 180 if self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams, runqemuparams=runqemuparams):
181 if ssh: 181 if ssh:
182 self.ip = self.runner.ip 182 self.ip = self.runner.ip
183 self.server_ip = self.runner.server_ip 183 self.server_ip = self.runner.server_ip