summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-07-12 16:29:49 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:28:47 +0100
commitad6aaae4bf408dde112ffb4050a7b710984b779a (patch)
tree202b710291d567374f8a2dc376b0f6a27bca29b7 /meta/lib/oeqa/targetcontrol.py
parente558b50afcf5b665f4323fe1b0552cba2b46b6f1 (diff)
downloadpoky-ad6aaae4bf408dde112ffb4050a7b710984b779a.tar.gz
utils/qemurunner.py: QemuRunner.start() add support for specify extra kernel cmdline
Add ability to specify extra_bootargs (kernel cmdline) in order to enable systemd debug log in images that enables systemd init. [YOCTO #9299] (From OE-Core rev: 09d62551c289b5607341a4f9c46eecd6390ad774) Signed-off-by: Aníbal Limón <anibal.limon@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 1c57efaaef..d3b49b770a 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -174,8 +174,8 @@ class QemuTarget(BaseTarget):
174 bb.note("Qemu log file: %s" % self.qemulog) 174 bb.note("Qemu log file: %s" % self.qemulog)
175 super(QemuTarget, self).deploy() 175 super(QemuTarget, self).deploy()
176 176
177 def start(self, params=None, ssh=True): 177 def start(self, params=None, ssh=True, extra_bootparams=None):
178 if self.runner.start(params, get_ip=ssh): 178 if self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams):
179 if ssh: 179 if ssh:
180 self.ip = self.runner.ip 180 self.ip = self.runner.ip
181 self.server_ip = self.runner.server_ip 181 self.server_ip = self.runner.server_ip