History log of /qemu/linux-user/ (Results 126 – 150 of 3386)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a136744301-Jul-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user/i386: Add vdso

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1267
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@lin

linux-user/i386: Add vdso

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1267
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

2fa536d117-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Add gen-vdso tool

This tool will be used for post-processing the linked vdso image,
turning it into something that is easy to include into elfload.c.

Reviewed-by: Philippe Mathieu-Daudé

linux-user: Add gen-vdso tool

This tool will be used for post-processing the linked vdso image,
turning it into something that is easy to include into elfload.c.

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

show more ...

c40f621a17-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Load vdso image if available

The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal trampolines.

linux-user: Load vdso image if available

The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal trampolines.

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

show more ...

d0b6b79317-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Replace bprm->fd with bprm->src.fd

There are only a couple of uses of bprm->fd remaining.
Migrate to the other field.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by

linux-user: Replace bprm->fd with bprm->src.fd

There are only a couple of uses of bprm->fd remaining.
Migrate to the other field.

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

show more ...

86cf82dc17-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use ImageSource in load_symbols

Aside from the section headers, we're unlikely to hit the
ImageSource cache on guest executables. But the interface
for imgsrc_read_* is better.

Reviewe

linux-user: Use ImageSource in load_symbols

Aside from the section headers, we're unlikely to hit the
ImageSource cache on guest executables. But the interface
for imgsrc_read_* is better.

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

show more ...

3bd0238617-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Use ImageSource in load_elf_image

Change parse_elf_properties as well, as the bprm_buf argument
ties the two functions closely.

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

linux-user: Use ImageSource in load_elf_image

Change parse_elf_properties as well, as the bprm_buf argument
ties the two functions closely.

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

show more ...

40d487ee19-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Do not clobber bprm_buf swapping ehdr

Rearrange the allocation of storage for ehdr between load_elf_image
and load_elf_binary. The same set of copies are done, but we don't
modify bprm_

linux-user: Do not clobber bprm_buf swapping ehdr

Rearrange the allocation of storage for ehdr between load_elf_image
and load_elf_binary. The same set of copies are done, but we don't
modify bprm_buf, which will be important later.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

f485be7217-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Tidy loader_exec

Reorg the if cases to reduce indentation.
Test for 4 bytes in the file before checking the signatures.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Ph

linux-user: Tidy loader_exec

Reorg the if cases to reduce indentation.
Test for 4 bytes in the file before checking the signatures.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

7d2c552617-Jun-2021 Richard Henderson <richard.henderson@linaro.org>

linux-user: Introduce imgsrc_read, imgsrc_read_alloc

Introduced and initialized, but not yet really used.
These will tidy the current tests vs BPRM_BUF_SIZE.

Reviewed-by: Alex Bennée <alex.bennee@l

linux-user: Introduce imgsrc_read, imgsrc_read_alloc

Introduced and initialized, but not yet really used.
These will tidy the current tests vs BPRM_BUF_SIZE.

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>

show more ...

02d9f5b627-Oct-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Fix guest signal remapping after adjusting SIGABRT

The arithmetic within the loop was not adjusted properly after SIGRTMIN
was stolen for the guest SIGABRT. The effect was that the gues

linux-user: Fix guest signal remapping after adjusting SIGABRT

The arithmetic within the loop was not adjusted properly after SIGRTMIN
was stolen for the guest SIGABRT. The effect was that the guest libc
could not send itself __SIGRTMIN to wake sleeping threads.

