History log of /qemu/linux-user/ (Results 1 – 25 of 3393)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5927246925-Apr-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

user: Use get_task_state() helper

Get the TaskState pointer calling get_task_state().

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

user: Use get_task_state() helper

Get the TaskState pointer calling get_task_state().

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

show more ...

8019601325-Apr-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

user: Declare get_task_state() once in 'accel/tcg/vcpu-state.h'

While each user emulation implentation defines its own
TaskState structure, both use the same get_task_state()
declaration, in particu

user: Declare get_task_state() once in 'accel/tcg/vcpu-state.h'

While each user emulation implentation defines its own
TaskState structure, both use the same get_task_state()
declaration, in particular in common code (such gdbstub).
Declare the method once in "accel/tcg/vcpu-state.h".

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

show more ...

ef932e2110-Jan-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

user: Forward declare TaskState type definition

Forward declare TaskState in "qemu/typedefs.h" so we can
use it in generic headers like "hw/cpu/core.h".

Signed-off-by: Philippe Mathieu-Daudé <philm

user: Forward declare TaskState type definition

Forward declare TaskState in "qemu/typedefs.h" so we can
use it in generic headers like "hw/cpu/core.h".

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

show more ...

b254c34210-Jan-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

accel/tcg: Access tcg_cflags with getter / setter

Access the CPUState::tcg_cflags via tcg_cflags_has() and
tcg_cflags_set() helpers.

Mechanical change using the following Coccinelle spatch script:

accel/tcg: Access tcg_cflags with getter / setter

Access the CPUState::tcg_cflags via tcg_cflags_has() and
tcg_cflags_set() helpers.

Mechanical change using the following Coccinelle spatch script:

@@
expression cpu;
expression flags;
@@
- cpu->tcg_cflags & flags
+ tcg_cflags_has(cpu, flags)

@@
expression cpu;
expression flags;
@@
- (tcg_cflags_has(cpu, flags))
+ tcg_cflags_has(cpu, flags)

@@
expression cpu;
expression flags;
@@
- cpu->tcg_cflags |= flags;
+ tcg_cflags_set(cpu, flags);

Then manually moving the declarations, and adding both
tcg_cflags_has() and tcg_cflags_set() definitions.

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

show more ...

74781c0806-Dec-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

exec/cpu: Extract page-protection definitions to page-protection.h

Extract page-protection definitions from "exec/cpu-all.h"
to "exec/page-protection.h".

The list of files requiring the new header

exec/cpu: Extract page-protection definitions to page-protection.h

Extract page-protection definitions from "exec/cpu-all.h"
to "exec/page-protection.h".

The list of files requiring the new header was generated
using:

$ git grep -wE \
'PAGE_(READ|WRITE|EXEC|RWX|VALID|ANON|RESERVED|TARGET_.|PASSTHROUGH)'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240427155714.53669-3-philmd@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/user-exec.c
/qemu/bsd-user/bsd-mem.h
/qemu/bsd-user/mmap.c
/qemu/bsd-user/qemu.h
/qemu/bsd-user/signal.c
/qemu/cpu-target.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/page-protection.h
/qemu/include/semihosting/uaccess.h
arm/cpu_loop.c
elfload.c
mmap.c
signal.c
syscall.c
/qemu/system/physmem.c
/qemu/target/alpha/helper.c
/qemu/target/arm/cpu.h
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/m_helper.c
/qemu/target/arm/tcg/mte_helper.c
/qemu/target/arm/tcg/sve_helper.c
/qemu/target/avr/helper.c
/qemu/target/cris/mmu.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/loongarch/tcg/tlb_helper.c
/qemu/target/m68k/helper.c
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/mmu.c
/qemu/target/mips/sysemu/physaddr.c
/qemu/target/mips/tcg/sysemu/tlb_helper.c
/qemu/target/openrisc/mmu.c
/qemu/target/ppc/internal.h
/qemu/target/ppc/mmu-hash32.c
/qemu/target/ppc/mmu-hash64.c
/qemu/target/ppc/mmu-radix64.c
/qemu/target/ppc/mmu-radix64.h
/qemu/target/ppc/mmu_common.c
/qemu/target/ppc/mmu_helper.c
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/mmu_helper.c
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/sh4/helper.c
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/tricore/helper.c
/qemu/target/xtensa/mmu_helper.c
/qemu/target/xtensa/op_helper.c
86b7c55105-May-2024 BALATON Zoltan <balaton@eik.bme.hu>

exec/cpu: Rename PAGE_BITS macro to PAGE_RWX

This macro can be used to abbreviate PAGE_READ | PAGE_WRITE | PAGE_EXEC
for which PAGE_RWX is a better name and renaming it also shows it is
not related

exec/cpu: Rename PAGE_BITS macro to PAGE_RWX

This macro can be used to abbreviate PAGE_READ | PAGE_WRITE | PAGE_EXEC
for which PAGE_RWX is a better name and renaming it also shows it is
not related to TARGET_PAGE_BITS.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240505121008.44A0D4E602D@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
/qemu/MAINTAINERS
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/user-exec.c
/qemu/backends/cryptodev-builtin.c
/qemu/bsd-user/mmap.c
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/hw/arm/Kconfig
/qemu/hw/arm/b-l475e-iot01a.c
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/core/clock.c
/qemu/hw/core/machine.c
/qemu/hw/display/Kconfig
/qemu/hw/display/dm163.c
/qemu/hw/display/meson.build
/qemu/hw/display/trace-events
/qemu/hw/dma/xlnx_dpdma.c
/qemu/hw/ide/core.c
/qemu/hw/loongarch/boot.c
/qemu/hw/loongarch/meson.build
/qemu/hw/loongarch/virt.c
/qemu/hw/misc/edu.c
/qemu/hw/ufs/ufs.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/helper-gen-common.h
/qemu/include/exec/helper-gen.h.inc
/qemu/include/exec/helper-proto-common.h
/qemu/include/exec/plugin-gen.h
/qemu/include/hw/display/dm163.h
/qemu/include/hw/intc/loongarch_extioi.h
/qemu/include/hw/loongarch/boot.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/pci-host/ls7a.h
/qemu/include/hw/watchdog/sbsa_gwdt.h
/qemu/include/qemu/cutils.h
/qemu/include/qemu/log.h
/qemu/include/qemu/plugin.h
/qemu/include/tcg/helper-info.h
/qemu/include/tcg/tcg-op-common.h
/qemu/include/tcg/tcg-opc.h
/qemu/include/tcg/tcg.h
elfload.c
mmap.c
/qemu/net/slirp.c
/qemu/plugins/api.c
/qemu/plugins/core.c
/qemu/qga/commands-common-ssh.c
/qemu/qga/commands-common-ssh.h
/qemu/qga/commands-posix-ssh.c
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands-windows-ssh.c
/qemu/qga/commands-windows-ssh.h
/qemu/qga/meson.build
/qemu/qga/qapi-schema.json
/qemu/scripts/checkpatch.pl
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/stubs/meson.build
/qemu/target/alpha/cpu.c
/qemu/target/alpha/helper.c
/qemu/target/alpha/translate.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/cris/mmu.c
/qemu/target/i386/cpu.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/microblaze/helper.c
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models.h
/qemu/target/s390x/cpu_models_sysemu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/sh4/translate.c
/qemu/tcg/tcg-op-ldst.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg.c
/qemu/tcg/tci.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/bench/bufferiszero-bench.c
/qemu/tests/bench/meson.build
/qemu/tests/qtest/dm163-test.c
/qemu/tests/qtest/ide-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/qtest/stm32l4x5_syscfg-test.c
/qemu/tests/tcg/sh4/Makefile.target
/qemu/tests/tcg/sh4/test-addv.c
/qemu/tests/tcg/sh4/test-subv.c
/qemu/ui/cocoa.m
/qemu/util/bufferiszero.c
/qemu/util/log.c
1cde1a2a02-May-2024 Richard Henderson <richard.henderson@linaro.org>

linux-user/sparc: Add more hwcap bits for sparc64

Supply HWCAP_SPARC_V8PLUS, HWCAP_SPARC_MUL32, HWCAP_SPARC_DIV32,
HWCAP_SPARC_POPC, HWCAP_SPARC_FSMULD, HWCAP_SPARC_VIS, HWCAP_SPARC_VIS2.

Signed-of

linux-user/sparc: Add more hwcap bits for sparc64

Supply HWCAP_SPARC_V8PLUS, HWCAP_SPARC_MUL32, HWCAP_SPARC_DIV32,
HWCAP_SPARC_POPC, HWCAP_SPARC_FSMULD, HWCAP_SPARC_VIS, HWCAP_SPARC_VIS2.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240502165528.244004-2-richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

show more ...


