Since OpenBSD 6.0, the W^X protection is enforced by default. TCG is incompatible with this protection, to be able to use the QEMU binary, this protection has to be disabled. The OpenBSD ports seens to have downstream patches to be able to use QEMU, but these patches were never upstreamed. This series allow to run QEMU when built from the mainstream sources.
I salvaged the minimum patches required to be able to run OpenBSD from a previous series, which aimed at running the QEMU QTest suite on OpenBSD. Sadly it seems there is not much interest in having this OS covered by tests (except by Peter Maydell). v2: https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg07513.html v1: https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg06676.html Philippe Mathieu-Daudé (2): oslib-posix: Ignore fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure configure: Disable W^X on OpenBSD configure | 11 +++++++++++ util/oslib-posix.c | 12 ++++++++++++ 2 files changed, 23 insertions(+) -- 2.20.1