Fixes: 38ee0a7dfb4b ("linux-user: Remap guest SIGABRT")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1967
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/accel/kvm/kvm-all.c
/qemu/accel/stubs/kvm-stub.c
/qemu/docs/about/deprecated.rst
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2400.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/aspeed_soc_common.c
/qemu/hw/arm/fby35.c
/qemu/hw/arm/meson.build
/qemu/hw/i386/kvm/clock.c
/qemu/hw/i386/kvm/i8254.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/intc/arm_gicv3_its_common.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/misc/pci-testdev.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-mmio.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/hw/arm/aspeed_soc.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
signal.c
/qemu/system/memory.c
/qemu/system/qtest.c
/qemu/target/hexagon/imported/alu.idef
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/mmvec/macros.h
/qemu/target/hexagon/op_helper.c
/qemu/target/hexagon/op_helper.h
/qemu/target/hexagon/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/ops_sse.h
/qemu/target/i386/tcg/decode-new.c.inc
/qemu/target/i386/tcg/decode-new.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/ops_sse_header.h.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/fop_helper.c
/qemu/target/sparc/helper.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/insns.decode
/qemu/target/sparc/meson.build
/qemu/target/sparc/translate.c
/qemu/target/sparc/vis_helper.c
/qemu/tests/qtest/cdrom-test.c
/qemu/tests/qtest/ipmi-bt-test.c
/qemu/tests/qtest/npcm7xx_adc-test.c
/qemu/tests/qtest/rtl8139-test.c
/qemu/tests/qtest/virtio-scsi-test.c
/qemu/tests/tcg/i386/test-avx.c
/qemu/tests/tcg/i386/test-avx.py
/qemu/tests/unit/test-aio.c
/qemu/tests/unit/test-coroutine.c
/qemu/tests/unit/test-throttle.c
/qemu/tests/vm/freebsd
5a53431424-Oct-2023 Peter Maydell <peter.maydell@linaro.org>

target/arm: Move feature test functions to their own header

The feature test functions isar_feature_*() now take up nearly
a thousand lines in target/arm/cpu.h. This header file is included
by a lot

target/arm: Move feature test functions to their own header

The feature test functions isar_feature_*() now take up nearly
a thousand lines in target/arm/cpu.h. This header file is included
by a lot of source files, most of which don't need these functions.
Move the feature test functions to their own header file.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20231024163510.2972081-2-peter.maydell@linaro.org

show more ...


/qemu/MAINTAINERS
/qemu/accel/kvm/kvm-all.c
/qemu/accel/stubs/kvm-stub.c
/qemu/bsd-user/arm/target_arch.h
/qemu/docs/system/arm/virt.rst
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2400.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/aspeed_soc_common.c
/qemu/hw/arm/fby35.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/virt.c
/qemu/hw/i386/kvm/clock.c
/qemu/hw/i386/kvm/i8254.c
/qemu/hw/i386/pc.c
/qemu/hw/intc/arm_gicv3_its_common.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/misc/pci-testdev.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-mmio.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/hw/arm/aspeed_soc.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
aarch64/cpu_loop.c
aarch64/signal.c
aarch64/target_prctl.h
arm/signal.c
elfload.c
mmap.c
/qemu/system/memory.c
/qemu/target/arm/arch_dump.c
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/debug_helper.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm64.c
/qemu/target/arm/machine.c
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/m_helper.c
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/pauth_helper.c
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/arm/tcg/translate.h
/qemu/target/arm/vfp_helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/ops_sse.h
/qemu/target/i386/tcg/decode-new.c.inc
/qemu/target/i386/tcg/decode-new.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/ops_sse_header.h.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/fop_helper.c
/qemu/target/sparc/helper.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/insns.decode
/qemu/target/sparc/meson.build
/qemu/target/sparc/translate.c
/qemu/target/sparc/vis_helper.c
/qemu/tests/tcg/i386/test-avx.c
/qemu/tests/tcg/i386/test-avx.py
5f25b38312-Oct-2023 Richard Henderson <richard.henderson@linaro.org>

target/sparc: Remove sparcv7 cpu features

The oldest supported cpu is the microsparc 1; all other cpus
use CPU_DEFAULT_FEATURES. Remove the features that must always
be present for sparcv7: FLOAT,

target/sparc: Remove sparcv7 cpu features

The oldest supported cpu is the microsparc 1; all other cpus
use CPU_DEFAULT_FEATURES. Remove the features that must always
be present for sparcv7: FLOAT, SWAP, FLUSH, FSQRT, FMUL.

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

show more ...


