]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 13 May 2019 15:12:46 +0000 (11:12 -0400)
committerArmin Kuster <akuster808@gmail.com>
Sat, 1 Jun 2019 21:48:32 +0000 (14:48 -0700)
commit00c58ae552d7414116f13f43d4df2f6e57c0d1ba
tree55bc84ca943415c6a5d834b56cc1c4eda1fe7cbe
parent9d1cb1b38f22cb3ab93ac8b431601df12f76dc22
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:127.0.0.1" in
QemuRunner.launch();

So we set qemuparams as a parameter in runqemu, the fix makes it work

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/targetcontrol.py