On Tue, May 19 2026, Paolo Bonzini <[email protected]> wrote: > Il mar 19 mag 2026, 16:59 Philippe Mathieu-Daudé <[email protected]> ha > scritto: > >> We still build QEMU tools on 32-bit hosts (see commit >> cf634dfcd8f), however no OS supported by QEMU still runs >> on ESA/390 (Linux dropped support in release 4.1 in 2015). >> > > If Linux still supports 31-bit *userspace binaries*, I would keep the > configure check, so that 32-bit s390 is properly detected as an unsupported > CPU:
FWIW, Linux removed support for the 31 bit compat code in v6.19 (late last year); it is unclear if anyone had been using it recently anyway. > > elif check_define __s390__ ; then >> if check_define __s390x__ ; then >> cpu="s390x" >> else >> cpu="s390" >> fi >> > > and perhaps keep the CPU_CFLAGS only from the other hunk: > > s390) >> linux_arch=s390 >> CPU_CFLAGS="-m31" >> ;; >> > > s390x) >> host_arch=s390x >> linux_arch=s390 >> I'm also wondering if anyone had actually tried to use QEMU on such a setup recently; I don't have a setup to test that in any case.