/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/backends/tpm/tpm_emulator.c
/qemu/block/parallels.c
/qemu/block/qcow.c
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/block/vvfat.c
/qemu/chardev/msmouse.c
/qemu/chardev/wctablet.c
/qemu/configs/meson/windows.txt
/qemu/configs/targets/sparc-softmmu.mak
/qemu/configs/targets/sparc64-softmmu.mak
/qemu/configure
/qemu/contrib/elf2dmp/addrspace.c
/qemu/contrib/elf2dmp/main.c
/qemu/contrib/elf2dmp/pdb.c
/qemu/contrib/elf2dmp/qemu_elf.c
/qemu/docs/devel/index-internals.rst
/qemu/docs/devel/s390-cpu-topology.rst
/qemu/docs/interop/vhost-user.rst
/qemu/docs/sphinx/hxtool.py
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/s390x/cpu-topology.rst
/qemu/docs/system/target-i386-desc.rst.inc
/qemu/docs/system/target-s390x.rst
/qemu/dump/dump.c
/qemu/hw/9pfs/9p.c
/qemu/hw/acpi/cxl.c
/qemu/hw/acpi/pcihp.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/char/escc.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/core/machine-hmp-cmds.c
/qemu/hw/core/machine-smp.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/display/ramfb-standalone.c
/qemu/hw/display/ramfb.c
/qemu/hw/display/virtio-dmabuf.c
/qemu/hw/display/virtio-gpu-base.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/xenfb.c
/qemu/hw/dma/xilinx_axidma.c
/qemu/hw/dma/xlnx-zdma.c
/qemu/hw/dma/xlnx_csu_dma.c
/qemu/hw/hppa/Kconfig
/qemu/hw/hppa/hppa_hardware.h
/qemu/hw/hppa/machine.c
/qemu/hw/i386/Kconfig
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/intel_iommu_internal.h
/qemu/hw/i386/meson.build
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/input/adb-kbd.c
/qemu/hw/input/hid.c
/qemu/hw/input/lasips2.c
/qemu/hw/input/ps2.c
/qemu/hw/input/virtio-input-hid.c
/qemu/hw/intc/apic_common.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/spapr_xive.c
/qemu/hw/isa/Kconfig
/qemu/hw/isa/i82378.c
/qemu/hw/isa/isa-bus.c
/qemu/hw/isa/lpc_ich9.c
/qemu/hw/isa/meson.build
/qemu/hw/isa/piix.c
/qemu/hw/loongarch/virt.c
/qemu/hw/mips/Kconfig
/qemu/hw/mips/cps.c
/qemu/hw/mips/fuloong2e.c
/qemu/hw/mips/jazz.c
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/mips/malta.c
/qemu/hw/mips/mips_int.c
/qemu/hw/mips/mipssim.c
/qemu/hw/misc/allwinner-r40-dramc.c
/qemu/hw/misc/bcm2835_property.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/misc/mips_itu.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/tulip.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/xlnx-bbram.c
/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/qemu/hw/pci-host/Kconfig
/qemu/hw/pci-host/astro.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/meson.build
/qemu/hw/pci-host/sh_pci.c
/qemu/hw/pci-host/trace-events
/qemu/hw/pci/pci.c
/qemu/hw/ppc/pef.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_xscom.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/ppc/spapr_vio.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/rdma/vmw/pvrdma_cmd.c
/qemu/hw/remote/meson.build
/qemu/hw/remote/proxy.c
/qemu/hw/remote/vfio-user-obj-stub.c
/qemu/hw/s390x/cpu-topology.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/meson.build
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/sclp.c
/qemu/hw/s390x/sclpquiesce.c
/qemu/hw/scsi/vhost-scsi-common.c
/qemu/hw/scsi/vhost-scsi.c
/qemu/hw/scsi/vhost-user-scsi.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/sd/sdhci.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/timer/i8254_common.c
/qemu/hw/timer/npcm7xx_timer.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/display.c
/qemu/hw/vfio/helpers.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/platform.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/vhost-backend.c
/qemu/hw/virtio/vhost-shadow-virtqueue.c
/qemu/hw/virtio/vhost-shadow-virtqueue.h
/qemu/hw/virtio/vhost-user-gpio.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-pmem.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xen/meson.build
/qemu/include/exec/memory.h
/qemu/include/exec/target_long.h
/qemu/include/hw/acpi/cxl.h
/qemu/include/hw/acpi/pcihp.h
/qemu/include/hw/arm/bsa.h
/qemu/include/hw/arm/exynos4210.h
/qemu/include/hw/arm/raspberrypi-fw-defs.h
/qemu/include/hw/arm/virt.h
/qemu/include/hw/audio/pcspk.h
/qemu/include/hw/boards.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/sysemu-cpu-ops.h
/qemu/include/hw/display/ramfb.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/misc/mips_itu.h
/qemu/include/hw/nvram/xlnx-bbram.h
/qemu/include/hw/pci-host/astro.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_ids.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/s390x/cpu-topology.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/hw/s390x/sclp.h
/qemu/include/hw/s390x/vfio-ccw.h
/qemu/include/hw/southbridge/piix.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/virtio/vhost-scsi-common.h
/qemu/include/hw/virtio/vhost-user-scsi.h
/qemu/include/hw/virtio/vhost-user.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/hw/virtio/virtio-input.h
/qemu/include/migration/blocker.h
/qemu/include/migration/misc.h
/qemu/include/qemu/compiler.h
/qemu/include/sysemu/memory_mapping.h
/qemu/include/tcg/tcg-op-common.h
/qemu/include/tcg/tcg-op.h
/qemu/include/tcg/tcg.h
/qemu/include/ui/input.h
/qemu/linux-headers/linux/iommufd.h
sparc/target_syscall.h
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/multifd.c
/qemu/migration/ram-compress.c
/qemu/migration/ram-compress.h
/qemu/migration/ram.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/hppa-firmware.img
/qemu/qapi/compat.json
/qemu/qapi/machine-common.json
/qemu/qapi/machine-target.json
/qemu/qapi/machine.json
/qemu/qapi/meson.build
/qemu/qapi/qapi-schema.json
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/roms/seabios-hppa
/qemu/scripts/feature_to_c.py
/qemu/scripts/get_maintainer.pl
/qemu/scripts/meson-buildoptions.py
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/qapi/gen.py
/qemu/scripts/qapi/parser.py
/qemu/scripts/qapi/schema.py
/qemu/scripts/tracetool/__init__.py
/qemu/scripts/tracetool/format/log_stap.py
/qemu/scripts/update-linux-headers.sh
/qemu/stubs/meson.build
/qemu/stubs/migr-blocker.c
/qemu/stubs/ramfb.c
/qemu/subprojects/libvhost-user/libvhost-user.h
/qemu/system/memory_mapping.c
/qemu/system/vl.c
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/common-semi-target.h
/qemu/target/arm/cpu-qom.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm64.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/hexagon/hex_common.py
/qemu/target/i386/arch_memory_mapping.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/sev.c
/qemu/target/i386/svm.h
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/m68k/translate.c
/qemu/target/mips/cpu.h
/qemu/target/mips/sysemu/cp0_timer.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/mips/tcg/sysemu/tlb_helper.c
/qemu/target/rx/translate.c
/qemu/target/s390x/cpu-sysemu.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/kvm/meson.build
/qemu/target/s390x/kvm/stsi-topology.c
/qemu/target/sparc/cpu-feature.h.inc
/qemu/target/sparc/cpu.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/helper.h
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/translate.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/optimize.c
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/riscv/tcg-target.c.inc
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/tcg-op-ldst.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg.c
/qemu/tests/avocado/s390_topology.py
/qemu/tests/avocado/virtio_check_params.py
/qemu/tests/data/acpi/q35/DSDT.cxl
/qemu/tests/docker/docker.py
/qemu/tests/qemu-iotests/linters.py
/qemu/tests/qemu-iotests/testenv.py
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/migration-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/unit/test-coroutine.c
/qemu/tests/vm/basevm.py
/qemu/tests/vm/netbsd
/qemu/ui/input-legacy.c
/qemu/ui/input.c
/qemu/ui/shader/meson.build
/qemu/ui/spice-core.c
/qemu/ui/vdagent.c
/qemu/util/cutils.c
/qemu/util/qemu-coroutine.c
38ee0a7d30-Sep-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Remap guest SIGABRT

