[oe-commits] [openembedded-core] 08/35: oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd

git at git.openembedded.org git at git.openembedded.org
Fri Jun 7 12:58:17 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch warrior
in repository openembedded-core.

commit 00c58ae552d7414116f13f43d4df2f6e57c0d1ba
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Mon May 13 11:12:46 2019 -0400

    oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd
    As runqemu with launch_cmd means directly run the command, don't need set
    rootfs or env vars.
    Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
    applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
    work, which is overridden by latter qemuparams="-serial tcp:" in
    So we set qemuparams as a parameter in runqemu, the fix makes it work
    Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
 meta/lib/oeqa/targetcontrol.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 1868ad3..b98b183 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -159,7 +159,7 @@ class QemuTarget(BaseTarget):
     def start(self, params=None, ssh=True, extra_bootparams='', runqemuparams='', launch_cmd='', discard_writes=True):
         if launch_cmd:
-            start = self.runner.launch(get_ip=ssh, launch_cmd=launch_cmd)
+            start = self.runner.launch(get_ip=ssh, launch_cmd=launch_cmd, qemuparams=params)
             start = self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams, runqemuparams=runqemuparams, discard_writes=discard_writes)

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list