/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
/qemu/MAINTAINERS
/qemu/accel/tcg/plugin-gen.c
/qemu/backends/cryptodev-builtin.c
/qemu/docs/about/deprecated.rst
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/target-sparc.rst
/qemu/hw/arm/Kconfig
/qemu/hw/arm/b-l475e-iot01a.c
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/core/clock.c
/qemu/hw/core/machine.c
/qemu/hw/display/Kconfig
/qemu/hw/display/dm163.c
/qemu/hw/display/meson.build
/qemu/hw/display/trace-events
/qemu/hw/dma/xlnx_dpdma.c
/qemu/hw/ide/core.c
/qemu/hw/loongarch/boot.c
/qemu/hw/loongarch/meson.build
/qemu/hw/loongarch/virt.c
/qemu/hw/misc/edu.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/ufs/ufs.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/include/exec/helper-gen-common.h
/qemu/include/exec/helper-gen.h.inc
/qemu/include/exec/helper-proto-common.h
/qemu/include/exec/plugin-gen.h
/qemu/include/hw/display/dm163.h
/qemu/include/hw/intc/loongarch_extioi.h
/qemu/include/hw/loongarch/boot.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/pci-host/ls7a.h
/qemu/include/hw/watchdog/sbsa_gwdt.h
/qemu/include/qemu/cutils.h
/qemu/include/qemu/log.h
/qemu/include/qemu/plugin.h
/qemu/include/tcg/helper-info.h
/qemu/include/tcg/tcg-op-common.h
/qemu/include/tcg/tcg-opc.h
/qemu/include/tcg/tcg.h
elfload.c
/qemu/net/slirp.c
/qemu/plugins/api.c
/qemu/plugins/core.c
/qemu/qga/commands-common-ssh.c
/qemu/qga/commands-common-ssh.h
/qemu/qga/commands-posix-ssh.c
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands-windows-ssh.c
/qemu/qga/commands-windows-ssh.h
/qemu/qga/meson.build
/qemu/qga/qapi-schema.json
/qemu/qom/object.c
/qemu/scripts/checkpatch.pl
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/stubs/meson.build
/qemu/target/alpha/cpu.c
/qemu/target/alpha/helper.c
/qemu/target/alpha/translate.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/i386/cpu.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models.h
/qemu/target/s390x/cpu_models_sysemu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/tcg/tcg-op-ldst.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg.c
/qemu/tcg/tci.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/bench/bufferiszero-bench.c
/qemu/tests/bench/meson.build
/qemu/tests/qtest/dm163-test.c
/qemu/tests/qtest/ide-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/qtest/stm32l4x5_syscfg-test.c
/qemu/tests/tcg/sh4/Makefile.target
/qemu/tests/tcg/sh4/test-addv.c
/qemu/tests/tcg/sh4/test-subv.c
/qemu/ui/cocoa.m
/qemu/util/bufferiszero.c
/qemu/util/log.c
4e11165322-Mar-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

user: Move 'thunk.h' from 'exec/user' to 'user'

Keep all user emulation headers under the same user/ directory.

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

user: Move 'thunk.h' from 'exec/user' to 'user'

Keep all user emulation headers under the same user/ directory.

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

show more ...

22879b6622-Mar-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

user: Move 'abitypes.h' from 'exec/user' to 'user'

Keep all user emulation headers under the same user/ directory.

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

user: Move 'abitypes.h' from 'exec/user' to 'user'

Keep all user emulation headers under the same user/ directory.

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

show more ...

16aa8eaa11-Dec-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

exec: Restrict inclusion of 'user/guest-base.h'

Declare 'have_guest_base' in "user/guest-base.h".

Very few files require this header, so explicitly include
it there instead of "exec/cpu-all.h" whic

exec: Restrict inclusion of 'user/guest-base.h'

Declare 'have_guest_base' in "user/guest-base.h".

Very few files require this header, so explicitly include
it there instead of "exec/cpu-all.h" which is used in many
source files.

Assert this user-specific header is only included from user
emulation.

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

show more ...

8272386612-Dec-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'

tswapl() and bswaptls() are target-dependent and only used
by user emulation. Move their definitions to a new header:
"exec/user/tsw

exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'

tswapl() and bswaptls() are target-dependent and only used
by user emulation. Move their definitions to a new header:
"exec/user/tswap-target.h".

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

show more ...


