]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
qemuwrapper: Explicitly exit in case of no qemu supported for target
authorSerhey Popovych <serhe.popovych@gmail.com>
Fri, 14 Dec 2018 17:54:33 +0000 (19:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Dec 2018 17:10:44 +0000 (17:10 +0000)
commita0ebc77ee0b461fc30e704f7dd9e9c2061ef4193
treea83af14e3f62f6eca38f091695030432fd7f282b
parentc1c881ef7f4faf94f385ae742030382122ee5816
qemuwrapper: Explicitly exit in case of no qemu supported for target

Running qemu for userspace code on unsupported target binaries might
be bad idea because qemu could say running in endless loop instead
of crashing due to illegal instruction or unsupported binary format.

While this is qemu bug we should avoid hitting it by explicitly exiting
from the wrapper when qemu backfill considered for machine.

Behaviour was observed in do_rootfs stage when building on IBM Power 8
host for PowerPC e7400 target.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb