Trivial patches for 2026-01-20
The following changes since commit 38879a667fbb4ef54c70de71494882615f600a64:
Merge tag 'pull-tcg-20260119' of https://gitlab.com/rth7680/qemu into staging (2026-01-19 09:04:31 +1100)
are available in the Git repository at:
https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches
for you to fetch changes up to f0de58ccf6566ad5cf04948788f9b0cfb8b960b4:
bsd-user/syscall_defs.h: define STAT_TIME_T_EXT only for 32 bits (2026-01-20 15:28:21 +0300)
----------------------------------------------------------------
trivial patches for 2026-01-20
I'm also picking up the STAT_TIME_T_EXT fix from Pierrick (not resending whole series, just this additional patch)
----------------------------------------------------------------
Florian Hofhammer (1):
configure: add ppc target back to container tests
Julian Ganz (1):
tests: fix comment declaring runtime in rv64 interruptedmemory test
Michael Tokarev (3):
Revert "gdbstub: Try unlinking the unix socket before binding"
gdbstub: unlink the unix socket before bind() qemu-options.hx: use KiB, MiB, GiB for power-of-2 units
Pierrick Bouvier (2):
linux-user/aarch64/target_fcntl.h: add missing TARGET_O_LARGEFILE definition bsd-user/syscall_defs.h: define STAT_TIME_T_EXT only for 32 bits
Thomas Huth (3):
configure: Set $PYTHON in the configuration of the optionroms tests/qemu-iotests: Use "gsed" for expressions that require GNU sed
MAINTAINERS: Add docs/system/i386/ to the general x86 architecture section
MAINTAINERS | 1 + bsd-user/syscall_defs.h | 2 +- configure | 3 ++- gdbstub/user.c | 30 +++++++++++++++++++++++++++--- linux-user/aarch64/target_fcntl.h | 1 + qemu-options.hx | 20 ++++++++++---------- stubs/meson.build | 2 -- tests/qemu-iotests/286 | 2 +- tests/qemu-iotests/common.rc | 2 +- tests/tcg/riscv64/interruptedmemory.S | 2 +- util/meson.build | 2 -- 11 files changed, 45 insertions(+), 22 deletions(-)
[PULL 10/10] bsd-user/syscall_defs.h: define STAT_TIME_T_EXT only for 32 bits
From: Pierrick Bouvier <[email protected]>
Commit 369c1ba2b changed the wrong conditional "#if defined(__i386__)" to "#if defined(TARGET_I386)".
However, TARGET_I386 is defined for target x86_64 also.
This commit fixes it by identifying correctly 32 bits target.
Found with:
$ ./build/qemu-x86_64 \ -plugin ./build/contrib/plugins/libstoptrigger,icount=1000000 \ -plugin ./build/tests/tcg/plugins/libinsn \ -d plugin \ ./build/qemu-system-x86_64 --version ld-elf.so.1: /lib/libz.so.6: invalid file format cpu 0 insns: 59746 total insns: 59746
--- bsd-user/syscall_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bsd-user/syscall_defs.h +1 -1
@@ -247,7 +247,7 @@ struct target_freebsd11_stat { unsigned int:(8 / 2) * (16 - (int)sizeof(struct target_freebsd_timespec)); } __packed; -#if defined(TARGET_I386 ) +#if defined(TARGET_I386 ) && !defined(TARGET_X86_64 )#define TARGET_HAS_STAT_TIME_T_EXT 1#endif
Signature · 1 line
2.47.3
Richard Henderson
AppliedQuoted 10 lines · Michael Tokarev
The following changes since commit
38879a667fbb4ef54c70de71494882615f600a64:Merge tag 'pull-tcg-20260119' ofhttps://gitlab.com/rth7680/qemu into staging (2026-01-19 09:04:31 +1100)are available in the Git repository at:
https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches
for you to fetch changes up to
f0de58ccf6566ad5cf04948788f9b0cfb8b960b4:
Quoted 7 lines
bsd-user/syscall_defs.h: define STAT_TIME_T_EXT only for 32 bits (2026-01-20 15:28:21 +0300)----------------------------------------------------------------
trivial patches for 2026-01-20I'm also picking up the
STAT_TIME_T_EXTfix from Pierrick (not resending whole series, just this additional patch)
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/11.0 as appropriate.
r~