/qemu/MAINTAINERS
/qemu/accel/hvf/hvf-accel-ops.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/ldst_atomicity.c.inc
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translator.c
/qemu/accel/tcg/user-exec.c
/qemu/accel/tcg/user-retaddr.h
/qemu/bsd-user/freebsd/target_os_elf.h
/qemu/bsd-user/freebsd/target_os_stack.h
/qemu/bsd-user/netbsd/target_os_elf.h
/qemu/bsd-user/openbsd/target_os_elf.h
/qemu/bsd-user/signal.c
/qemu/bsd-user/strace.c
/qemu/cpu-target.c
/qemu/disas/disas.c
/qemu/gdbstub/gdbstub.c
/qemu/host/include/aarch64/host/load-extract-al16-al8.h.inc
/qemu/host/include/aarch64/host/store-insert-al16.h.inc
/qemu/host/include/generic/host/load-extract-al16-al8.h.inc
/qemu/host/include/generic/host/store-insert-al16.h.inc
/qemu/host/include/loongarch64/host/load-extract-al16-al8.h.inc
/qemu/host/include/loongarch64/host/store-insert-al16.h.inc
/qemu/host/include/x86_64/host/load-extract-al16-al8.h.inc
/qemu/hw/audio/virtio-snd.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/core/generic-loader.c
/qemu/hw/display/vga.c
/qemu/hw/virtio/virtio.c
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/helper-gen.h.inc
/qemu/include/exec/helper-head.h.inc
/qemu/include/exec/helper-info.c.inc
/qemu/include/exec/helper-proto.h.inc
/qemu/include/exec/memop.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/tswap.h
/qemu/include/exec/user/abitypes.h
/qemu/include/gdbstub/helpers.h
/qemu/include/hw/core/cpu.h
/qemu/include/qemu/osdep.h
/qemu/include/semihosting/uaccess.h
/qemu/include/sysemu/hvf.h
/qemu/include/sysemu/hvf_int.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/nvmm.h
/qemu/include/sysemu/whpx.h
/qemu/include/sysemu/xen.h
/qemu/include/user/tswap-target.h
elfload.c
i386/signal.c
ppc/signal.c
/qemu/meson.build
/qemu/page-target.c
/qemu/scripts/analyze-inclusions
/qemu/semihosting/guestfd.c
/qemu/system/physmem.c
/qemu/target/alpha/cpu-param.h
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.h
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/kvm-consts.h
/qemu/target/avr/cpu-param.h
/qemu/target/avr/cpu.h
/qemu/target/avr/gdbstub.c
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/cpu.h
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu-param.h
/qemu/target/loongarch/cpu.h
/qemu/target/meson.build
/qemu/target/microblaze/cpu-param.h
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu-param.h
/qemu/target/mips/cpu.h
/qemu/target/openrisc/cpu-param.h
/qemu/target/openrisc/cpu.h
/qemu/target/ppc/cpu-param.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/riscv/cpu-param.h
/qemu/target/riscv/cpu.h
/qemu/target/s390x/cpu-param.h
/qemu/target/s390x/cpu.h
/qemu/target/sparc/cpu-param.h
/qemu/target/sparc/cpu.h
/qemu/target/sparc/gdbstub.c
/qemu/target/tricore/gdbstub.c
/qemu/target/xtensa/cpu-param.h
/qemu/target/xtensa/cpu.h
159fb79018-Apr-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

hw/elf_ops: Rename elf_ops.h -> elf_ops.h.inc

Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, s

hw/elf_ops: Rename elf_ops.h -> elf_ops.h.inc

Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documented in the Coding Style:

If you do use template header files they should be named with
the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are
being included for expansion.

Therefore rename "hw/elf_ops.h" as "hw/elf_ops.h.inc".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240424173333.96148-2-philmd@linaro.org>

show more ...


