History log of /openbmc/qemu/linux-user/ (Results 1 – 25 of 3866)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1af5215626-Jan-2026 Aleksandr Sergeev <sergeev0xef@gmail.com>

linux-user/syscall.c: Prevent acquiring clone_lock while fork()

By the spec, fork() copies only the thread which executes it.
So it may happen, what while one thread is doing a fork,
another thread

linux-user/syscall.c: Prevent acquiring clone_lock while fork()

By the spec, fork() copies only the thread which executes it.
So it may happen, what while one thread is doing a fork,
another thread is holding `clone_lock` mutex
(e.g. doing a `fork()` or `exit()`).
So the child process is born with the mutex being held,
and there are nobody to release it.

As the thread executing do_syscall() is not considered running,
start_exclusive() does not protect us from the case.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3226
Signed-off-by: Aleksandr Sergeev <sergeev0xef@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260126151612.2176451-1-sergeev0xef@gmail.com>
(cherry picked from commit d22e9aec572396836782e993cb18d598e6012688)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

d0be1b5803-Jan-2026 Icenowy Zheng <uwu@icenowy.me>

linux-user: fixup termios2 related things on PowerPC

The termios things on PowerPC equal to termios2 things otherwhere.

Use some simple #define's to allow both termios and termios2 to map to
termio

linux-user: fixup termios2 related things on PowerPC

The termios things on PowerPC equal to termios2 things otherwhere.

Use some simple #define's to allow both termios and termios2 to map to
termios on PowerPC.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Link: https://github.com/AOSC-Dev/aosc-os-abbs/blob/8d77eeaa76e9b159c3f35adaf73c875751aa7d17/app-virtualization/qemu/01-shared/patches/0005-AOSCOS-linux-user-fixup-termios2-related-things-on-P.patch
Link: https://lore.kernel.org/qemu-devel/4403eb94ddbb2934f1f75d94ce921f0f1078ad9f.camel@icenowy.me
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit d68f0e2e906939bef076d0cd52f902d433c8c3da)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

1e76285903-Jan-2026 Vivian Wang <wangruikang@iscas.ac.cn>

linux-user: Add missing termios baud rates

Add several missing baud rates and inputs baud rates in cflag_tbl.

Add these missing definitions in termbits.h:

- TARGET_BOTHER for alpha, hppa, ppc, sh4

linux-user: Add missing termios baud rates

Add several missing baud rates and inputs baud rates in cflag_tbl.

Add these missing definitions in termbits.h:

- TARGET_BOTHER for alpha, hppa, ppc, sh4, sparc
- TARGET_IBSHIFT for hppa, mips, ppc, sh4, sparc
- Missing standard baud rates for hppa

These are required for the glibc test tst-termios-linux.

Link: https://lore.kernel.org/qemu-devel/20251203-linux-user-higher-baud-rates-v2-1-e45b35224437@iscas.ac.cn
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit 4f22fcb5c67f40a36e6654f6cfaee23f9f9e93d1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

22a55fc703-Jan-2026 Luca Bonissi <qemu@bonslack.org>

linux-user: Add termios2 support to sparc target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/909d9d68-c6fe-4368-825c-6aa8fdbd3bbc@bonslack.org
Reviewed-b

linux-user: Add termios2 support to sparc target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/909d9d68-c6fe-4368-825c-6aa8fdbd3bbc@bonslack.org
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit 947b971cad90375040f399899909a3f1f32b483f)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

c1fac5fb03-Jan-2026 Luca Bonissi <qemu@bonslack.org>

linux-user: Add termios2 support to sh4 target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/642b32de-2985-45d2-bbdf-c0b2e3ea0551@bonslack.org
Reviewed-by:

linux-user: Add termios2 support to sh4 target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/642b32de-2985-45d2-bbdf-c0b2e3ea0551@bonslack.org
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit afbe0ff81c29d674b9c18a588bcaab34ddcb8a7b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

ce78d40203-Jan-2026 Luca Bonissi <qemu@bonslack.org>

linux-user: Add termios2 support to mips target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/361aa9c5-4464-4d27-8a2c-9ab767324530@bonslack.org
Reviewed-by

linux-user: Add termios2 support to mips target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/361aa9c5-4464-4d27-8a2c-9ab767324530@bonslack.org
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit edf9184f4feb691b0f70dc544443db2380891598)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

06cfe78503-Jan-2026 Luca Bonissi <qemu@bonslack.org>

linux-user: Add termios2 support to hppa target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/ccf1be5c-9e2e-46f6-b303-d29888371fb0@bonslack.org
Reviewed-by

linux-user: Add termios2 support to hppa target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/ccf1be5c-9e2e-46f6-b303-d29888371fb0@bonslack.org
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit edc741710acedd61011f937967b960d154794258)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

20b93df803-Jan-2026 Luca Bonissi <qemu@bonslack.org>

linux-user: Add termios2 support to alpha target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/02dba951-1bcf-4c74-8a6a-f4f4aa5ce909@bonslack.org
Reviewed-b

linux-user: Add termios2 support to alpha target

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/02dba951-1bcf-4c74-8a6a-f4f4aa5ce909@bonslack.org
Reviewed-by: Helge Deller <deller@gmx.de>
(cherry picked from commit 8d8c6aeee8599a099e49ec4411f3d1e087ae40ad)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

5380228f03-Jan-2026 Luca Bonissi <qemu@bonslack.org>

linux-user: Add termios2 support

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/745f18b6-ee62-4903-9a56-dcb903b610cf@bonslack.org
Reviewed-by: Helge Deller

linux-user: Add termios2 support

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Link: https://lore.kernel.org/qemu-devel/745f18b6-ee62-4903-9a56-dcb903b610cf@bonslack.org
Reviewed-by: Helge Deller <deller@gmx.de>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
(cherry picked from commit e9a8a10e84c1bf6e2e8be000e4dd5c83ba0d8470)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

6f54455c13-Jan-2026 Pierrick Bouvier <pierrick.bouvier@linaro.org>

linux-user/aarch64/target_fcntl.h: add missing TARGET_O_LARGEFILE definition

This caused a failure with program using openat2, where O_LARGEFILE was
replaced by O_NOFOLLOW.
This issue is only visibl

linux-user/aarch64/target_fcntl.h: add missing TARGET_O_LARGEFILE definition

This caused a failure with program using openat2, where O_LARGEFILE was
replaced by O_NOFOLLOW.
This issue is only visible when QEMU is compiled with musl libc, where
O_LARGEFILE is different from 0 (vs glibc).

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3262
Cc: qemu-stable@nongnu.org
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 83017c4aaa9e3ef80161443019764196dffdb654)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

860f8f3f17-Nov-2025 Matthew Lugg <mlugg@mlugg.co.uk>

linux-user: fix reserved_va page leak in do_munmap

The old logic had an off-by-one bug. For instance, assuming 4k pages on
host and guest, if 'len' is '4097' (indicating to unmap 2 pages), then
'las

linux-user: fix reserved_va page leak in do_munmap

The old logic had an off-by-one bug. For instance, assuming 4k pages on
host and guest, if 'len' is '4097' (indicating to unmap 2 pages), then
'last = start + 4096', so 'real_last = start + 4095', so ultimately
'real_len = 4096'. I do not believe this could cause any observable bugs
in guests, because `target_munmap` page-aligns the length it passes in.
However, calls to this function in `target_mremap` do not page-align the
length, so those calls could "drop" pages, leading to a part of the
reserved region becoming unmapped. At worst, a host allocation could get
mapped into that hole, then clobbered by a new guest mapping.

Signed-off-by: Matthew Lugg <mlugg@mlugg.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251117170954.31451-4-mlugg@mlugg.co.uk>
(cherry picked from commit 81ceab30492ed251addae8539f7b69a069b0f984)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

5ac0811f17-Nov-2025 Matthew Lugg <mlugg@mlugg.co.uk>

linux-user: fix mremap errors for invalid ranges

If an address range given to `mremap` is invalid (exceeds addressing
bounds on the guest), we were previously returning `ENOMEM`, which is
not correc

linux-user: fix mremap errors for invalid ranges

If an address range given to `mremap` is invalid (exceeds addressing
bounds on the guest), we were previously returning `ENOMEM`, which is
not correct. The manpage and the Linux kernel implementation both agree
that if `old_addr`/`old_size` refer to an invalid address, `EFAULT` is
returned, and if `new_addr`/`new_size` refer to an invalid address,
`EINVAL` is returned.

Signed-off-by: Matthew Lugg <mlugg@mlugg.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251117170954.31451-3-mlugg@mlugg.co.uk>
(cherry picked from commit 2422884ec5a12037d2378f45ca1411d3f37c7081)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

a8adf88217-Nov-2025 Matthew Lugg <mlugg@mlugg.co.uk>

linux-user: fix mremap unmapping adjacent region

This typo meant that calls to `mremap` which shrink a mapping by some N
bytes would, when the virtual address space was pre-reserved (e.g.
32-bit gue

linux-user: fix mremap unmapping adjacent region

This typo meant that calls to `mremap` which shrink a mapping by some N
bytes would, when the virtual address space was pre-reserved (e.g.
32-bit guest on 64-bit host), unmap the N bytes following the *original*
mapping.

Signed-off-by: Matthew Lugg <mlugg@mlugg.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251117170954.31451-2-mlugg@mlugg.co.uk>
(cherry picked from commit aaed9ca1797d70a507371aea688c5cd60b074e2d)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

86ce6e0706-Jan-2026 Jim MacArthur <jim.macarthur@linaro.org>

linux-user/elfload.c: Correction to HWCAP2 accessor

get_elf_hwcap was used when get_elf_hwcap2 should have been.

Cc: qemu-stable@nongnu.org
Fixes: fcac98d0ba8b ("linux-user: Remove ELF_HWCAP2")
Res

linux-user/elfload.c: Correction to HWCAP2 accessor

get_elf_hwcap was used when get_elf_hwcap2 should have been.

Cc: qemu-stable@nongnu.org
Fixes: fcac98d0ba8b ("linux-user: Remove ELF_HWCAP2")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3259
Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260106-fix-hwcap2-sve2-v1-1-1d70dff63370@linaro.org>
(cherry picked from commit c333f9c4ee212297f3b9a8a6ef62396a63c48e61)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

e71e02ca29-Dec-2025 Jean-Christian CÎRSTEA <jean.christian.cirstea@gmail.com>

linux-user: allow null `pathname` for statx()/fstatat()

Since Linux 6.11, the path argument may be NULL.

Before this patch, qemu-*-linux-user failed with EFAULT when `pathname` was
specified as NUL

linux-user: allow null `pathname` for statx()/fstatat()

Since Linux 6.11, the path argument may be NULL.

Before this patch, qemu-*-linux-user failed with EFAULT when `pathname` was
specified as NULL, even for Linux kernel hosts > 6.10. This patch fixes this
issue by checking whether `arg2` is 0. If so, don't return EFAULT, but instead
perform the appropiate syscall and let the host's kernel handle null `pathname`.

Cc: qemu-stable@nongnu.org
Signed-off-by: Jean-Christian CÎRSTEA <jean.christian.cirstea@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251229121416.2209295-1-jean.christian.cirstea@gmail.com>
(cherry picked from commit 82ae60c8b5cb98d610056a1e2d0ba72e9ef7907c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/.gitlab-ci.d/base.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/freebsd-14.vars
/openbmc/qemu/.gitlab-ci.d/cirrus/macos-14.vars
/openbmc/qemu/.gitlab-ci.d/container-template.yml
/openbmc/qemu/.gitlab-ci.d/containers.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/debian-13-ppc64le.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/tb-maint.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/accel/tcg/trace-events
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio-hmp-cmds.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/audio_win_int.c
/openbmc/qemu/audio/coreaudio.m
/openbmc/qemu/audio/dbusaudio.c
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/jackaudio.c
/openbmc/qemu/audio/meson.build
/openbmc/qemu/audio/mixeng.c
/openbmc/qemu/audio/mixeng.h
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/pwaudio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/audio/sndioaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/audio/wavcapture.c
/openbmc/qemu/backends/hostmem-shm.c
/openbmc/qemu/backends/igvm-cfg.c
/openbmc/qemu/backends/igvm.c
/openbmc/qemu/backends/spdm-socket.c
/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/backends/tpm/tpm_passthrough.c
/openbmc/qemu/block.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/io_uring.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/block/win32-aio.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-file.c
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configs/devices/ppc-softmmu/default.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/gitdm/domain-map
/openbmc/qemu/contrib/gitdm/group-map-academics
/openbmc/qemu/contrib/gitdm/group-map-huawei
/openbmc/qemu/contrib/gitdm/group-map-individuals
/openbmc/qemu/contrib/gitdm/group-map-microsoft
/openbmc/qemu/contrib/plugins/uftrace_symbols.py
/openbmc/qemu/cpu-common.c
/openbmc/qemu/crypto/cipher-gnutls.c.inc
/openbmc/qemu/crypto/cipher-nettle.c.inc
/openbmc/qemu/crypto/cipher.c
/openbmc/qemu/crypto/hash.c
/openbmc/qemu/crypto/hmac.c
/openbmc/qemu/crypto/meson.build
/openbmc/qemu/crypto/tlscreds.c
/openbmc/qemu/crypto/tlscredsanon.c
/openbmc/qemu/crypto/tlscredsbox.c
/openbmc/qemu/crypto/tlscredsbox.h
/openbmc/qemu/crypto/tlscredspriv.h
/openbmc/qemu/crypto/tlscredspsk.c
/openbmc/qemu/crypto/tlscredsx509.c
/openbmc/qemu/crypto/tlssession.c
/openbmc/qemu/crypto/trace-events
/openbmc/qemu/docs/about/build-platforms.rst
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/devel/atomics.rst
/openbmc/qemu/docs/devel/build-environment.rst
/openbmc/qemu/docs/devel/migration/main.rst
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/docs/devel/submitting-a-pull-request.rst
/openbmc/qemu/docs/devel/testing/ci-jobs.rst.inc
/openbmc/qemu/docs/devel/testing/fuzzing.rst
/openbmc/qemu/docs/interop/firmware.json
/openbmc/qemu/docs/interop/vfio-user.rst
/openbmc/qemu/docs/interop/vhost-user.json
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/specs/spdm.rst
/openbmc/qemu/docs/system/arm/imx8mp-evk.rst
/openbmc/qemu/docs/system/arm/virt.rst
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/emmc.rst
/openbmc/qemu/docs/system/ppc/amigang.rst
/openbmc/qemu/docs/system/security.rst
/openbmc/qemu/docs/system/tls.rst
/openbmc/qemu/ebpf/ebpf_rss-stub.c
/openbmc/qemu/ebpf/ebpf_rss.c
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/gdbstub/user.c
/openbmc/qemu/gitdm.config
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/host/include/aarch64/host/atomic128-cas.h.inc
/openbmc/qemu/host/include/generic/host/atomic128-cas.h.inc
/openbmc/qemu/hw/9pfs/xen-9p-backend.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast10x0.c
/openbmc/qemu/hw/arm/aspeed_ast10x0_evb.c
/openbmc/qemu/hw/arm/aspeed_ast2400_palmetto.c
/openbmc/qemu/hw/arm/aspeed_ast2400_quanta-q71l.c
/openbmc/qemu/hw/arm/aspeed_ast2400_supermicrox11.c
/openbmc/qemu/hw/arm/aspeed_ast2500_evb.c
/openbmc/qemu/hw/arm/aspeed_ast2500_fp5280g2.c
/openbmc/qemu/hw/arm/aspeed_ast2500_g220a.c
/openbmc/qemu/hw/arm/aspeed_ast2500_romulus.c
/openbmc/qemu/hw/arm/aspeed_ast2500_sonorapass.c
/openbmc/qemu/hw/arm/aspeed_ast2500_supermicro-x11spi.c
/openbmc/qemu/hw/arm/aspeed_ast2500_tiogapass.c
/openbmc/qemu/hw/arm/aspeed_ast2500_witherspoon.c
/openbmc/qemu/hw/arm/aspeed_ast2500_yosemitev2.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_ast2600_bletchley.c
/openbmc/qemu/hw/arm/aspeed_ast2600_catalina.c
/openbmc/qemu/hw/arm/aspeed_ast2600_evb.c
/openbmc/qemu/hw/arm/aspeed_ast2600_fby35.c
/openbmc/qemu/hw/arm/aspeed_ast2600_fuji.c
/openbmc/qemu/hw/arm/aspeed_ast2600_gb200nvl.c
/openbmc/qemu/hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c
/openbmc/qemu/hw/arm/aspeed_ast2600_qcom-firework.c
/openbmc/qemu/hw/arm/aspeed_ast2600_rainier.c
/openbmc/qemu/hw/arm/aspeed_ast27x0.c
/openbmc/qemu/hw/arm/aspeed_ast27x0_evb.c
/openbmc/qemu/hw/arm/fby35.c
/openbmc/qemu/hw/arm/fsl-imx8mp.c
/openbmc/qemu/hw/arm/imx8mp-evk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xen-pvh.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/asc.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/lm4549.c
/openbmc/qemu/hw/audio/lm4549.h
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/meson.build
/openbmc/qemu/hw/audio/model.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/pl041.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/via-ac97.c
/openbmc/qemu/hw/audio/virtio-snd-pci.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/audio/wm8750.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/dma/xlnx-zynq-devcfg.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/hppa/hppa_hardware.h
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/microvm-dt.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/x86-common.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/mem/cxl_type3.c
/openbmc/qemu/hw/misc/aspeed_xdma.c
/openbmc/qemu/hw/misc/npcm_clk.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/i82596.h
/openbmc/qemu/hw/net/lasi_i82596.c
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/ns.c
/openbmc/qemu/hw/nvme/nvme.h
/openbmc/qemu/hw/pci-host/aspeed_pcie.c
/openbmc/qemu/hw/pci-host/gpex-acpi.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/ppc/pegasos.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr_fadump.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/s390x/s390-hypercall.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/lasi_ncr710.c
/openbmc/qemu/hw/scsi/lasi_ncr710.h
/openbmc/qemu/hw/scsi/ncr53c710.c
/openbmc/qemu/hw/scsi/ncr53c710.h
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdmmc-internal.h
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/vfio-user/container.c
/openbmc/qemu/hw/vfio-user/container.h
/openbmc/qemu/hw/vfio-user/device.h
/openbmc/qemu/hw/vfio-user/pci.c
/openbmc/qemu/hw/vfio-user/proxy.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/container-legacy.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/cpr-iommufd.c
/openbmc/qemu/hw/vfio/cpr-legacy.c
/openbmc/qemu/hw/vfio/cpr.c
/openbmc/qemu/hw/vfio/device.c
/openbmc/qemu/hw/vfio/pci-quirks.h
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-qmp.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/vmapple/vmapple.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/block/raw-aio.h
/openbmc/qemu/include/chardev/char-io.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/crypto/hash.h
/openbmc/qemu/include/crypto/hmac.h
/openbmc/qemu/include/crypto/tlscreds.h
/openbmc/qemu/include/crypto/tlscredsx509.h
/openbmc/qemu/include/crypto/tlssession.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/audio/asc.h
/openbmc/qemu/include/hw/audio/model.h
/openbmc/qemu/include/hw/audio/virtio-snd.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/display/xlnx_dp.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/i386/microvm.h
/openbmc/qemu/include/hw/isa/vt82c686.h
/openbmc/qemu/include/hw/misc/lasi.h
/openbmc/qemu/include/hw/net/lasi_82596.h
/openbmc/qemu/include/hw/pci/msix.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_device.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/qdev-properties-system.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/io/net-listener.h
/openbmc/qemu/include/migration/blocker.h
/openbmc/qemu/include/migration/cpr.h
/openbmc/qemu/include/migration/cpu.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/monitor/qdev.h
/openbmc/qemu/include/qemu/audio-capture.h
/openbmc/qemu/include/qemu/audio.h
/openbmc/qemu/include/qemu/exit-with-parent.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/fuse.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/input.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_ids.h
/openbmc/qemu/include/system/block-backend-io.h
/openbmc/qemu/include/system/hvf_int.h
/openbmc/qemu/include/system/igvm.h
/openbmc/qemu/include/system/replay.h
/openbmc/qemu/include/system/spdm-socket.h
/openbmc/qemu/include/tcg/helper-info.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/io/channel.c
/openbmc/qemu/io/net-listener.c
/openbmc/qemu/io/trace-events
/openbmc/qemu/linux-headers/asm-loongarch/kvm.h
/openbmc/qemu/linux-headers/asm-riscv/kvm.h
/openbmc/qemu/linux-headers/asm-riscv/ptrace.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/psp-sev.h
/openbmc/qemu/linux-headers/linux/stddef.h
/openbmc/qemu/linux-headers/linux/vduse.h
/openbmc/qemu/linux-headers/linux/vhost.h
syscall.c
/openbmc/qemu/meson.build
/openbmc/qemu/migration/channel-block.c
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/cpr-exec.c
/openbmc/qemu/migration/cpr.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/options.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor/hmp.c
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/net.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/dtb/pegasos1.dtb
/openbmc/qemu/pc-bios/dtb/pegasos2.dtb
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/hppa-firmware64.img
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/pc-bios/u-boot-sam460.bin
/openbmc/qemu/plugins/core.c
/openbmc/qemu/python/scripts/mkvenv.py
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/qapi/accelerator.json
/openbmc/qemu/qapi/acpi-hest.json
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block-export.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/cxl.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/job.json
/openbmc/qemu/qapi/machine-common.json
/openbmc/qemu/qapi/machine-s390x.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc-i386.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qdev.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qapi/stats.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qapi/virtio.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-linux.c
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qom/object.c
/openbmc/qemu/replay/replay-audio.c
/openbmc/qemu/replay/replay-char.c
/openbmc/qemu/replay/replay-internal.c
/openbmc/qemu/replay/stubs-system.c
/openbmc/qemu/replay/trace-events
/openbmc/qemu/replay/trace.h
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/roms/u-boot-sam460ex
/openbmc/qemu/rust/chardev/meson.build
/openbmc/qemu/rust/hw/char/pl011/src/device.rs
/openbmc/qemu/rust/hw/core/src/sysbus.rs
/openbmc/qemu/rust/hw/timer/hpet/src/device.rs
/openbmc/qemu/rust/hw/timer/hpet/src/fw_cfg.rs
/openbmc/qemu/rust/migration/src/vmstate.rs
/openbmc/qemu/rust/util/meson.build
/openbmc/qemu/rust/util/src/error.rs
/openbmc/qemu/rust/util/src/lib.rs
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/ci/setup/debian/debian-13-ppc64le.yaml
/openbmc/qemu/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
/openbmc/qemu/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
/openbmc/qemu/scripts/codeconverter/codeconverter/test_regexps.py
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/mkemmc.sh
/openbmc/qemu/scripts/modinfo-collect.py
/openbmc/qemu/scripts/mtest2make.py
/openbmc/qemu/scripts/nsis.py
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/scripts/qapi/parser.py
/openbmc/qemu/scripts/qemu-guest-agent/fsfreeze-hook
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/stubs/igvm.c
/openbmc/qemu/stubs/iothread-lock.c
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/stubs/migr-blocker.c
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/exit-with-parent.c
/openbmc/qemu/system/meson.build
/openbmc/qemu/system/physmem.c
/openbmc/qemu/system/qdev-monitor.c
/openbmc/qemu/system/qtest.c
/openbmc/qemu/system/ram-block-attributes.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/hvf/trace-events
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/tcg/psci.c
/openbmc/qemu/target/arm/tcg/tlb_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/trace-events
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/emulate/x86_decode.c
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86hvf.c
/openbmc/qemu/target/i386/igvm.c
/openbmc/qemu/target/i386/meson.build
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/tcg/system/svm_helper.c
/openbmc/qemu/target/i386/tcg/user/seg_helper.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/kvm/kvm.c
/openbmc/qemu/target/ppc/cpu-models.c
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/rx/helper.c
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/s390x/tcg/misc_helper.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/tcg-op-ldst.c
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tcg/tci/tcg-target-opc.h.inc
/openbmc/qemu/tcg/tci/tcg-target.c.inc
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.acpipcihp
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.hpoffacpiindex
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.pxb
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.smmuv3-dev
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.smmuv3-legacy
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.topology
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.viot
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.topology
/openbmc/qemu/tests/data/acpi/riscv64/virt/DSDT
/openbmc/qemu/tests/data/acpi/x86/microvm/DSDT.pcie
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/alpine.docker
/openbmc/qemu/tests/docker/dockerfiles/centos9.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-all-test-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-i686-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/docker/dockerfiles/emsdk-wasm32-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-rust-nightly.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora.docker
/openbmc/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu2204.docker
/openbmc/qemu/tests/functional/aarch64/test_device_passthrough.py
/openbmc/qemu/tests/functional/aarch64/test_kvm.py
/openbmc/qemu/tests/functional/aarch64/test_reverse_debug.py
/openbmc/qemu/tests/functional/aarch64/test_rme_sbsaref.py
/openbmc/qemu/tests/functional/aarch64/test_virt.py
/openbmc/qemu/tests/functional/aarch64/test_virt_gpu.py
/openbmc/qemu/tests/functional/aarch64/test_xen.py
/openbmc/qemu/tests/functional/arm/test_aspeed_ast1030.py
/openbmc/qemu/tests/functional/arm/test_aspeed_ast2600_buildroot.py
/openbmc/qemu/tests/functional/arm/test_aspeed_gb200nvl_bmc.py
/openbmc/qemu/tests/functional/m68k/test_nextcube.py
/openbmc/qemu/tests/functional/migration.py
/openbmc/qemu/tests/functional/mips64el/test_malta.py
/openbmc/qemu/tests/functional/mips64el/test_replay.py
/openbmc/qemu/tests/functional/ppc/test_74xx.py
/openbmc/qemu/tests/functional/ppc/test_amiga.py
/openbmc/qemu/tests/functional/ppc/test_ppe42.py
/openbmc/qemu/tests/functional/ppc/test_sam460ex.py
/openbmc/qemu/tests/functional/ppc64/test_mac99.py
/openbmc/qemu/tests/functional/ppc64/test_powernv.py
/openbmc/qemu/tests/functional/ppc64/test_pseries.py
/openbmc/qemu/tests/functional/ppc64/test_reverse_debug.py
/openbmc/qemu/tests/functional/qemu_test/asset.py
/openbmc/qemu/tests/functional/qemu_test/decorators.py
/openbmc/qemu/tests/functional/qemu_test/linuxkernel.py
/openbmc/qemu/tests/functional/qemu_test/testcase.py
/openbmc/qemu/tests/functional/qemu_test/uncompress.py
/openbmc/qemu/tests/functional/qemu_test/utils.py
/openbmc/qemu/tests/functional/rx/test_gdbsim.py
/openbmc/qemu/tests/functional/x86_64/test_acpi_bits.py
/openbmc/qemu/tests/functional/x86_64/test_kvm_xen.py
/openbmc/qemu/tests/functional/x86_64/test_memlock.py
/openbmc/qemu/tests/functional/x86_64/test_netdev_ethtool.py
/openbmc/qemu/tests/functional/x86_64/test_reverse_debug.py
/openbmc/qemu/tests/functional/x86_64/test_virtio_balloon.py
/openbmc/qemu/tests/functional/x86_64/test_virtio_gpu.py
/openbmc/qemu/tests/lcitool/libvirt-ci
/openbmc/qemu/tests/lcitool/mappings.yml
/openbmc/qemu/tests/lcitool/projects/qemu-minimal.yml
/openbmc/qemu/tests/lcitool/projects/qemu.yml
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/qapi-schema/doc-bad-space-between-sentences.err
/openbmc/qemu/tests/qapi-schema/doc-bad-space-between-sentences.json
/openbmc/qemu/tests/qapi-schema/doc-bad-space-between-sentences.out
/openbmc/qemu/tests/qapi-schema/doc-long-line.err
/openbmc/qemu/tests/qapi-schema/doc-long-line.json
/openbmc/qemu/tests/qapi-schema/doc-long-line.out
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qemu-iotests/024
/openbmc/qemu/tests/qemu-iotests/024.out
/openbmc/qemu/tests/qemu-iotests/049
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/184
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/257
/openbmc/qemu/tests/qemu-iotests/257.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/meson.build
/openbmc/qemu/tests/qemu-iotests/testrunner.py
/openbmc/qemu/tests/qemu-iotests/tests/loop-create-file
/openbmc/qemu/tests/qemu-iotests/tests/loop-create-file.out
/openbmc/qemu/tests/qemu-iotests/tests/nbd-in-qcow2-chain
/openbmc/qemu/tests/qemu-iotests/tests/nbd-in-qcow2-chain.out
/openbmc/qemu/tests/qemu-iotests/tests/resize-below-raw
/openbmc/qemu/tests/qemu-iotests/tests/resize-below-raw.out
/openbmc/qemu/tests/qemu-iotests/tests/vvfat.out
/openbmc/qemu/tests/qtest/aspeed-hace-utils.h
/openbmc/qemu/tests/qtest/aspeed-smc-utils.h
/openbmc/qemu/tests/qtest/aspeed_gpio-test.c
/openbmc/qemu/tests/qtest/dbus-display-test.c
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/migration/cpr-tests.c
/openbmc/qemu/tests/qtest/migration/framework.c
/openbmc/qemu/tests/qtest/migration/framework.h
/openbmc/qemu/tests/qtest/migration/misc-tests.c
/openbmc/qemu/tests/qtest/migration/precopy-tests.c
/openbmc/qemu/tests/qtest/nvme-test.c
/openbmc/qemu/tests/qtest/pnv-spi-seeprom-test.c
/openbmc/qemu/tests/tcg/s390x/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/s390x/sckc.S
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-aio-multithread.c
/openbmc/qemu/tests/unit/test-aio.c
/openbmc/qemu/tests/unit/test-crypto-block.c
/openbmc/qemu/tests/unit/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/unit/test-crypto-tlssession.c
/openbmc/qemu/tests/unit/test-cutils.c
/openbmc/qemu/tests/unit/test-error-report.c
/openbmc/qemu/tests/unit/test-io-channel-command.c
/openbmc/qemu/tests/unit/test-nested-aio-poll.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/tests/vm/generated/freebsd.json
/openbmc/qemu/trace-events
/openbmc/qemu/ui/dbus.c
/openbmc/qemu/ui/ui-hmp-cmds.c
/openbmc/qemu/ui/vdagent.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-posix.h
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/fdmon-epoll.c
/openbmc/qemu/util/fdmon-io_uring.c
/openbmc/qemu/util/fdmon-poll.c
/openbmc/qemu/util/hexdump.c
/openbmc/qemu/util/log.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/qemu-thread-common.h
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/trace-events
0db2de2228-Oct-2025 Peter Maydell <peter.maydell@linaro.org>

linux-user: permit sendto() with NULL buf and 0 len

If you pass sendto() a NULL buffer, this is usually an error
(causing an EFAULT return); however if you pass a 0 length then
we should not try to

linux-user: permit sendto() with NULL buf and 0 len

If you pass sendto() a NULL buffer, this is usually an error
(causing an EFAULT return); however if you pass a 0 length then
we should not try to validate the buffer provided. Instead we
skip the copying of the user data and possible processing
through fd_trans_target_to_host_data, and call the host syscall
with NULL, 0.

(unlock_user() permits a NULL buffer pointer for "do nothing"
so we don't need to special case the unlock code.)

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3102
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251028142001.3011630-1-peter.maydell@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/mshv/mshv-all.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/backends/cryptodev-vhost-user.c
/openbmc/qemu/backends/rng-egd.c
/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/block.c
/openbmc/qemu/block/accounting.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-fe.c
/openbmc/qemu/chardev/char-hub.c
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/chardev/chardev-internal.h
/openbmc/qemu/configs/devices/aarch64-softmmu/minimal.mak
/openbmc/qemu/configs/targets/aarch64-softmmu.c
/openbmc/qemu/configs/targets/arm-softmmu.c
/openbmc/qemu/configs/targets/meson.build
/openbmc/qemu/contrib/plugins/meson.build
/openbmc/qemu/contrib/plugins/traps.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/devel/testing/ci-jobs.rst.inc
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/gdbstub/syscalls.c
/openbmc/qemu/gdbstub/system.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-fc.c
/openbmc/qemu/hw/arm/b-l475e-iot01a.c
/openbmc/qemu/hw/arm/bananapi_m2u.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/fby35.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/imx25_pdk.c
/openbmc/qemu/hw/arm/imx8mp-evk.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/mcimx6ul-evk.c
/openbmc/qemu/hw/arm/mcimx7d-sabre.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/microbit.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/mps3r.c
/openbmc/qemu/hw/arm/msf2-som.c
/openbmc/qemu/hw/arm/musca.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/netduino2.c
/openbmc/qemu/hw/arm/netduinoplus2.c
/openbmc/qemu/hw/arm/npcm7xx_boards.c
/openbmc/qemu/hw/arm/npcm8xx_boards.c
/openbmc/qemu/hw/arm/olimex-stm32-h405.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/raspi4b.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/stm32vldiscovery.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/char/debugcon.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/char/grlib_apbuart.c
/openbmc/qemu/hw/char/ipoctal232.c
/openbmc/qemu/hw/char/mcf_uart.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sclpconsole.c
/openbmc/qemu/hw/char/sh_serial.c
/openbmc/qemu/hw/char/spapr_vty.c
/openbmc/qemu/hw/char/terminal3270.c
/openbmc/qemu/hw/char/virtio-console.c
/openbmc/qemu/hw/char/xen_console.c
/openbmc/qemu/hw/char/xilinx_uartlite.c
/openbmc/qemu/hw/core/null-machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/isapc.c
/openbmc/qemu/hw/i386/x86-common.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_extern.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/misc/ivshmem-pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/riscv/riscv-iommu.c
/openbmc/qemu/hw/riscv/riscv_hart.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/virtio/vhost-stub.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/xen/meson.build
/openbmc/qemu/hw/xen/xen-hvm-common.c
/openbmc/qemu/include/block/accounting.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/block_int-io.h
/openbmc/qemu/include/block/qapi.h
/openbmc/qemu/include/chardev/char-fe.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/exec/memop.h
/openbmc/qemu/include/hw/arm/machines-qom.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/char/avr_usart.h
/openbmc/qemu/include/hw/char/bcm2835_aux.h
/openbmc/qemu/include/hw/char/cadence_uart.h
/openbmc/qemu/include/hw/char/cmsdk-apb-uart.h
/openbmc/qemu/include/hw/char/digic-uart.h
/openbmc/qemu/include/hw/char/escc.h
/openbmc/qemu/include/hw/char/goldfish_tty.h
/openbmc/qemu/include/hw/char/ibex_uart.h
/openbmc/qemu/include/hw/char/imx_serial.h
/openbmc/qemu/include/hw/char/max78000_uart.h
/openbmc/qemu/include/hw/char/nrf51_uart.h
/openbmc/qemu/include/hw/char/parallel.h
/openbmc/qemu/include/hw/char/pl011.h
/openbmc/qemu/include/hw/char/renesas_sci.h
/openbmc/qemu/include/hw/char/riscv_htif.h
/openbmc/qemu/include/hw/char/serial.h
/openbmc/qemu/include/hw/char/shakti_uart.h
/openbmc/qemu/include/hw/char/sifive_uart.h
/openbmc/qemu/include/hw/char/stm32f2xx_usart.h
/openbmc/qemu/include/hw/char/stm32l4x5_usart.h
/openbmc/qemu/include/hw/misc/ivshmem-flat.h
/openbmc/qemu/include/hw/qdev-properties-system.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/virtio/vhost-user-base.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/vhost-user-fs.h
/openbmc/qemu/include/hw/virtio/vhost-user-scmi.h
/openbmc/qemu/include/hw/virtio/vhost-user-vsock.h
/openbmc/qemu/include/hw/virtio/vhost-user.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/qemu/plugin-event.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/target-info.h
/openbmc/qemu/include/qobject/qobject.h
/openbmc/qemu/include/system/qtest.h
/openbmc/qemu/include/system/vhost-user-backend.h
syscall.c
/openbmc/qemu/meson.build
/openbmc/qemu/monitor/monitor-internal.h
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/passt.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/loader.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/rust/Cargo.toml
/openbmc/qemu/rust/bindings/src/lib.rs
/openbmc/qemu/rust/bql/src/bindings.rs
/openbmc/qemu/rust/chardev/src/bindings.rs
/openbmc/qemu/rust/chardev/src/chardev.rs
/openbmc/qemu/rust/hw/char/pl011/src/bindings.rs
/openbmc/qemu/rust/hw/char/pl011/src/device.rs
/openbmc/qemu/rust/hw/core/src/bindings.rs
/openbmc/qemu/rust/hw/core/src/qdev.rs
/openbmc/qemu/rust/hw/timer/hpet/src/device.rs
/openbmc/qemu/rust/migration/src/bindings.rs
/openbmc/qemu/rust/migration/src/vmstate.rs
/openbmc/qemu/rust/qemu-macros/src/lib.rs
/openbmc/qemu/rust/qemu-macros/src/tests.rs
/openbmc/qemu/rust/qom/src/bindings.rs
/openbmc/qemu/rust/qom/src/qom.rs
/openbmc/qemu/rust/system/src/bindings.rs
/openbmc/qemu/rust/util/src/bindings.rs
/openbmc/qemu/scripts/ci/setup/build-environment.yml
/openbmc/qemu/scripts/ci/setup/debian/debian-13-ppc64le.yaml
/openbmc/qemu/scripts/ci/setup/gitlab-runner.yml
/openbmc/qemu/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
/openbmc/qemu/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
/openbmc/qemu/scripts/meson-buildoptions.py
/openbmc/qemu/semihosting/arm-compat-semi.c
/openbmc/qemu/semihosting/console.c
/openbmc/qemu/system/qtest.c
/openbmc/qemu/target-info-qom.c
/openbmc/qemu/target-info.c
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/tcg/m_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate-neon.c
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/avr/helper.c
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/hppa/sys_helper.c
/openbmc/qemu/target/i386/hvf/x86hvf.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/kvm_i386.h
/openbmc/qemu/target/i386/mshv/mshv-cpu.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/tcg/excp_helper.c
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/loongarch/tcg/tcg_cpu.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/tcg/system/tlb_helper.c
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/rx/helper.c
/openbmc/qemu/target/s390x/tcg/excp_helper.c
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sparc/int32_helper.c
/openbmc/qemu/target/sparc/int64_helper.c
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/functional/mips/test_malta.py
/openbmc/qemu/tests/functional/mips/test_replay.py
/openbmc/qemu/tests/functional/mips64/test_malta.py
/openbmc/qemu/tests/functional/mips64el/test_malta.py
/openbmc/qemu/tests/functional/mips64el/test_replay.py
/openbmc/qemu/tests/functional/mipsel/test_malta.py
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/qemu-iotests/094.out
/openbmc/qemu/tests/qemu-iotests/119.out
/openbmc/qemu/tests/qemu-iotests/172.out
/openbmc/qemu/tests/qemu-iotests/184
/openbmc/qemu/tests/qemu-iotests/184.out
/openbmc/qemu/tests/qemu-iotests/267.out
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/tests/fuse-allow-other.out
/openbmc/qemu/tests/qemu-iotests/tests/inactive-node-nbd
/openbmc/qemu/tests/qemu-iotests/tests/resize-below-filter
/openbmc/qemu/tests/qemu-iotests/tests/resize-below-filter.out
/openbmc/qemu/tests/qemu-iotests/tests/resize-below-raw
/openbmc/qemu/tests/qemu-iotests/tests/resize-below-raw.out
/openbmc/qemu/tests/qtest/am53c974-test.c
/openbmc/qemu/tests/qtest/vhost-user-test.c
/openbmc/qemu/tests/tcg/plugins/discons.c
/openbmc/qemu/tests/tcg/plugins/meson.build
/openbmc/qemu/tests/tcg/riscv64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/riscv64/doubletrap.S
/openbmc/qemu/tests/tcg/riscv64/interruptedmemory.S
/openbmc/qemu/tests/unit/test-char.c
/openbmc/qemu/tests/unit/test-yank.c
/openbmc/qemu/util/rcu.c
7c70893228-Oct-2025 Bastian Blank <bblank@thinkmo.de>

linux-user: Use correct type for FIBMAP and FIGETBSZ emulation

Both the FIBMAP and FIGETBSZ ioctl get "int *" (pointer to 32bit
integer) as argument, not "long *" as specified in qemu. Using the
co

linux-user: Use correct type for FIBMAP and FIGETBSZ emulation

Both the FIBMAP and FIGETBSZ ioctl get "int *" (pointer to 32bit
integer) as argument, not "long *" as specified in qemu. Using the
correct type makes the emulation work in cross endian context.

Both ioctl does not seem to be documented. However the kernel
implementation has always used "int *".

Signed-off-by: Bastian Blank <waldi@debian.org>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3185
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviwed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/container-cross.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners.yml
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/cryptodev-lkcf.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/common-user/host/mips/safe-syscall.inc.S
/openbmc/qemu/configs/targets/aarch64-bsd-user.mak
/openbmc/qemu/configs/targets/aarch64-linux-user.mak
/openbmc/qemu/configs/targets/aarch64-softmmu.mak
/openbmc/qemu/configs/targets/aarch64_be-linux-user.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/uftrace_symbols.py
/openbmc/qemu/crypto/tlscredsx509.c
/openbmc/qemu/crypto/tlssession.c
/openbmc/qemu/disas/disas-host.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/vfio-user.rst
/openbmc/qemu/docs/system/devices/virtio/index.rst
/openbmc/qemu/docs/system/devices/virtio/vhost-user-contrib.rst
/openbmc/qemu/docs/system/devices/virtio/vhost-user.rst
/openbmc/qemu/docs/system/devices/virtio/virtio-gpu.rst
/openbmc/qemu/docs/system/devices/virtio/virtio-pmem.rst
/openbmc/qemu/docs/system/devices/virtio/virtio-snd.rst
/openbmc/qemu/docs/system/keys.rst.inc
/openbmc/qemu/docs/system/sriov.rst
/openbmc/qemu/docs/system/tls.rst
/openbmc/qemu/gdb-xml/aarch64-sme2.xml
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-fc.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-ssp.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-tsp.c
/openbmc/qemu/hw/arm/aspeed_coprocessor_common.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/soundhw.c
/openbmc/qemu/hw/audio/trace-events
/openbmc/qemu/hw/char/ipoctal232.c
/openbmc/qemu/hw/char/xen_console.c
/openbmc/qemu/hw/core/generic-loader.c
/openbmc/qemu/hw/core/gpio.c
/openbmc/qemu/hw/core/guest-loader.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine-qmp-cmds.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/register.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/virtio-gpu-virgl.c
/openbmc/qemu/hw/dma/pl330.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/hppa/hppa_hardware.h
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i386/kvm/apic.c
/openbmc/qemu/hw/i386/multiboot.c
/openbmc/qemu/hw/i386/vapic.c
/openbmc/qemu/hw/i386/x86-common.c
/openbmc/qemu/hw/i386/x86-cpu.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ide-internal.h
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_dist.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/gicv3_internal.h
/openbmc/qemu/hw/intc/riscv_aclint.c
/openbmc/qemu/hw/intc/riscv_aplic.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/loongarch/boot.c
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/m68k/virt.c
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/fuloong2e.c
/openbmc/qemu/hw/mips/jazz.c
/openbmc/qemu/hw/mips/loongson3_virt.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/lasi.c
/openbmc/qemu/hw/misc/xlnx-versal-crl.c
/openbmc/qemu/hw/misc/xlnx-versal-trng.c
/openbmc/qemu/hw/misc/xlnx-versal-xramc.c
/openbmc/qemu/hw/misc/xlnx-zynqmp-apu-ctrl.c
/openbmc/qemu/hw/misc/xlnx-zynqmp-crf.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/can/xlnx-versal-canfd.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.h
/openbmc/qemu/hw/net/rocker/rocker_of_dpa.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/xen_nic.c
/openbmc/qemu/hw/nubus/nubus-device.c
/openbmc/qemu/hw/nvram/ds1225y.c
/openbmc/qemu/hw/nvram/xlnx-bbram.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/openbmc/qemu/hw/openrisc/boot.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/amigaone.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/ppc/pef.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_fadump.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/ppc/vof.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/trace-events
/openbmc/qemu/hw/rx/rx-gdbsim.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/sclpcpi.c
/openbmc/qemu/hw/scsi/Kconfig
/openbmc/qemu/hw/scsi/lasi_ncr710.c
/openbmc/qemu/hw/scsi/lasi_ncr710.h
/openbmc/qemu/hw/scsi/meson.build
/openbmc/qemu/hw/scsi/ncr53c710.c
/openbmc/qemu/hw/scsi/ncr53c710.h
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/i8254.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/uefi/meson.build
/openbmc/qemu/hw/uefi/ovmf-log.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/vfio-user/device.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/container-legacy.c
/openbmc/qemu/hw/vfio/cpr-legacy.c
/openbmc/qemu/hw/vfio/device.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/listener.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/xen/xen_pt_msi.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/hw/arm/aspeed_coprocessor.h
/openbmc/qemu/include/hw/audio/soundhw.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/serial.h
/openbmc/qemu/include/hw/i386/apic.h
/openbmc/qemu/include/hw/i386/apic_internal.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/input/lasips2.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/intc/loongarch_dintc.h
/openbmc/qemu/include/hw/intc/loongarch_extioi_common.h
/openbmc/qemu/include/hw/intc/loongarch_pch_msi.h
/openbmc/qemu/include/hw/intc/loongarch_pic_common.h
/openbmc/qemu/include/hw/intc/loongson_ipi_common.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/auxbus.h
/openbmc/qemu/include/hw/misc/bcm2835_mphi.h
/openbmc/qemu/include/hw/misc/lasi.h
/openbmc/qemu/include/hw/misc/npcm7xx_pwm.h
/openbmc/qemu/include/hw/misc/xlnx-versal-crl.h
/openbmc/qemu/include/hw/misc/xlnx-versal-xramc.h
/openbmc/qemu/include/hw/misc/xlnx-zynqmp-apu-ctrl.h
/openbmc/qemu/include/hw/misc/xlnx-zynqmp-crf.h
/openbmc/qemu/include/hw/net/cadence_gem.h
/openbmc/qemu/include/hw/net/xlnx-versal-canfd.h
/openbmc/qemu/include/hw/nvram/xlnx-bbram.h
/openbmc/qemu/include/hw/pci-host/pnv_phb3.h
/openbmc/qemu/include/hw/pci-host/pnv_phb4.h
/openbmc/qemu/include/hw/ppc/mac_dbdma.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_fadump.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/register.h
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/hw/riscv/boot_opensbi.h
/openbmc/qemu/include/hw/riscv/iommu.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/sysbus.h
/openbmc/qemu/include/hw/timer/i8254.h
/openbmc/qemu/include/hw/uefi/var-service.h
/openbmc/qemu/include/hw/vfio/vfio-container-legacy.h
/openbmc/qemu/include/hw/vfio/vfio-cpr.h
/openbmc/qemu/include/hw/vfio/vfio-device.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio-serial.h
/openbmc/qemu/include/hw/xen/interface/hvm/params.h
/openbmc/qemu/include/io/channel-websock.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/net/can_emu.h
/openbmc/qemu/include/qemu/target-info-impl.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/qobject/qdict.h
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/io/channel-websock.c
ioctls.h
/openbmc/qemu/meson.build
/openbmc/qemu/monitor/qemu-config-qmp.c
/openbmc/qemu/net/stream.c
/openbmc/qemu/pc-bios/dtb/meson.build
/openbmc/qemu/pc-bios/dtb/pegasos1.dtb
/openbmc/qemu/pc-bios/dtb/pegasos1.dts
/openbmc/qemu/pc-bios/dtb/pegasos2.dtb
/openbmc/qemu/pc-bios/dtb/pegasos2.dts
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/hppa-firmware64.img
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/machine-s390x.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qobject/qdict.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/ci/setup/ubuntu/build-environment.yml
/openbmc/qemu/system/device_tree.c
/openbmc/qemu/system/qdev-monitor.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target/arm/cpregs.h
/openbmc/qemu/target/arm/cpu-features.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/gdbstub64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/hexagon/decode.c
/openbmc/qemu/target/hexagon/gen_helper_funcs.py
/openbmc/qemu/target/hexagon/genptr.c
/openbmc/qemu/target/hexagon/hex_common.py
/openbmc/qemu/target/hexagon/idef-parser/README.rst
/openbmc/qemu/target/hexagon/idef-parser/parser-helpers.c
/openbmc/qemu/target/hexagon/insn.h
/openbmc/qemu/target/hexagon/macros.h
/openbmc/qemu/target/hexagon/meson.build
/openbmc/qemu/target/hexagon/op_helper.c
/openbmc/qemu/target/hexagon/translate.c
/openbmc/qemu/target/hppa/fpu_helper.c
/openbmc/qemu/target/i386/cpu-apic.c
/openbmc/qemu/target/i386/cpu-dump.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/kvm_i386.h
/openbmc/qemu/target/i386/tcg/system/misc_helper.c
/openbmc/qemu/target/i386/whpx/whpx-apic.c
/openbmc/qemu/target/i386/whpx/whpx-internal.h
/openbmc/qemu/target/loongarch/cpu-csr.h
/openbmc/qemu/target/loongarch/cpu-mmu.h
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/cpu_helper.c
/openbmc/qemu/target/loongarch/tcg/csr_helper.c
/openbmc/qemu/target/loongarch/tcg/helper.h
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/loongarch/tcg/tlb_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_cfg_fields.h.inc
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/insn_trans/trans_rva.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvd.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvf.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzabha.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzacas.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzce.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzfh.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzicfiss.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/riscv-qmp-cmds.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/tcg/mips/tcg-target-has.h
/openbmc/qemu/tcg/mips/tcg-target-reg-bits.h
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target-has.h
/openbmc/qemu/tcg/ppc/tcg-target-reg-bits.h
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tests/functional/aarch64/test_aspeed_ast2700fc.py
/openbmc/qemu/tests/functional/i386/test_replay.py
/openbmc/qemu/tests/functional/ppc64/meson.build
/openbmc/qemu/tests/functional/ppc64/test_fadump.py
/openbmc/qemu/tests/functional/qemu_test/linuxkernel.py
/openbmc/qemu/tests/functional/s390x/test_ccw_virtio.py
/openbmc/qemu/tests/qtest/aspeed_gpio-test.c
/openbmc/qemu/tests/qtest/aspeed_smc-test.c
/openbmc/qemu/tests/qtest/ds1338-test.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sme2.py
/openbmc/qemu/tests/tcg/hexagon/signal_context.c
/openbmc/qemu/tests/tcg/multiarch/linux/linux-test.c
/openbmc/qemu/tests/unit/crypto-tls-x509-helpers.h
/openbmc/qemu/tests/unit/test-char.c
/openbmc/qemu/tests/unit/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/unit/test-crypto-tlssession.c
/openbmc/qemu/tests/unit/test-io-channel-tls.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/qemu-pixman.c
/openbmc/qemu/util/cacheflush.c
81c9311208-Oct-2025 Brian Cain <brian.cain@oss.qualcomm.com>

linux-user/hexagon: Use an array for GPRs

Link: https://lore.kernel.org/qemu-devel/023e01dc389c$faf84320$f0e8c960$@gmail.com/
Suggested-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Tay

linux-user/hexagon: Use an array for GPRs

Link: https://lore.kernel.org/qemu-devel/023e01dc389c$faf84320$f0e8c960$@gmail.com/
Suggested-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>

show more ...

ef9bb7c608-Oct-2025 Brian Cain <brian.cain@oss.qualcomm.com>

linux-user/hexagon: use abi_ulong

Change the user_regs_struct to use abi_ulong instead of
target_ulong.

Link: https://lore.kernel.org/qemu-devel/7bf3d8c5-df07-4cbd-ba62-4c7246a5f96b@linaro.org/
Sug

linux-user/hexagon: use abi_ulong

Change the user_regs_struct to use abi_ulong instead of
target_ulong.

Link: https://lore.kernel.org/qemu-devel/7bf3d8c5-df07-4cbd-ba62-4c7246a5f96b@linaro.org/
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>

show more ...

4a11070907-Oct-2025 Brian Cain <brian.cain@oss.qualcomm.com>

linux-user/hexagon: Fix sigcontext

In order to correspond with the kernel, we've now (1) moved the
preds[] to the right offset and combined the representation as a single
ulong "p3_0", (2), added th

linux-user/hexagon: Fix sigcontext

In order to correspond with the kernel, we've now (1) moved the
preds[] to the right offset and combined the representation as a single
ulong "p3_0", (2), added the cs{0,1} registers, (3) added a pad for 48
words, (4) added the user regs structure to an 8-byte aligned
target_sigcontext structure.

Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>

show more ...

91fc6d8106-Oct-2025 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user/microblaze: Fix little-endianness binary

MicroBlaze CPU model has a "little-endian" property, pointing to
the @endi internal field. Commit c36ec3a9655 ("hw/microblaze:
Explicit CPU endian

linux-user/microblaze: Fix little-endianness binary

MicroBlaze CPU model has a "little-endian" property, pointing to
the @endi internal field. Commit c36ec3a9655 ("hw/microblaze:
Explicit CPU endianness") took care of having all MicroBlaze
boards with an explicit default endianness, so later commit
415aae543ed ("target/microblaze: Consider endianness while
translating code") could infer the endianness at runtime from
the @endi field, and not a compile time via the TARGET_BIG_ENDIAN
definition. Doing so, we forgot to make the endianness explicit
on user emulation, so there all CPUs are started with the default
"little-endian=off" value, leading to breaking support for little
endian binaries:

$ readelf -h ./hello-world-mbel
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian

$ qemu-microblazeel ./hello-world-mbel
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)

Fix by restoring the previous behavior of starting with the
builtin endianness of the binary:

$ qemu-microblazeel ./hello-world-mbel
Hello World

Cc: qemu-stable@nongnu.org
Fixes: 415aae543ed ("target/microblaze: Consider endianness while translating code")
Reported-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-Id: <20251006173350.17455-1-philmd@linaro.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/rust.rst
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast10x0.c
/openbmc/qemu/hw/arm/aspeed_ast2400.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-fc.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-ssp.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-tsp.c
/openbmc/qemu/hw/arm/aspeed_ast27x0.c
/openbmc/qemu/hw/arm/aspeed_coprocessor_common.c
/openbmc/qemu/hw/arm/aspeed_soc_common.c
/openbmc/qemu/hw/arm/fby35.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/core/machine-hmp-cmds.c
/openbmc/qemu/hw/core/machine-qmp-cmds.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/intc/apic.c
/openbmc/qemu/hw/intc/loongarch_pic_kvm.c
/openbmc/qemu/hw/loongarch/boot.c
/openbmc/qemu/hw/loongarch/virt-acpi-build.c
/openbmc/qemu/hw/loongarch/virt-fdt-build.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/net/can/xlnx-versal-canfd.c
/openbmc/qemu/hw/ppc/ppce500_spin.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/vmapple/vmapple.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/hw/arm/aspeed_coprocessor.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/intc/loongarch_pic_common.h
/openbmc/qemu/include/hw/loongarch/virt.h
/openbmc/qemu/include/hw/pci-host/ls7a.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/system/kvm.h
microblaze/elfload.c
/openbmc/qemu/qapi/accelerator.json
/openbmc/qemu/rust/Cargo.lock
/openbmc/qemu/rust/bql/Cargo.toml
/openbmc/qemu/rust/bql/meson.build
/openbmc/qemu/rust/bql/src/cell.rs
/openbmc/qemu/rust/hw/char/pl011/src/registers.rs
/openbmc/qemu/rust/hw/timer/hpet/src/fw_cfg.rs
/openbmc/qemu/rust/meson.build
/openbmc/qemu/rust/migration/Cargo.toml
/openbmc/qemu/rust/migration/meson.build
/openbmc/qemu/rust/migration/src/lib.rs
/openbmc/qemu/rust/migration/src/migratable.rs
/openbmc/qemu/rust/migration/src/vmstate.rs
/openbmc/qemu/rust/qemu-macros/src/lib.rs
/openbmc/qemu/rust/qemu-macros/src/migration_state.rs
/openbmc/qemu/rust/qemu-macros/src/tests.rs
/openbmc/qemu/target/alpha/helper.h
/openbmc/qemu/target/alpha/machine.c
/openbmc/qemu/target/alpha/sys_helper.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/avr/translate.c
/openbmc/qemu/target/hexagon/translate.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/hppa/insns.decode
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/trace-events
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/tcg/system/excp_helper.c
/openbmc/qemu/target/i386/tcg/system/seg_helper.c
/openbmc/qemu/target/i386/tcg/system/smm_helper.c
/openbmc/qemu/target/loongarch/cpu-mmu.h
/openbmc/qemu/target/loongarch/cpu_helper.c
/openbmc/qemu/target/loongarch/gdbstub.c
/openbmc/qemu/target/loongarch/kvm/kvm.c
/openbmc/qemu/target/loongarch/machine.c
/openbmc/qemu/target/loongarch/tcg/helper.h
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/loongarch/tcg/tlb_helper.c
/openbmc/qemu/target/loongarch/tcg/translate.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/helper.h
/openbmc/qemu/target/microblaze/machine.c
/openbmc/qemu/target/microblaze/mmu.c
/openbmc/qemu/target/microblaze/mmu.h
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/mips/tcg/translate.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/fpu_helper.c
/openbmc/qemu/target/openrisc/helper.h
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/monitor.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/s390x/tcg/translate_vx.c.inc
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/helper.c
/openbmc/qemu/target/sparc/int64_helper.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tests/functional/aarch64/test_aspeed_ast2700.py
/openbmc/qemu/tests/functional/aarch64/test_aspeed_ast2700fc.py
/openbmc/qemu/tests/functional/arm/meson.build
/openbmc/qemu/tests/functional/arm/test_aspeed_ast1030.py
/openbmc/qemu/tests/functional/arm/test_aspeed_ast2500.py
/openbmc/qemu/tests/functional/arm/test_aspeed_ast2600_buildroot.py
/openbmc/qemu/tests/functional/arm/test_aspeed_ast2600_sdk.py
/openbmc/qemu/util/async.c
/openbmc/qemu/util/qemu-timer.c
a79fbb6923-Sep-2025 Jon Wilson <jonwilson030981@gmail.com>

linux-user: Support MADV_DONTDUMP, MADV_DODUMP

Set and clear PAGE_DONTDUMP, and honor that in vma_dump_size.

Signed-off-by: Jon Wilson <jonwilson030981@gmail.com>
[rth: Use new page_set_flags seman

linux-user: Support MADV_DONTDUMP, MADV_DODUMP

Set and clear PAGE_DONTDUMP, and honor that in vma_dump_size.

Signed-off-by: Jon Wilson <jonwilson030981@gmail.com>
[rth: Use new page_set_flags semantics; also handle DODUMP]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

f55fc1c023-Sep-2025 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Add clear_flags argument to page_set_flags

Expand the interface of page_set_flags to separate the
set of flags to be set and the set of flags to be cleared.

This allows us to replace PAG

accel/tcg: Add clear_flags argument to page_set_flags

Expand the interface of page_set_flags to separate the
set of flags to be set and the set of flags to be cleared.

This allows us to replace PAGE_RESET with the PAGE_VALID
bit within clear_flags.

Replace PAGE_TARGET_STICKY with TARGET_PAGE_NOTSTICKY;
aarch64-linux-user is the only user.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

d2687ad308-Oct-2025 Richard Henderson <richard.henderson@linaro.org>

linux-user/aarch64: Enable GCS in HWCAP

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20251008215613.300150-

linux-user/aarch64: Enable GCS in HWCAP

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20251008215613.300150-71-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

ef110c3008-Oct-2025 Richard Henderson <richard.henderson@linaro.org>

linux-user/aarch64: Generate GCS signal records

Here we must push and pop a cap on the GCS stack as
well as the gcs record on the normal stack.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linar

linux-user/aarch64: Generate GCS signal records

Here we must push and pop a cap on the GCS stack as
well as the gcs record on the normal stack.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20251008215613.300150-70-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

12345678910>>...155