Skip to content

OpenBSD: Let QEMU 4.0 be usable from OpenBSD 6.0 and onwards

Philippe Mathieu-Daudé qemu-devel 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 4 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2oslib-posix: Ignore fcntl("/dev/null", F_SETFL, O_NONBLOCK) failureutil/oslib-posix.c+12 -00 replies
2/2configure: Disable W^X on OpenBSDconfigure+11 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPeter MaydellMichael S. Tsirkin
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] OpenBSD: Let QEMU 4.0 be usable from OpenBSD 6.0 and onwards

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(+)
Signature · 1 line
2.20.1