Distinguish host SIGABRT from guest SIGABRT by mapping
the guest signal onto one of the host RT signals.

This prevents a cycle by which a host assertion failure
is c

linux-user: Remap guest SIGABRT

Distinguish host SIGABRT from guest SIGABRT by mapping
the guest signal onto one of the host RT signals.

This prevents a cycle by which a host assertion failure
is caught and handled by host_signal_handler, queued for
the guest, and then we attempt to continue past the
host abort. What happens next depends on the host libc,
but is neither good nor helpful.

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

show more ...

4a6ebc1923-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Detect and report host SIGILL, SIGFPE, SIGTRAP

These signals, when not spoofed via kill(), are always bugs.
Use die_from_signal to report this sensibly.

Acked-by: Helge Deller <deller@g

linux-user: Detect and report host SIGILL, SIGFPE, SIGTRAP

These signals, when not spoofed via kill(), are always bugs.
Use die_from_signal to report this sensibly.

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

show more ...

f4e1168123-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Split out host_sig{segv,bus}_handler

Make host_signal_handler slightly easier to read.

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

linux-user: Split out host_sig{segv,bus}_handler

Make host_signal_handler slightly easier to read.

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

show more ...

58c4e36c23-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Simplify signal_init

Install the host signal handler at the same time we are
probing the target signals for SIG_IGN/SIG_DFL. Ignore
unmapped target signals.

