package/qemu: add BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string
authorAdam Duskett <aduskett@gmail.com>
Fri, 3 Sep 2021 16:20:26 +0000 (09:20 -0700)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 11 Sep 2021 19:13:34 +0000 (21:13 +0200)
commit70bad61b53c50801fc916f78194c0c4ded1bb6b6
tree958465769e962126cf4f0531dff956f3b53d157e
parentda310266d3c9def679dcdc5605fe5f0eed025943
package/qemu: add BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string

For specific architectures, running qemu in user mode without any additional
options may fail if the host processor does not have the necessary instructions
to properly run qemu in user mode, which results in the following error:
"qemu: uncaught target signal 4 (Illegal instruction) - core dumped"

CoreI7 is one such architecture that has had consistent auto-build failures.

Add a new string in qemu/Config.in.host: BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS.
The default for the Corei7 architecture is directly from the OpenEmbedded
project found in meta/conf/machine/include/x86/tune-corei7.inc:
"-cpu Nehalem,check=false." Other architectures may be added to this string at
a later date if other failures occure.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/qemu/Config.in.host