Patch for breaking 32-bit float conversions on ppc
+#!/usr/bin/env bash
+
set -ex
main() {
local version=4.1.0
+ # Qemu versions 3.10.0 and above break 32-bit float conversions
+ # on powerpc, powerpc64, and powerpc64le. Last known working version
+ # is 3.0.1.
+ # Upstream Issue:
+ # https://bugs.launchpad.net/qemu/+bug/1821444
+ if [[ $1 == ppc* ]]; then
+ version=3.0.1
+ fi
+
local arch=$1 \
os=$2 \
softmmu=$3 \