Acked-by: Helge Deller <del

linux-user: Simplify signal_init

Install the host signal handler at the same time we are
probing the target signals for SIG_IGN/SIG_DFL. Ignore
unmapped target signals.

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

show more ...

b60b91aa23-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Map unsupported signals to an out-of-bounds value

Do not return a valid signal number in one domain
when given an invalid signal number in the other domain.

Acked-by: Helge Deller <dell

linux-user: Map unsupported signals to an out-of-bounds value

Do not return a valid signal number in one domain
when given an invalid signal number in the other domain.

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

show more ...

dbde2c0c22-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Only register handlers for core_dump_signal by default

The set of fatal signals is really immaterial. If one arrives,
and is unhandled, then the qemu process dies and the parent gets
th

linux-user: Only register handlers for core_dump_signal by default

The set of fatal signals is really immaterial. If one arrives,
and is unhandled, then the qemu process dies and the parent gets
the correct signal.

It is only for those signals which we would like to perform a
guest core dump instead of a host core dump that we need to catch.

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

show more ...

7dfd3ca812-Aug-2023 Helge Deller <deller@gmx.de>

linux-user: Detect and report host crashes

If there is an internal program error in the qemu source code which
raises SIGSEGV or SIGBUS, we currently assume the signal belongs to
the guest. With an

linux-user: Detect and report host crashes

If there is an internal program error in the qemu source code which
raises SIGSEGV or SIGBUS, we currently assume the signal belongs to
the guest. With an artificial error introduced, we will now print

QEMU internal SIGSEGV {code=MAPERR, addr=(nil)}

Signed-off-by: Helge Deller <deller@gmx.de>
Message-Id: <20230812164314.352131-1-deller@gmx.de>
[rth: Use in_code_gen_buffer and die_with_signal; drop backtrace]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

ee72c47e22-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Exit not abort in die_with_backtrace

This line is supposed to be unreachable, but if we're going to
have it at all, SIGABRT via abort() is subject to the same signal
peril that created t

linux-user: Exit not abort in die_with_backtrace

This line is supposed to be unreachable, but if we're going to
have it at all, SIGABRT via abort() is subject to the same signal
peril that created this function in the first place.

We can _exit immediately without peril.

Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

b8b50f1e22-Aug-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Split out die_with_signal

Because we trap so many signals for use by the guest,
we have to take extra steps to exit properly.

Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philipp

linux-user: Split out die_with_signal

Because we trap so many signals for use by the guest,
we have to take extra steps to exit properly.

Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

912ff69803-Oct-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Propagate failure in mmap_reserve_or_unmap back to target_munmap

Do not assert success, but return any failure received.
Additionally, fix the method of earlier error return in target_mu

linux-user: Propagate failure in mmap_reserve_or_unmap back to target_munmap

Do not assert success, but return any failure received.
Additionally, fix the method of earlier error return in target_munmap.

Reported-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

a9f6004f01-Oct-2023 Jiajie Chen <c@jia.je>

linux-user/elfload: Enable LSX/LASX in HWCAP for LoongArch

Since support for LSX and LASX is landed in QEMU recently, we can update
HWCAPS accordingly.

Signed-off-by: Jiajie Chen <c@jia.je>
Reviewe

linux-user/elfload: Enable LSX/LASX in HWCAP for LoongArch

Since support for LSX and LASX is landed in QEMU recently, we can update
HWCAPS accordingly.

Signed-off-by: Jiajie Chen <c@jia.je>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231001085315.1692667-1-c@jia.je>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

3b894b6928-Sep-2023 Mikulas Patocka <mpatocka@redhat.com>

linux-user/sh4: Fix crashes on signal delivery

sh4 uses gUSA (general UserSpace Atomicity) to provide atomicity on CPUs
that don't have atomic instructions. A gUSA region that adds 1 to an
atomic va

linux-user/sh4: Fix crashes on signal delivery

sh4 uses gUSA (general UserSpace Atomicity) to provide atomicity on CPUs
that don't have atomic instructions. A gUSA region that adds 1 to an
atomic variable stored in @R2 looks like this:

4004b6: 03 c7 mova 4004c4 <gusa+0x10>,r0
4004b8: f3 61 mov r15,r1
4004ba: 09 00 nop
4004bc: fa ef mov #-6,r15
4004be: 22 63 mov.l @r2,r3
4004c0: 01 73 add #1,r3
4004c2: 32 22 mov.l r3,@r2
4004c4: 13 6f mov r1,r15

R0 contains a pointer to the end of the gUSA region
R1 contains the saved stack pointer
R15 contains negative length of the gUSA region

When this region is interrupted by a signal, the kernel detects if
R15 >= -128U. If yes, the kernel rolls back PC to the beginning of the
region and restores SP by copying R1 to R15.

The problem happens if we are interrupted by a signal at address 4004c4.
R15 still holds the value -6, but the atomic value was already written by
an instruction at address 4004c2. In this situation we can't undo the
gUSA. The function unwind_gusa does nothing, the signal handler attempts
to push a signal frame to the address -6 and crashes.

This patch fixes it, so that if we are interrupted at the last instruction
in a gUSA region, we copy R1 to R15 to restore the correct stack pointer
and avoid crashing.

There's another bug: if we are interrupted in a delay slot, we save the
address of the instruction in the delay slot. We must save the address of
the previous instruction.

Cc: qemu-stable@nongnu.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Yoshinori Sato <ysato@users.sourcefoege.jp>
Message-Id: <b16389f7-6c62-70b7-59b3-87533c0bcc@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

6fad9b4b28-Sep-2023 Mikulas Patocka <mpatocka@redhat.com>

linux-user/mips: fix abort on integer overflow

QEMU mips userspace emulation crashes with "qemu: unhandled CPU exception
0x15 - aborting" when one of the integer arithmetic instructions detects
an o

linux-user/mips: fix abort on integer overflow

QEMU mips userspace emulation crashes with "qemu: unhandled CPU exception
0x15 - aborting" when one of the integer arithmetic instructions detects
an overflow.

This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead.

Cc: qemu-stable@nongnu.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Message-Id: <3ef979a8-3ee1-eb2d-71f7-d788ff88dd11@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

12345678910>>...136