]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 May 2019 16:52:49 +0000 (17:52 +0100)
commit4f0a576fd5b9373cff4ca5ac92ec6af29499df89
tree0a4e5d5e633ebb75493008514e4bc24366db4a95
parent0f7ffcaa18db7bc27f30c994aafbb9f4f8b2ae7e
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>
meta/lib/oeqa/targetcontrol.py