]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: If using a vmtype image do not add the -no-reboot flag
authorJason Wessel <jason.wessel@windriver.com>
Thu, 25 Jun 2020 17:17:10 +0000 (10:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2020 07:24:20 +0000 (08:24 +0100)
commit6d07a72356f9a8ea76b6cda9159d3ca4743028d9
tree16559ab5b459edeee4971de84fbe2a466ce3f0df
parente46f424748d9cc6d6160079e1a36fe43505ba2fa
runqemu: If using a vmtype image do not add the -no-reboot flag

There is no way to use runqemu and turn off the no-reboot flag with a
command line argument.  If someone really wants it back it can be
added with the qemuparams="" argument.

Also if you use the "halt -p" from user space, the qemu will exit when
it is complete.  It is impossible to test self deploying image with
runqemu if you cannot reboot the device.  One might argue that you can
run runqemu in a loop, but that defeats the purpose of having a
wrapper around a tool that already does what is needed in the first
place.

For the vmtype images, the -no-reboot flag should not be added.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu