History log of /qemu/linux-user/ (Results 251 – 275 of 3393)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
40965ad907-Jul-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user/strace: Expand struct flags to hold a mask

A zero bit value does not make sense -- it must relate to
some field in some way.

Define FLAG_BASIC with a build-time sanity check.
Adjust FLAG

linux-user/strace: Expand struct flags to hold a mask

A zero bit value does not make sense -- it must relate to
some field in some way.

Define FLAG_BASIC with a build-time sanity check.
Adjust FLAG_GENERIC and FLAG_TARGET to use it.
Add FLAG_GENERIC_MASK and FLAG_TARGET_MASK.

Fix up the existing flag definitions for build errors.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-6-richard.henderson@linaro.org>

show more ...

2b730f7907-Jul-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Fix formatting of mmap.c

Fix all checkpatch.pl errors within mmap.c.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off

linux-user: Fix formatting of mmap.c

Fix all checkpatch.pl errors within mmap.c.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-5-richard.henderson@linaro.org>

show more ...

d28b3c9006-Jul-2023 Andreas Schwab <schwab@suse.de>

linux-user: Make sure initial brk(0) is page-aligned

Fixes: 86f04735ac ("linux-user: Fix brk() to release pages")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Message-Id: <mvmpm55qnno.fsf@suse.de>

linux-user: Make sure initial brk(0) is page-aligned

Fixes: 86f04735ac ("linux-user: Fix brk() to release pages")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Message-Id: <mvmpm55qnno.fsf@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

9b61f77f26-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Fix do_shmat type errors

The guest address, raddr, should be unsigned, aka abi_ulong.
The host addresses should be cast via *intptr_t not long.
Drop the inline and fix two other whitespa

linux-user: Fix do_shmat type errors

The guest address, raddr, should be unsigned, aka abi_ulong.
The host addresses should be cast via *intptr_t not long.
Drop the inline and fix two other whitespace issues.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230626140250.69572-1-richard.henderson@linaro.org>

show more ...

7a8d9f3a05-Jul-2023 Pierrick Bouvier <pierrick.bouvier@linaro.org>

linux-user/syscall: Implement execve without execveat

Support for execveat syscall was implemented in 55bbe4 and is available
since QEMU 8.0.0. It relies on host execveat, which is widely available

linux-user/syscall: Implement execve without execveat

Support for execveat syscall was implemented in 55bbe4 and is available
since QEMU 8.0.0. It relies on host execveat, which is widely available
on most of Linux kernels today.

However, this change breaks qemu-user self emulation, if "host" qemu
version is less than 8.0.0. Indeed, it does not implement yet execveat.
This strange use case happens with most of distribution today having
binfmt support.

With a concrete failing example:
$ qemu-x86_64-7.2 qemu-x86_64-8.0 /bin/bash -c /bin/ls
/bin/bash: line 1: /bin/ls: Function not implemented
-> not implemented means execve returned ENOSYS

qemu-user-static 7.2 and 8.0 can be conveniently grabbed from debian
packages qemu-user-static* [1].

One usage of this is running wine-arm64 from linux-x64 (details [2]).
This is by updating qemu embedded in docker image that we ran into this
issue.

The solution to update host qemu is not always possible. Either it's
complicated or ask you to recompile it, or simply is not accessible
(GitLab CI, GitHub Actions). Thus, it could be worth to implement execve
without relying on execveat, which is the goal of this patch.

This patch was tested with example presented in this commit message.

[1] http://ftp.us.debian.org/debian/pool/main/q/qemu/
[1] https://www.linaro.org/blog/emulate-windows-on-arm/

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20230705121023.973284-1-pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

0f41be8d03-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_uint not unsigned in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

20d4956703-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_short not short in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

77e935f403-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_ushort not unsigned short in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

b3c719b203-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_int not int in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

55a1bcff03-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_llong not long long in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

6c97772903-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_ullong not unsigned long long in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

c7828bd103-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_uint not unsigned int in syscall_defs.h

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

93c5c6cd03-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_llong not int64_t in syscall_defs.h

Be careful not to change linux_dirent64, which is a host structure.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Ri

linux-user: Use abi_llong not int64_t in syscall_defs.h

Be careful not to change linux_dirent64, which is a host structure.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

7af406a603-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_ullong not uint64_t in syscall_defs.h

Be careful not to change linux_dirent64, which is a host structure.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by:

linux-user: Use abi_ullong not uint64_t in syscall_defs.h

Be careful not to change linux_dirent64, which is a host structure.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

5dc0c97103-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_int not int32_t in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

f6ee162703-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use abi_uint not uint32_t in syscall_defs.h

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

cb80ce5e03-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Remove #if 0 block in syscall_defs.h

These definitions are in sparc/signal.c.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson

linux-user: Remove #if 0 block in syscall_defs.h

These definitions are in sparc/signal.c.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

4f8ed2fd03-Jun-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Reformat syscall_defs.h

Untabify and re-indent.
We had a mix of 2, 3, 4, and 8 space indentation.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderso

linux-user: Reformat syscall_defs.h

Untabify and re-indent.
We had a mix of 2, 3, 4, and 8 space indentation.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/configs/devices/s390x-softmmu/default.mak
/qemu/configure
/qemu/contrib/vhost-user-gpu/vhost-user-gpu.c
/qemu/contrib/vhost-user-gpu/virgl.c
/qemu/contrib/vhost-user-gpu/vugpu.h
/qemu/docs/interop/qemu-ga.rst
/qemu/docs/interop/vhost-user-gpu.rst
/qemu/docs/pcie_sriov.txt
/qemu/hw/arm/virt.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/core/machine-smp.c
/qemu/hw/core/machine.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu-base.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/ide/cmd646.c
/qemu/hw/ide/pci.c
/qemu/hw/ide/piix.c
/qemu/hw/ide/sii3112.c
/qemu/hw/ide/via.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/loongarch/virt.c
/qemu/hw/mem/memory-device.c
/qemu/hw/mips/boston.c
/qemu/hw/mips/fuloong2e.c
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/mips/malta.c
/qemu/hw/net/Kconfig
/qemu/hw/net/igb.c
/qemu/hw/net/igbvf.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/pci-host/i440fx.c
/qemu/hw/pci-host/q35.c
/qemu/hw/pci-host/sabre.c
/qemu/hw/pci/Kconfig
/qemu/hw/pci/pci.c
/qemu/hw/pci/pci_host.c
/qemu/hw/pci/pcie.c
/qemu/hw/pci/pcie_sriov.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/s390x/Kconfig
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/smbios/smbios.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/usb/Kconfig
/qemu/hw/virtio/Kconfig
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vhost-shadow-virtqueue.c
/qemu/hw/virtio/vhost-stub.c
/qemu/hw/virtio/vhost-user-fs.c
/qemu/hw/virtio/vhost-user-gpio.c
/qemu/hw/virtio/vhost-user-scmi-pci.c
/qemu/hw/virtio/vhost-user-scmi.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/vhost-vsock-common.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-iommu.c
/qemu/hw/virtio/virtio-md-pci.c
/qemu/hw/virtio/virtio-mem-pci.c
/qemu/hw/virtio/virtio-mem-pci.h
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/virtio/virtio-pmem-pci.c
/qemu/hw/virtio/virtio-pmem-pci.h
/qemu/include/hw/boards.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/ide/pci.h
/qemu/include/hw/isa/vt82c686.h
/qemu/include/hw/pci-host/i440fx.h
/qemu/include/hw/pci-host/q35.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_host.h
/qemu/include/hw/pci/pcie.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/virtio/vhost-user-scmi.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/virtio/virtio-iommu.h
/qemu/include/hw/virtio/virtio-md-pci.h
/qemu/include/hw/virtio/virtio-mem.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/migration/misc.h
syscall_defs.h
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/net/vhost-vdpa.c
/qemu/qga/main.c
/qemu/qga/vss-win32/install.cpp
/qemu/qga/vss-win32/meson.build
/qemu/qga/vss-win32/provider.cpp
/qemu/qga/vss-win32/requester.cpp
/qemu/qga/vss-win32/vss-debug.cpp
/qemu/qga/vss-win32/vss-debug.h
/qemu/softmmu/physmem.c
/qemu/stubs/meson.build
/qemu/stubs/virtio-md-pci.c
/qemu/target/mips/cpu-defs.c.inc
/qemu/target/mips/cpu.c
/qemu/target/mips/cpu.h
/qemu/target/mips/helper.h
/qemu/target/mips/internal.h
/qemu/target/mips/sysemu/cp0_timer.c
/qemu/target/mips/tcg/lcsr.decode
/qemu/target/mips/tcg/lcsr_translate.c
/qemu/target/mips/tcg/meson.build
/qemu/target/mips/tcg/mxu_translate.c
/qemu/target/mips/tcg/op_helper.c
/qemu/target/mips/tcg/sysemu/lcsr_helper.c
/qemu/target/mips/tcg/sysemu/meson.build
/qemu/target/mips/tcg/sysemu_helper.h.inc
/qemu/target/mips/tcg/translate.c
/qemu/target/mips/tcg/translate.h
/qemu/tests/data/acpi/q35/DSDT.noacpihp
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/hd-geo-test.c
/qemu/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/virtio-scmi.c
/qemu/tests/qtest/libqos/virtio-scmi.h
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/unit/test-qga.c
78a1e15304-Jul-2023 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: elfload: Add more initial s390x PSW bits

Make the PSW look more similar to the real s390x userspace PSW.
Except for being there, the newly added bits should not affect the
userspace code

linux-user: elfload: Add more initial s390x PSW bits

Make the PSW look more similar to the real s390x userspace PSW.
Except for being there, the newly added bits should not affect the
userspace code execution.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230704081506.276055-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/crypto/aes.c
/qemu/docs/system/ppc/powernv.rst
/qemu/host/include/aarch64/host/cpuinfo.h
/qemu/host/include/aarch64/host/crypto/aes-round.h
/qemu/host/include/generic/host/crypto/aes-round.h
/qemu/host/include/i386/host/cpuinfo.h
/qemu/host/include/i386/host/crypto/aes-round.h
/qemu/host/include/ppc/host/cpuinfo.h
/qemu/host/include/ppc/host/crypto/aes-round.h
/qemu/host/include/ppc64/host/cpuinfo.h
/qemu/host/include/ppc64/host/crypto/aes-round.h
/qemu/host/include/x86_64/host/crypto/aes-round.h
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/intc/pnv_xive2.c
/qemu/hw/intc/trace-events
/qemu/hw/intc/xive.c
/qemu/hw/intc/xive2.c
/qemu/hw/loongarch/virt.c
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/net/e1000.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/i82596.c
/qemu/hw/net/igb_core.c
/qemu/hw/net/ne2000.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/net/trace-events
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/pci-host/mv64361.c
/qemu/hw/pci-host/mv643xx.h
/qemu/hw/pci/pcie.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_psi.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/ppc440.h
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/ppc4xx_pci.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/meson.build
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/tod-kvm.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/xtensa/virt.c
/qemu/include/crypto/aes-round.h
/qemu/include/crypto/aes.h
/qemu/include/hw/pci/pcie.h
/qemu/include/hw/ppc/pnv_core.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/ppc/ppc4xx.h
/qemu/include/hw/ppc/xive.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/const.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_blk.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/linux-headers/asm-arm64/bitsperlong.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/bitsperlong.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/bitsperlong.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/unistd.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/const.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/mman.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
elfload.c
/qemu/meson.build
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/net/socket.c
/qemu/net/vhost-vdpa.c
/qemu/python/qemu/qmp/qmp_tui.py
/qemu/python/setup.cfg
/qemu/python/tests/minreqs.txt
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/softmmu/runstate.c
/qemu/target/arm/helper.h
/qemu/target/arm/tcg/crypto_helper.c
/qemu/target/arm/tcg/sve.decode
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate-neon.c
/qemu/target/arm/tcg/translate-sve.c
/qemu/target/avr/helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/ops_sse.h
/qemu/target/ppc/arch_dump.c
/qemu/target/ppc/cpu-qom.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/internal.h
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/meson.build
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/spr_common.h
/qemu/target/ppc/timebase_helper.c
/qemu/target/ppc/translate.c
/qemu/target/riscv/crypto_helper.c
/qemu/target/s390x/arch_dump.c
/qemu/target/s390x/cpu-sysemu.c
/qemu/target/s390x/cpu_features.c
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/diag.c
/qemu/target/s390x/helper.c
/qemu/target/s390x/ioinst.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/meson.build
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target.h
/qemu/tests/avocado/ppc_powernv.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/qtest/pnv-xscom-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/test-aes.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-aes.c
/qemu/tests/tcg/multiarch/test-aes-main.c.inc
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/test-aes.c
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/tcg/riscv64/test-aes.c
/qemu/util/cpuinfo-aarch64.c
/qemu/util/cpuinfo-i386.c
/qemu/util/cpuinfo-ppc.c
/qemu/util/meson.build
9e1c7d9819-Jun-2023 Robbin Ehn <rehn@rivosinc.com>

linux-user/riscv: Add syscall riscv_hwprobe

This patch adds the new syscall for the
"RISC-V Hardware Probing Interface"
(https://docs.kernel.org/riscv/hwprobe.html).

Reviewed-by: Palmer Dabbelt <pa

linux-user/riscv: Add syscall riscv_hwprobe

This patch adds the new syscall for the
"RISC-V Hardware Probing Interface"
(https://docs.kernel.org/riscv/hwprobe.html).

Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Robbin Ehn <rehn@rivosinc.com>
Message-Id: <06a4543df2aa6101ca9a48f21a3198064b4f1f87.camel@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/qemu/MAINTAINERS
/qemu/crypto/aes.c
/qemu/disas/meson.build
/qemu/disas/riscv-xthead.c
/qemu/disas/riscv-xthead.h
/qemu/disas/riscv-xventana.c
/qemu/disas/riscv-xventana.h
/qemu/disas/riscv.c
/qemu/disas/riscv.h
/qemu/docs/system/ppc/powernv.rst
/qemu/docs/system/riscv/virt.rst
/qemu/host/include/aarch64/host/cpuinfo.h
/qemu/host/include/aarch64/host/crypto/aes-round.h
/qemu/host/include/generic/host/crypto/aes-round.h
/qemu/host/include/i386/host/cpuinfo.h
/qemu/host/include/i386/host/crypto/aes-round.h
/qemu/host/include/ppc/host/cpuinfo.h
/qemu/host/include/ppc/host/crypto/aes-round.h
/qemu/host/include/ppc64/host/cpuinfo.h
/qemu/host/include/ppc64/host/crypto/aes-round.h
/qemu/host/include/x86_64/host/crypto/aes-round.h
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/intc/pnv_xive2.c
/qemu/hw/intc/trace-events
/qemu/hw/intc/xive.c
/qemu/hw/intc/xive2.c
/qemu/hw/loongarch/virt.c
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/misc/Kconfig
/qemu/hw/misc/meson.build
/qemu/hw/misc/sifive_e_aon.c
/qemu/hw/net/e1000.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/i82596.c
/qemu/hw/net/igb_core.c
/qemu/hw/net/ne2000.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/net/trace-events
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/pci-host/mv64361.c
/qemu/hw/pci-host/mv643xx.h
/qemu/hw/pci/pcie.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_psi.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/ppc440.h
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/ppc4xx_pci.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/sifive_e.c
/qemu/hw/riscv/virt.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/xtensa/virt.c
/qemu/include/crypto/aes-round.h
/qemu/include/crypto/aes.h
/qemu/include/hw/misc/sifive_e_aon.h
/qemu/include/hw/pci/pcie.h
/qemu/include/hw/ppc/pnv_core.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/ppc/ppc4xx.h
/qemu/include/hw/ppc/xive.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/const.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_blk.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/linux-headers/asm-arm64/bitsperlong.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/bitsperlong.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/bitsperlong.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/unistd.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/const.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/mman.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
riscv/syscall32_nr.h
riscv/syscall64_nr.h
syscall.c
/qemu/meson.build
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/net/socket.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
/qemu/python/qemu/qmp/qmp_tui.py
/qemu/python/setup.cfg
/qemu/python/tests/minreqs.txt
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/roms/opensbi
/qemu/softmmu/runstate.c
/qemu/target/arm/helper.h
/qemu/target/arm/tcg/crypto_helper.c
/qemu/target/arm/tcg/sve.decode
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate-neon.c
/qemu/target/arm/tcg/translate-sve.c
/qemu/target/avr/helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/ops_sse.h
/qemu/target/ppc/arch_dump.c
/qemu/target/ppc/cpu-qom.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/internal.h
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/meson.build
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/spr_common.h
/qemu/target/ppc/timebase_helper.c
/qemu/target/ppc/translate.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/crypto_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/op_helper.c
/qemu/target/riscv/translate.c
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target.h
/qemu/tests/avocado/ppc_powernv.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/avocado/riscv_opensbi.py
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/pnv-xscom-test.c
/qemu/tests/qtest/sifive-e-aon-watchdog-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/test-aes.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-aes.c
/qemu/tests/tcg/multiarch/test-aes-main.c.inc
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/test-aes.c
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/tcg/riscv64/test-aes.c
/qemu/util/cpuinfo-aarch64.c
/qemu/util/cpuinfo-i386.c
/qemu/util/cpuinfo-ppc.c
/qemu/util/meson.build
036cf16912-Mar-2023 Helge Deller <deller@gmx.de>

linux-user: Improve strace output of pread64() and pwrite64()

Make the strace look nicer for those two syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.

linux-user: Improve strace output of pread64() and pwrite64()

Make the strace look nicer for those two syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

dca4c83808-Jul-2023 Helge Deller <deller@gmx.de>

linux-user: Fix accept4(SOCK_NONBLOCK) syscall

The Linux accept4() syscall allows two flags only: SOCK_NONBLOCK and
SOCK_CLOEXEC, and returns -EINVAL if any other bits have been set.

Change the qem

linux-user: Fix accept4(SOCK_NONBLOCK) syscall

The Linux accept4() syscall allows two flags only: SOCK_NONBLOCK and
SOCK_CLOEXEC, and returns -EINVAL if any other bits have been set.

Change the qemu implementation accordingly, which means we can not use
the fcntl_flags_tbl[] translation table which allows too many other
values.

Beside the correction in behaviour, this actually fixes the accept4()
emulation for hppa, mips and alpha targets for which SOCK_NONBLOCK is
different than TARGET_SOCK_NONBLOCK (aka O_NONBLOCK).

The fix can be verified with the testcase of the debian lwt package,
which hangs forever in a read() syscall without this patch.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

e0ddf8ea08-Jul-2023 Helge Deller <deller@gmx.de>

linux-user: Fix fcntl() and fcntl64() to return O_LARGEFILE for 32-bit targets

When running a 32-bit guest on a 64-bit host, fcntl[64](F_GETFL) should
return with the TARGET_O_LARGEFILE flag set, be

linux-user: Fix fcntl() and fcntl64() to return O_LARGEFILE for 32-bit targets

When running a 32-bit guest on a 64-bit host, fcntl[64](F_GETFL) should
return with the TARGET_O_LARGEFILE flag set, because all 64-bit hosts
support large files unconditionally.

But on 64-bit hosts, O_LARGEFILE has the value 0, so the flag
translation can't be done with the fcntl_flags_tbl[]. Instead add the
TARGET_O_LARGEFILE flag afterwards.

Note that for 64-bit guests the compiler will optimize away this code,
since TARGET_O_LARGEFILE is zero.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

77ae576130-Jun-2023 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: Emulate /proc/self/smaps

/proc/self/smaps is an extension of /proc/self/maps: it provides the
same lines, plus additional information about each range.

GDB uses /proc/self/smaps when av

linux-user: Emulate /proc/self/smaps

/proc/self/smaps is an extension of /proc/self/maps: it provides the
same lines, plus additional information about each range.

GDB uses /proc/self/smaps when available, which means that
generate-core-file tries it first before falling back to
/proc/self/maps. This, in turn, causes it to dump the host mappings,
since /proc/self/smaps is not emulated and is just passed through.

Fix by emulating /proc/self/smaps. Provide true values only for
Size, KernelPageSize, MMUPageSize and VmFlags. Leave all other values
at 0, which is a valid conservative estimate.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230621203627.1808446-4-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-34-alex.bennee@linaro.org>

show more ...

35be898e30-Jun-2023 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: Add "safe" parameter to do_guest_openat()

gdbstub cannot meaningfully handle QEMU_ERESTARTSYS, and it doesn't
need to. Add a parameter to do_guest_openat() that makes it use
openat() ins

linux-user: Add "safe" parameter to do_guest_openat()

gdbstub cannot meaningfully handle QEMU_ERESTARTSYS, and it doesn't
need to. Add a parameter to do_guest_openat() that makes it use
openat() instead of safe_openat(), so that it becomes usable from
gdbstub.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230621203627.1808446-3-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-33-alex.bennee@linaro.org>

show more ...

1...<<11121314151617181920>>...136