/qemu/Kconfig.host
/qemu/MAINTAINERS
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/trace-events
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/tcg/icount-common.c
/qemu/backends/hostmem-file.c
/qemu/backends/hostmem-memfd.c
/qemu/backends/hostmem-ram.c
/qemu/backends/hostmem.c
/qemu/backends/iommufd.c
/qemu/block/gluster.c
/qemu/block/snapshot.c
/qemu/blockdev.c
/qemu/bsd-user/elfload.c
/qemu/chardev/char-fe.c
/qemu/configs/targets/aarch64-softmmu.mak
/qemu/configs/targets/i386-softmmu.mak
/qemu/configs/targets/ppc-softmmu.mak
/qemu/configs/targets/ppc64-softmmu.mak
/qemu/configs/targets/s390x-softmmu.mak
/qemu/configs/targets/x86_64-softmmu.mak
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/requirements.txt
/qemu/docs/system/device-url-syntax.rst.inc
/qemu/docs/system/loongarch/virt.rst
/qemu/docs/system/qemu-block-drivers.rst.inc
/qemu/ebpf/meson.build
/qemu/hmp-commands-info.hx
/qemu/hw/Kconfig
/qemu/hw/arm/Kconfig
/qemu/hw/arm/virt.c
/qemu/hw/core/loader.c
/qemu/hw/core/machine-qmp-cmds.c
/qemu/hw/core/machine.c
/qemu/hw/core/meson.build
/qemu/hw/core/qdev-properties.c
/qemu/hw/core/qdev.c
/qemu/hw/cpu/Kconfig
/qemu/hw/cpu/meson.build
/qemu/hw/cxl/cxl-cdat.c
/qemu/hw/display/meson.build
/qemu/hw/display/ramfb-stubs.c
/qemu/hw/display/vga.c
/qemu/hw/i386/acpi-common.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/m68k/virt.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/mem/memory-device-stubs.c
/qemu/hw/mem/meson.build
/qemu/hw/meson.build
/qemu/hw/misc/applesmc.c
/qemu/hw/misc/imx25_ccm.c
/qemu/hw/misc/imx31_ccm.c
/qemu/hw/misc/imx6_ccm.c
/qemu/hw/misc/imx6_src.c
/qemu/hw/misc/imx6ul_ccm.c
/qemu/hw/misc/imx7_src.c
/qemu/hw/net/imx_fec.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-host/q35.c
/qemu/hw/ppc/pef.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/s390-stattrib-kvm.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/ssi/imx_spi.c
/qemu/hw/timer/Kconfig
/qemu/hw/timer/meson.build
/qemu/hw/usb/bus-stub.c
/qemu/hw/usb/meson.build
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-md-stubs.c
/qemu/include/exec/confidential-guest-support.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/ramblock.h
/qemu/include/hw/boards.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/cxl/cxl_component.h
/qemu/include/hw/elf_ops.h.inc
/qemu/include/hw/i386/pc.h
/qemu/include/hw/pci-host/q35.h
/qemu/include/hw/s390x/storage-attributes.h
/qemu/include/migration/register.h
/qemu/include/monitor/hmp.h
/qemu/include/qapi/qmp/qerror.h
/qemu/include/qemu/config-file.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/asm-x86/kvm_para.h
/qemu/include/standard-headers/asm-x86/setup_data.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/fuse.h
/qemu/include/standard-headers/linux/input-event-codes.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_snd.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
/qemu/include/sysemu/sysemu.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-arm64/sve_context.h
/qemu/linux-headers/asm-generic/bitsperlong.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-headers/asm-mips/kvm.h
/qemu/linux-headers/asm-powerpc/kvm.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/bits.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/vhost.h
elfload.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo-stubs.c
/qemu/migration/colo.c
/qemu/migration/dirtyrate.c
/qemu/migration/meson.build
/qemu/migration/migration.c
/qemu/migration/multifd-zero-page.c
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/savevm.c
/qemu/migration/savevm.h
/qemu/monitor/meson.build
/qemu/monitor/qemu-config-qmp.c
/qemu/monitor/qmp-cmds.c
/qemu/net/colo-stubs.c
/qemu/net/meson.build
/qemu/python/qemu/machine/machine.py
/qemu/pythondeps.toml
/qemu/qapi/machine.json
/qemu/qapi/meson.build
/qemu/qapi/opts-visitor.c
/qemu/qapi/qapi-schema.json
/qemu/qapi/qobject-input-visitor.c
/qemu/qapi/qom.json
/qemu/qapi/string-input-visitor.c
/qemu/qemu-options.hx
/qemu/qom/object.c
/qemu/qom/qom-qmp-cmds.c
/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/qemu/scripts/compare-machine-types.py
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qapi/mypy.ini
/qemu/scripts/qapi/parser.py
/qemu/scripts/qapi/pylintrc
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/update-linux-headers.sh
/qemu/semihosting/meson.build
/qemu/semihosting/stubs-all.c
/qemu/semihosting/stubs-system.c
/qemu/stubs/fdset.c
/qemu/stubs/hotplug-stubs.c
/qemu/stubs/meson.build
/qemu/stubs/monitor-core.c
/qemu/stubs/monitor-internal.c
/qemu/stubs/qdev.c
/qemu/stubs/qtest.c
/qemu/stubs/replay-mode.c
/qemu/stubs/replay.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/rtc.c
/qemu/system/runstate.c
/qemu/target/arm/kvm.c
/qemu/target/i386/confidential-guest.c
/qemu/target/i386/confidential-guest.h
/qemu/target/i386/cpu-apic.c
/qemu/target/i386/cpu-sysemu.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/host-cpu.c
/qemu/target/i386/kvm/kvm-cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/kvm/meson.build
/qemu/target/i386/meson.build
/qemu/target/i386/monitor.c
/qemu/target/i386/sev.c
/qemu/target/i386/sev.h
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/mips/kvm.c
/qemu/target/ppc/kvm.c
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
/qemu/tests/meson.build
/qemu/tests/qtest/fuzz/qos_fuzz.c
/qemu/tests/qtest/migration-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/unit/meson.build
/qemu/util/meson.build
/qemu/util/qemu-config.c
/qemu/util/qemu-option.c
a6819c1b11-Apr-2024 Peter Maydell <peter.maydell@linaro.org>

linux-user/flatload.c: Remove unused bFLT shared-library and ZFLAT code

Ever since the bFLT format support was added in 2006, there has been
a chunk of code in the file guarded by CONFIG_BINFMT_SHAR

linux-user/flatload.c: Remove unused bFLT shared-library and ZFLAT code

Ever since the bFLT format support was added in 2006, there has been
a chunk of code in the file guarded by CONFIG_BINFMT_SHARED_FLAT
which is supposedly for shared library support. This is not enabled
and it's not possible to enable it, because if you do you'll run into
the "#error needs checking" in the calc_reloc() function.

Similarly, CONFIG_BINFMT_ZFLAT exists but can't be enabled because of
an "#error code needs checking" in load_flat_file().

This code is obviously unfinished and has never been used; nobody in
the intervening 18 years has complained about this or fixed it, so
just delete the dead code. If anybody ever wants the feature they
can always pull it out of git, or (perhaps better) write it from
scratch based on the current Linux bFLT loader rather than the one of
18 years ago.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240411115313.680433-1-peter.maydell@linaro.org

show more ...

7048fc5903-Apr-2024 Michael Vogt <mvogt@redhat.com>

linux-user: Add FITRIM ioctl

Tiny patch to add the missing FITRIM ioctl.

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Message-Id: <20240403092048.16023-2-michael.vogt@gmail.com>
Signed-off-by: Ri

linux-user: Add FITRIM ioctl

Tiny patch to add the missing FITRIM ioctl.

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Message-Id: <20240403092048.16023-2-michael.vogt@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

88a722b631-Mar-2024 Michael Tokarev <mjt@tls.msk.ru>

linux-user: do_setsockopt: eliminate goto in switch for SO_SNDTIMEO

There's identical code for SO_SNDTIMEO and SO_RCVTIMEO, currently
implemented using an ugly goto into another switch case. Elimin

linux-user: do_setsockopt: eliminate goto in switch for SO_SNDTIMEO

There's identical code for SO_SNDTIMEO and SO_RCVTIMEO, currently
implemented using an ugly goto into another switch case. Eliminate
that using arithmetic if, making code flow more natural.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20240331100737.2724186-5-mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

166bd92e31-Mar-2024 Michael Tokarev <mjt@tls.msk.ru>

linux-user: do_setsockopt: make ip_mreq_source local to the place where it is used

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20240331100737.2724186-4-mjt@tls.msk.ru>
Signed-off-by

linux-user: do_setsockopt: make ip_mreq_source local to the place where it is used

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20240331100737.2724186-4-mjt@tls.msk.ru>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

124a134131-Mar-2024 Michael Tokarev <mjt@tls.msk.ru>

linux-user: do_setsockopt: make ip_mreq local to the place it is used and inline target_to_host_ip_mreq()

ip_mreq is declared at the beginning of do_setsockopt(), while
it is used in only one place.

linux-user: do_setsockopt: make ip_mreq local to the place it is used and inline target_to_host_ip_mreq()

ip_mreq is declared at the beginning of do_setsockopt(), while
it is used in only one place. Move its declaration to that very
place and replace pointer to alloca()-allocated memory with the
structure itself.

target_to_host_ip_mreq() is used only once, inline it.

This change also properly handles TARGET_EFAULT when the address
is wrong.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20240331100737.2724186-3-mjt@tls.msk.ru>
[rth: Fix braces, adjust optlen to match host structure size]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

04f6fb8931-Mar-2024 Michael Tokarev <mjt@tls.msk.ru>

linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY

This setsockopt accepts zero-lengh optlen (current qemu implementation
does not allow this). Also, there's no need to make a copy of the key,
it i

linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY

This setsockopt accepts zero-lengh optlen (current qemu implementation
does not allow this). Also, there's no need to make a copy of the key,
it is enough to use lock_user() (which accepts zero length already).

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2197
Fixes: f31dddd2fc "linux-user: Add support for setsockopt() option SOL_ALG"
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20240331100737.2724186-2-mjt@tls.msk.ru>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

1f2355f512-Mar-2024 Ilya Leoshkevich <iii@linux.ibm.com>

meson: Make DEBUG_REMAP a meson option

Currently DEBUG_REMAP is a macro that needs to be manually #defined to
be activated, which makes it hard to have separate build directories
dedicated to testin

meson: Make DEBUG_REMAP a meson option

Currently DEBUG_REMAP is a macro that needs to be manually #defined to
be activated, which makes it hard to have separate build directories
dedicated to testing the code with it. Promote it to a meson option.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240312002402.14344-1-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/qemu/Kconfig.host
/qemu/MAINTAINERS
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/trace-events
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/tcg/icount-common.c
/qemu/backends/hostmem-file.c
/qemu/backends/hostmem-memfd.c
/qemu/backends/hostmem-ram.c
/qemu/backends/hostmem.c
/qemu/backends/iommufd.c
/qemu/block/gluster.c
/qemu/block/snapshot.c
/qemu/blockdev.c
/qemu/bsd-user/qemu.h
/qemu/chardev/char-fe.c
/qemu/configs/targets/aarch64-softmmu.mak
/qemu/configs/targets/i386-softmmu.mak
/qemu/configs/targets/ppc-softmmu.mak
/qemu/configs/targets/ppc64-softmmu.mak
/qemu/configs/targets/s390x-softmmu.mak
/qemu/configs/targets/x86_64-softmmu.mak
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/requirements.txt
/qemu/docs/system/device-url-syntax.rst.inc
/qemu/docs/system/loongarch/virt.rst
/qemu/docs/system/qemu-block-drivers.rst.inc
/qemu/ebpf/meson.build
/qemu/hmp-commands-info.hx
/qemu/hw/Kconfig
/qemu/hw/arm/virt.c
/qemu/hw/core/machine-qmp-cmds.c
/qemu/hw/core/machine.c
/qemu/hw/core/meson.build
/qemu/hw/core/qdev-properties.c
/qemu/hw/core/qdev.c
/qemu/hw/display/meson.build
/qemu/hw/display/ramfb-stubs.c
/qemu/hw/display/vga.c
/qemu/hw/i386/acpi-common.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/m68k/virt.c
/qemu/hw/mem/memory-device-stubs.c
/qemu/hw/mem/meson.build
/qemu/hw/meson.build
/qemu/hw/pci-host/q35.c
/qemu/hw/ppc/pef.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/s390x/s390-stattrib-kvm.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/timer/Kconfig
/qemu/hw/timer/meson.build
/qemu/hw/usb/bus-stub.c
/qemu/hw/usb/meson.build
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-md-stubs.c
/qemu/include/exec/confidential-guest-support.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/ramblock.h
/qemu/include/hw/boards.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/pci-host/q35.h
/qemu/include/hw/s390x/storage-attributes.h
/qemu/include/migration/register.h
/qemu/include/monitor/hmp.h
/qemu/include/qapi/qmp/qerror.h
/qemu/include/qemu/config-file.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/asm-x86/kvm_para.h
/qemu/include/standard-headers/asm-x86/setup_data.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/fuse.h
/qemu/include/standard-headers/linux/input-event-codes.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_snd.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
/qemu/include/sysemu/sysemu.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-arm64/sve_context.h
/qemu/linux-headers/asm-generic/bitsperlong.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-headers/asm-mips/kvm.h
/qemu/linux-headers/asm-powerpc/kvm.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/bits.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/vhost.h
qemu.h
uaccess.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo-stubs.c
/qemu/migration/colo.c
/qemu/migration/dirtyrate.c
/qemu/migration/meson.build
/qemu/migration/migration.c
/qemu/migration/multifd-zero-page.c
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/savevm.c
/qemu/migration/savevm.h
/qemu/monitor/meson.build
/qemu/monitor/qemu-config-qmp.c
/qemu/monitor/qmp-cmds.c
/qemu/net/colo-stubs.c
/qemu/net/meson.build
/qemu/pythondeps.toml
/qemu/qapi/machine.json
/qemu/qapi/meson.build
/qemu/qapi/opts-visitor.c
/qemu/qapi/qapi-schema.json
/qemu/qapi/qobject-input-visitor.c
/qemu/qapi/qom.json
/qemu/qapi/string-input-visitor.c
/qemu/qemu-options.hx
/qemu/qom/object.c
/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qapi/mypy.ini
/qemu/scripts/qapi/parser.py
/qemu/scripts/qapi/pylintrc
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/update-linux-headers.sh
/qemu/semihosting/meson.build
/qemu/semihosting/stubs-all.c
/qemu/semihosting/stubs-system.c
/qemu/stubs/fdset.c
/qemu/stubs/hotplug-stubs.c
/qemu/stubs/meson.build
/qemu/stubs/monitor-core.c
/qemu/stubs/monitor-internal.c
/qemu/stubs/qdev.c
/qemu/stubs/qtest.c
/qemu/stubs/replay-mode.c
/qemu/stubs/replay.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/rtc.c
/qemu/system/runstate.c
/qemu/target/arm/kvm.c
/qemu/target/i386/confidential-guest.c
/qemu/target/i386/confidential-guest.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/host-cpu.c
/qemu/target/i386/kvm/kvm-cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/kvm/meson.build
/qemu/target/i386/meson.build
/qemu/target/i386/sev.c
/qemu/target/i386/sev.h
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/mips/kvm.c
/qemu/target/ppc/kvm.c
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
/qemu/tests/meson.build
/qemu/tests/qtest/migration-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/unit/meson.build
/qemu/util/meson.build
/qemu/util/qemu-config.c
/qemu/util/qemu-option.c
6c30148527-Mar-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

target/nios2: Remove the deprecated Nios II target

The Nios II target is deprecated since v8.2 in commit 9997771bc1
("target/nios2: Deprecate the Nios II architecture").

Remove:
- Buildsys / CI inf

target/nios2: Remove the deprecated Nios II target

The Nios II target is deprecated since v8.2 in commit 9997771bc1
("target/nios2: Deprecate the Nios II architecture").

Remove:
- Buildsys / CI infra
- User emulation
- System emulation (10m50-ghrd & nios2-generic-nommu machines)
- Tests

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Message-Id: <20240327144806.11319-3-philmd@linaro.org>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/crossbuild-template.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/backends/cryptodev-builtin.c
/qemu/configure
/qemu/disas/meson.build
/qemu/docs/about/deprecated.rst
/qemu/docs/about/emulation.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/system/replay.rst
/qemu/docs/user/main.rst
/qemu/fpu/softfloat-specialize.c.inc
/qemu/hw/Kconfig
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/nand.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/intc/Kconfig
/qemu/hw/intc/meson.build
/qemu/hw/isa/vt82c686.c
/qemu/hw/meson.build
/qemu/hw/misc/applesmc.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/sd/sdhci.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/include/disas/dis-asm.h
/qemu/include/exec/poison.h
/qemu/include/exec/user/abitypes.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/sysemu/arch_init.h
elfload.c
syscall_defs.h
/qemu/meson.build
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/qapi/machine.json
/qemu/qemu-options.hx
/qemu/roms/Makefile
/qemu/roms/edk2-version
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/gensyscalls.sh
/qemu/scripts/probe-gdb-support.py
/qemu/target/Kconfig
/qemu/target/meson.build
/qemu/target/sparc/helper.h
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/translate.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/docker/Makefile.include
/qemu/tests/qtest/machine-none-test.c
143bcc1d09-Apr-2024 Richard Henderson <richard.henderson@linaro.org>

linux-user: Preserve unswapped siginfo_t for strace

Passing the tswapped structure to strace means that
our internal si_type is also gone, which then aborts
in print_siginfo.

Fixes: 4d6d8a05a0a ("l

linux-user: Preserve unswapped siginfo_t for strace

Passing the tswapped structure to strace means that
our internal si_type is also gone, which then aborts
in print_siginfo.

Fixes: 4d6d8a05a0a ("linux-user: Move tswap_siginfo out of target code")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

2ee80bce17-Mar-2024 Nguyen Dinh Phi <phind.uet@gmail.com>

linux-user: replace calloc() with g_new0()

Use glib allocation as recommended by the coding convention

Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Message-Id: <20240317171747.1642207-1-phi

linux-user: replace calloc() with g_new0()

Use glib allocation as recommended by the coding convention

Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Message-Id: <20240317171747.1642207-1-phind.uet@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

f0907ff405-Apr-2024 Richard Henderson <richard.henderson@linaro.org>

linux-user: Fix waitid return of siginfo_t and rusage

The copy back to siginfo_t should be conditional only on arg3,
not the specific values that might have been written.
The copy back to rusage was

linux-user: Fix waitid return of siginfo_t and rusage

The copy back to siginfo_t should be conditional only on arg3,
not the specific values that might have been written.
The copy back to rusage was missing entirely.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2262
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Alex Fan <alex.fan.q@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/qemu/.gitlab-ci.d/cirrus.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/translate-all.c
/qemu/block/io.c
/qemu/disas/disas-mon.c
/qemu/disas/disas.c
/qemu/disas/nanomips.c
/qemu/docs/devel/atomics.rst
/qemu/docs/devel/ci-jobs.rst.inc
/qemu/docs/devel/clocks.rst
/qemu/docs/system/arm/sbsa.rst
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/i386/sgx.rst
/qemu/ebpf/ebpf_rss.c
/qemu/fpu/softfloat-specialize.c.inc
/qemu/gdbstub/internals.h
/qemu/gdbstub/system.c
/qemu/hmp-commands.hx
/qemu/hw/arm/raspi4b.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/display/vga.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_nested.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/include/hw/audio/virtio-snd.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/net/vhost_net.h
/qemu/include/standard-headers/linux/virtio_pci.h
syscall.c
/qemu/migration/migration.c
/qemu/migration/savevm.c
/qemu/net/tap-win32.c
/qemu/net/tap.c
/qemu/plugins/loader.c
/qemu/qapi/qom.json
/qemu/system/qdev-monitor.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/tcg/translate.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/hvf/hvf.c
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/gdbstub.c
/qemu/target/ppc/mmu-radix64.c
/qemu/tcg/optimize.c
/qemu/tests/avocado/ppc_hv_tests.py
/qemu/tests/qtest/libqos/ahci.c
/qemu/tests/qtest/libqos/ahci.h
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/qtest/virtio-9p-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/test-2150.c
/qemu/tests/tcg/aarch64/test-2248.c
/qemu/tests/tcg/multiarch/linux/linux-shmat-null.c
fa527b4425-Mar-2024 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: Fix shmat(NULL) for h != g

In the h != g && shmaddr == NULL && !reserved_va case, target_shmat()
incorrectly mmap()s the initial anonymous range with
MAP_FIXED_NOREPLACE, even though the

linux-user: Fix shmat(NULL) for h != g

In the h != g && shmaddr == NULL && !reserved_va case, target_shmat()
incorrectly mmap()s the initial anonymous range with
MAP_FIXED_NOREPLACE, even though the earlier mmap_find_vma() has
already reserved the respective address range.

Fix by using MAP_FIXED when "mapped", which is set after
mmap_find_vma(), is true.

Fixes: 78bc8ed9a8f0 ("linux-user: Rewrite target_shmat")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-4-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

e6763d7d25-Mar-2024 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: Fix shmat() strace

The indices of arguments passed to print_shmat() are all off-by-1,
because arg1 is the ipc() command. Fix them.

New output for linux-shmat-maps test:

3501769 shm

linux-user: Fix shmat() strace

The indices of arguments passed to print_shmat() are all off-by-1,
because arg1 is the ipc() command. Fix them.

New output for linux-shmat-maps test:

3501769 shmat(4784214,0x0000000000800000,SHM_RND) = 0

Fixes: 9f7c97324c27 ("linux-user: Add strace for shmat")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-3-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

12345678910>>...136