History log of /qemu/linux-user/ (Results 351 – 375 of 3394)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d7d5601c14-Feb-2023 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user/microblaze: Handle privileged exception

Follow what kernel's full_exception() is doing.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii

linux-user/microblaze: Handle privileged exception

Follow what kernel's full_exception() is doing.

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

show more ...

7de0816f14-Feb-2023 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: Always exit from exclusive state in fork_end()

fork()ed processes currently start with
current_cpu->in_exclusive_context set, which is, strictly speaking, not
correct, but does not cause

linux-user: Always exit from exclusive state in fork_end()

fork()ed processes currently start with
current_cpu->in_exclusive_context set, which is, strictly speaking, not
correct, but does not cause problems (even assertion failures).

With one of the next patches, the code begins to rely on this value, so
fix it by always calling end_exclusive() in fork_end().

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

show more ...

21a474c401-Feb-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user/sparc: Raise SIGILL for all unhandled software traps

The linux kernel's trap tables vector all unassigned trap
numbers to BAD_TRAP, which then raises SIGILL.

Tested-by: Ilya Leoshkevich

linux-user/sparc: Raise SIGILL for all unhandled software traps

The linux kernel's trap tables vector all unassigned trap
numbers to BAD_TRAP, which then raises SIGILL.

Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reported-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/accel/tcg/translator.c
/qemu/block.c
/qemu/block/crypto.c
/qemu/block/curl.c
/qemu/block/file-posix.c
/qemu/block/meson.build
/qemu/block/parallels.c
/qemu/block/qcow.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/bsd-user/qemu.h
/qemu/configure
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/conf.py
/qemu/docs/devel/fuzzing.rst
/qemu/docs/devel/vfio-migration.rst
/qemu/docs/meson.build
/qemu/docs/system/arm/nuvoton.rst
/qemu/docs/tools/index.rst
/qemu/hw/arm/Kconfig
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/virt.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/mem/sparse-mem.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/pci/pci.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/ssi/meson.build
/qemu/hw/ssi/npcm_pspi.c
/qemu/hw/ssi/trace-events
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/trace-events
/qemu/include/block/block-common.h
/qemu/include/block/block-global-state.h
/qemu/include/exec/exec-all.h
/qemu/include/hw/arm/npcm7xx.h
/qemu/include/hw/arm/smmu-common.h
/qemu/include/hw/arm/smmuv3.h
/qemu/include/hw/intc/armv7m_nvic.h
/qemu/include/hw/ssi/npcm_pspi.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/migration/register.h
/qemu/include/net/net.h
/qemu/include/qemu/hbitmap.h
/qemu/include/qemu/thread.h
/qemu/include/standard-headers/drm/drm_fourcc.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/pci_regs.h
/qemu/include/standard-headers/linux/virtio_bt.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/sysemu/block-backend-global-state.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psci.h
/qemu/linux-headers/linux/vfio.h
sparc/cpu_loop.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/migration.c
/qemu/migration/qemu-file.c
/qemu/migration/qemu-file.h
/qemu/migration/ram.c
/qemu/migration/savevm.c
/qemu/migration/savevm.h
/qemu/migration/trace-events
/qemu/net/l2tpv3.c
/qemu/net/net.c
/qemu/net/stream.c
/qemu/net/vhost-vdpa.c
/qemu/net/vmnet-common.m
/qemu/net/vmnet_int.h
/qemu/qapi/net.json
/qemu/qemu-options.hx
/qemu/scripts/block-coroutine-wrapper.py
/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/qemu/scripts/ci/org.centos/stream/8/x86_64/test-avocado
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/meson-buildoptions.sh
/qemu/target/arm/cpregs.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/helper.c
/qemu/target/arm/m_helper.c
/qemu/target/arm/machine.c
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/boot_linux.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/machine_aarch64_virt.py
/qemu/tests/avocado/reverse_debugging.py
/qemu/tests/qtest/arm-cpu-features.c
/qemu/tests/qtest/fuzz/fuzz.c
/qemu/tests/qtest/fuzz/fuzz.h
/qemu/tests/qtest/fuzz/generic_fuzz.c
/qemu/tests/qtest/fuzz/i440fx_fuzz.c
/qemu/tests/qtest/fuzz/meson.build
/qemu/tests/qtest/fuzz/virtio_blk_fuzz.c
/qemu/tests/qtest/fuzz/virtio_net_fuzz.c
/qemu/tests/qtest/fuzz/virtio_scsi_fuzz.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/netdev-socket.c
/qemu/tools/meson.build
/qemu/util/hbitmap.c
/qemu/util/qemu-thread-posix.c
de4143fc06-Feb-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/arm: Convert CPUARMState::eabi to boolean

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

target/arm: Convert CPUARMState::eabi to boolean

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

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitmodules
/qemu/MAINTAINERS
/qemu/accel/tcg/atomic_common.c.inc
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/accel/tcg/user-exec.c
/qemu/audio/sndioaudio.c
/qemu/backends/hostmem-epc.c
/qemu/backends/tpm/tpm_emulator.c
/qemu/backends/tpm/tpm_ioctl.h
/qemu/block/export/vduse-blk.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/qapi.c
/qemu/bsd-user/arm/signal.c
/qemu/bsd-user/arm/target_arch_cpu.c
/qemu/bsd-user/bsd-proc.h
/qemu/bsd-user/freebsd/os-sys.c
/qemu/bsd-user/i386/signal.c
/qemu/bsd-user/i386/target_arch_cpu.c
/qemu/bsd-user/main.c
/qemu/bsd-user/qemu.h
/qemu/bsd-user/strace.c
/qemu/bsd-user/x86_64/signal.c
/qemu/bsd-user/x86_64/target_arch_cpu.c
/qemu/chardev/char-socket.c
/qemu/configure
/qemu/crypto/block-luks-priv.h
/qemu/crypto/tlssession.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/migration.rst
/qemu/docs/devel/vfio-migration.rst
/qemu/fsdev/p9array.h
/qemu/hw/9pfs/9p.c
/qemu/hw/acpi/piix4.c
/qemu/hw/alpha/dp264.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/aspeed_eeprom.c
/qemu/hw/arm/aspeed_eeprom.h
/qemu/hw/arm/aspeed_soc.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/npcm7xx_boards.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-versal.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/m25p80_sfdp.c
/qemu/hw/block/m25p80_sfdp.h
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/ibex_uart.c
/qemu/hw/core/machine.c
/qemu/hw/display/sm501.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu-udmabuf.c
/qemu/hw/display/virtio-gpu-virgl.c
/qemu/hw/hppa/machine.c
/qemu/hw/hyperv/syndbg.c
/qemu/hw/i2c/pmbus_device.c
/qemu/hw/i386/Kconfig
/qemu/hw/i386/acpi-build.c
/qemu/hw/input/tsc210x.c
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/misc/Kconfig
/qemu/hw/misc/applesmc.c
/qemu/hw/misc/aspeed_hace.c
/qemu/hw/misc/aspeed_sdmc.c
/qemu/hw/misc/macio/cuda.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/mos6522.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/xilinx_axienet.c
/qemu/hw/nvram/eeprom_at24c.c
/qemu/hw/nvram/mac_nvram.c
/qemu/hw/pci-host/mv64361.c
/qemu/hw/pci-host/pnv_phb4.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/e500plat.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/ppc405_uc.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/spapr_drc.c
/qemu/hw/rdma/vmw/pvrdma_dev_ring.c
/qemu/hw/remote/machine.c
/qemu/hw/remote/proxy-memory-listener.c
/qemu/hw/remote/remote-obj.c
/qemu/hw/riscv/boot.c
/qemu/hw/riscv/microchip_pfsoc.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/riscv/virt.c
/qemu/hw/rtc/mc146818rtc.c
/qemu/hw/s390x/event-facility.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/virtio-ccw-serial.c
/qemu/hw/sensor/adm1272.c
/qemu/hw/ssi/ibex_spi_host.c
/qemu/hw/usb/dev-storage-bot.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/vhost-user-fs.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/watchdog/wdt_aspeed.c
/qemu/include/block/graph-lock.h
/qemu/include/block/write-threshold.h
/qemu/include/crypto/tlssession.h
/qemu/include/disas/dis-asm.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/helper-head.h
/qemu/include/hw/arm/allwinner-a10.h
/qemu/include/hw/arm/aspeed_soc.h
/qemu/include/hw/arm/fsl-imx6ul.h
/qemu/include/hw/arm/fsl-imx7.h
/qemu/include/hw/arm/smmuv3.h
/qemu/include/hw/char/ibex_uart.h
/qemu/include/hw/cxl/cxl_component.h
/qemu/include/hw/cxl/cxl_host.h
/qemu/include/hw/cxl/cxl_pci.h
/qemu/include/hw/input/pl050.h
/qemu/include/hw/intc/armv7m_nvic.h
/qemu/include/hw/loader.h
/qemu/include/hw/misc/aspeed_lpc.h
/qemu/include/hw/misc/mac_via.h
/qemu/include/hw/misc/macio/cuda.h
/qemu/include/hw/misc/macio/pmu.h
/qemu/include/hw/misc/mos6522.h
/qemu/include/hw/nvram/eeprom_at24c.h
/qemu/include/hw/nvram/mac_nvram.h
/qemu/include/hw/pci-host/pnv_phb4.h
/qemu/include/hw/pci/pcie_doe.h
/qemu/include/hw/riscv/boot.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/ssi/ibex_spi_host.h
/qemu/include/hw/tricore/triboard.h
/qemu/include/hw/virtio/virtio-mem.h
/qemu/include/hw/watchdog/wdt_aspeed.h
/qemu/include/io/channel.h
/qemu/include/migration/misc.h
/qemu/include/migration/register.h
/qemu/include/migration/vmstate.h
/qemu/include/qemu/async-teardown.h
/qemu/include/qemu/atomic128.h
/qemu/include/qemu/bswap.h
/qemu/include/qemu/dbus.h
/qemu/include/qemu/envlist.h
/qemu/include/qemu/host-utils.h
/qemu/include/qemu/int128.h
/qemu/include/qemu/rcu.h
/qemu/include/qemu/rcu_queue.h
/qemu/include/qemu/uri.h
/qemu/include/qemu/userfaultfd.h
/qemu/include/qemu/vhost-user-server.h
/qemu/include/standard-headers/drm/drm_fourcc.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_blk.h
/qemu/include/sysemu/accel-blocker.h
/qemu/include/sysemu/event-loop-base.h
/qemu/include/tcg/tcg-op.h
/qemu/include/tcg/tcg.h
/qemu/include/ui/console.h
/qemu/io/channel-buffer.c
/qemu/io/channel-command.c
/qemu/io/channel-file.c
/qemu/io/channel-null.c
/qemu/io/channel-socket.c
/qemu/io/channel-tls.c
/qemu/io/channel-websock.c
/qemu/io/channel.c
/qemu/linux-headers/asm-generic/hugetlb_encode.h
/qemu/linux-headers/asm-generic/mman-common.h
/qemu/linux-headers/asm-mips/mman.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psci.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
arm/cpu_loop.c
user-internals.h
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/channel-block.c
/qemu/migration/channel.c
/qemu/migration/channel.h
/qemu/migration/dirtyrate.c
/qemu/migration/meson.build
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/qemu/migration/postcopy-ram.c
/qemu/migration/postcopy-ram.h
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/savevm.h
/qemu/migration/threadinfo.c
/qemu/migration/threadinfo.h
/qemu/migration/trace-events
/qemu/migration/vmstate.c
/qemu/migration/xbzrle.c
/qemu/migration/xbzrle.h
/qemu/net/vmnet_int.h
/qemu/pc-bios/README
/qemu/pc-bios/meson.build
/qemu/qapi/migration.json
/qemu/qemu-io-cmds.c
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/cutils.c
/qemu/qga/cutils.h
/qemu/roms/Makefile
/qemu/scripts/ci/org.centos/stream/8/build-environment.yml
/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/clean-includes
/qemu/scripts/meson-buildoptions.py
/qemu/scripts/meson-buildoptions.sh
/qemu/scsi/qemu-pr-helper.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/runstate.c
/qemu/softmmu/vl.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper-a64.c
/qemu/target/arm/helper-a64.h
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/m_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/hexagon/hex_arch_types.h
/qemu/target/hexagon/mmvec/macros.h
/qemu/target/i386/helper.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/mem_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/translate.c
/qemu/target/mips/tcg/translate.c
/qemu/target/nios2/translate.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/mem_helper.c
/qemu/target/ppc/translate.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/cpu_vendorid.h
/qemu/target/riscv/csr.c
/qemu/target/riscv/debug.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn_trans/trans_rva.c.inc
/qemu/target/riscv/insn_trans/trans_rvb.c.inc
/qemu/target/riscv/insn_trans/trans_rvd.c.inc
/qemu/target/riscv/insn_trans/trans_rvf.c.inc
/qemu/target/riscv/insn_trans/trans_rvh.c.inc
/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/qemu/target/riscv/insn_trans/trans_rvzfh.c.inc
/qemu/target/riscv/insn_trans/trans_svinval.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/kvm.c
/qemu/target/riscv/meson.build
/qemu/target/riscv/op_helper.c
/qemu/target/riscv/pmu.h
/qemu/target/riscv/time_helper.c
/qemu/target/riscv/translate.c
/qemu/target/riscv/xthead.decode
/qemu/target/s390x/helper.h
/qemu/target/s390x/tcg/fpu_helper.c
/qemu/target/s390x/tcg/insn-data.h.inc
/qemu/target/s390x/tcg/int_helper.c
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/tricore/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/aarch64/tcg-target.h
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/arm/tcg-target.h
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/i386/tcg-target.h
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/mips/tcg-target.h
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/riscv/tcg-target.c.inc
/qemu/tcg/riscv/tcg-target.h
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/s390x/tcg-target.h
/qemu/tcg/sparc64/tcg-target.c.inc
/qemu/tcg/sparc64/tcg-target.h
/qemu/tcg/tcg-internal.h
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg.c
/qemu/tcg/tci.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tcg/tci/tcg-target.h
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/bench/meson.build
/qemu/tests/bench/xbzrle-bench.c
/qemu/tests/migration/guestperf/engine.py
/qemu/tests/migration/meson.build
/qemu/tests/qemu-iotests/186
/qemu/tests/qemu-iotests/tests/detect-zeroes-registered-buf
/qemu/tests/qemu-iotests/tests/detect-zeroes-registered-buf.out
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/device-plug-test.c
/qemu/tests/qtest/drive_del-test.c
/qemu/tests/qtest/fuzz-lsi53c895a-test.c
/qemu/tests/qtest/hd-geo-test.c
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/netdev-socket.c
/qemu/tests/qtest/npcm7xx_pwm-test.c
/qemu/tests/qtest/pxe-test.c
/qemu/tests/qtest/tpm-emu.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-i386-adcox.c
/qemu/tests/tcg/i386/test-i386-bmi2.c
/qemu/tests/tcg/s390x/Makefile.softmmu-target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/cdsg.c
/qemu/tests/tcg/s390x/clst.c
/qemu/tests/tcg/s390x/div.c
/qemu/tests/tcg/s390x/long-double.c
/qemu/tests/tcg/tricore/Makefile.softmmu-target
/qemu/tests/tcg/tricore/macros.h
/qemu/tests/tcg/tricore/test_dextr.S
/qemu/tests/tcg/tricore/test_imask.S
/qemu/tests/tcg/tricore/test_insert.S
/qemu/tests/tcg/tricore/test_ld_bu.S
/qemu/tests/tcg/tricore/test_ld_h.S
/qemu/tests/unit/test-cutils.c
/qemu/tests/unit/test-io-channel-socket.c
/qemu/tests/unit/test-seccomp.c
/qemu/tests/unit/test-xbzrle.c
/qemu/ui/console.c
/qemu/ui/dbus-clipboard.c
/qemu/ui/dbus-console.c
/qemu/ui/dbus-listener.c
/qemu/ui/dbus.c
/qemu/ui/egl-headless.c
/qemu/ui/gtk.c
/qemu/ui/spice-app.c
/qemu/ui/spice-core.c
/qemu/ui/spice-display.c
/qemu/ui/udmabuf.c
/qemu/ui/vdagent.c
/qemu/util/async-teardown.c
/qemu/util/int128.c
/qemu/util/main-loop.c
/qemu/util/oslib-posix.c
/qemu/util/trace-events
/qemu/util/userfaultfd.c
/qemu/util/vhost-user-server.c
3f0744f912-Dec-2022 Helge Deller <deller@gmx.de>

linux-user: Allow sendmsg() without IOV

Applications do call sendmsg() without any IOV, e.g.:
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=NULL, msg_iovlen=0,
msg_control=[{cmsg_le

linux-user: Allow sendmsg() without IOV

Applications do call sendmsg() without any IOV, e.g.:
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=NULL, msg_iovlen=0,
msg_control=[{cmsg_len=36, cmsg_level=SOL_ALG, cmsg_type=0x2}],
msg_controllen=40, msg_flags=0}, MSG_MORE) = 0
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="The quick brown fox jumps over t"..., iov_len=183}],
msg_iovlen=1, msg_control=[{cmsg_len=20, cmsg_level=SOL_ALG, cmsg_type=0x3}],
msg_controllen=24, msg_flags=0}, 0) = 183

The function do_sendrecvmsg_locked() is used for sndmsg() and recvmsg()
and calls lock_iovec() to lock the IOV into memory. For the first
sendmsg() above it returns NULL and thus wrongly skips the call the host
sendmsg() syscall, which will break the calling application.

Fix this issue by:
- allowing sendmsg() even with empty IOV
- skip recvmsg() if IOV is NULL
- skip both if the return code of do_sendrecvmsg_locked() != 0, which
indicates some failure like EFAULT on the IOV

Tested with the debian "ell" package with hppa guest on x86_64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221212173416.90590-2-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

27404b6c12-Dec-2022 Helge Deller <deller@gmx.de>

linux-user: Implement SOL_ALG encryption support

Add suport to handle SOL_ALG packets via sendmsg() and recvmsg().
This allows emulated userspace to use encryption functionality.

Tested with the de

linux-user: Implement SOL_ALG encryption support

Add suport to handle SOL_ALG packets via sendmsg() and recvmsg().
This allows emulated userspace to use encryption functionality.

Tested with the debian ell package with hppa guest on x86_64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221212173416.90590-1-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

93cf7e6c12-Dec-2022 Helge Deller <deller@gmx.de>

linux-user: Enhance strace output for various syscalls

Add appropriate strace printf formats for various Linux syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Da

linux-user: Enhance strace output for various syscalls

Add appropriate strace printf formats for various Linux syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <Y5dsfGB1RChGfraW@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

7020e2fd30-Jan-2023 Helge Deller <deller@gmx.de>

linux-user: Show 4th argument of rt_sigprocmask() in strace

Add output for the missing 4th parameter (size_t sigsetsize).

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

linux-user: Show 4th argument of rt_sigprocmask() in strace

Add output for the missing 4th parameter (size_t sigsetsize).

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9hCxdvdM1o+/iHC@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

4530deb113-Dec-2022 Helge Deller <deller@gmx.de>

linux-user: Add emulation for MADV_WIPEONFORK and MADV_KEEPONFORK in madvise()

Both parameters have a different value on the parisc platform, so first
translate the target value into a host value fo

linux-user: Add emulation for MADV_WIPEONFORK and MADV_KEEPONFORK in madvise()

Both parameters have a different value on the parisc platform, so first
translate the target value into a host value for usage in the native
madvise() syscall.

Those parameters are often used by security sensitive applications (e.g.
tor browser, boringssl, ...) which expect the call to return a proper
return code on failure, so return -EINVAL if qemu fails to forward the
syscall to the host OS.

While touching this code, enhance the comments about MADV_DONTNEED.

Tested with testcase of tor browser when running hppa-linux guest on
x86-64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y5iwTaydU7i66K/i@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

ab6c497e27-Jan-2023 Helge Deller <deller@gmx.de>

linux-user: Improve strace output of personality() and sysinfo()

Make the strace look nicer for those two syscalls.

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

linux-user: Improve strace output of personality() and sysinfo()

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>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QxskymWJjrKQmT@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

e0174afe27-Jan-2023 Helge Deller <deller@gmx.de>

linux-user: Fix /proc/cpuinfo output for hppa

The hppa architectures provides an own output for the emulated
/proc/cpuinfo file.

Some userspace applications count (even if that's not the recommende

linux-user: Fix /proc/cpuinfo output for hppa

The hppa architectures provides an own output for the emulated
/proc/cpuinfo file.

Some userspace applications count (even if that's not the recommended
way) the number of lines which start with "processor:" and assume that
this number then reflects the number of online CPUs. Since those 3
architectures don't provide any such line, applications may assume "0"
CPUs. One such issue can be seen in debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024653

Avoid such issues by adding a "processor:" line for each of the online
CPUs.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QvyRSq1I1k5/JW@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

cb88b7c227-Jan-2023 Helge Deller <deller@gmx.de>

linux-user: Fix SO_ERROR return code of getsockopt()

Add translation for the host error return code of:
getsockopt(19, SOL_SOCKET, SO_ERROR, [ECONNREFUSED], [4]) = 0

This fixes the testsuite of

linux-user: Fix SO_ERROR return code of getsockopt()

Add translation for the host error return code of:
getsockopt(19, SOL_SOCKET, SO_ERROR, [ECONNREFUSED], [4]) = 0

This fixes the testsuite of the cockpit debian package with a
hppa-linux guest on a x86-64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QzNzXg0hrzHQeo@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

95fc5ed429-Jan-2023 Mike Frysinger <vapier@gentoo.org>

linux-user: move target_flat.h to target subdirs

This makes target_flat.h behave like every other target_xxx.h header.
It also makes it actually work -- while the current header says adding
a header

linux-user: move target_flat.h to target subdirs

This makes target_flat.h behave like every other target_xxx.h header.
It also makes it actually work -- while the current header says adding
a header to the target subdir overrides the common one, it doesn't.
This is for two reasons:
* meson.build adds -Ilinux-user before -Ilinux-user/$arch
* the compiler search path for "target_flat.h" looks in the same dir
as the source file before searching -I paths.

This can be seen with the xtensa port -- the subdir settings aren't
used which breaks stack setup.

Move it to the generic/ subdir and add include stubs like every
other target_xxx.h header is handled.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230129004625.11228-1-vapier@gentoo.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

6a848b5215-Jan-2023 Helge Deller <deller@gmx.de>

linux-user: Improve strace output of getgroups() and setgroups()

Make the strace look nicer for those syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivi

linux-user: Improve strace output of getgroups() and setgroups()

Make the strace look nicer for those syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230115210057.445132-1-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

dfd8c5e915-Jan-2023 Helge Deller <deller@gmx.de>

linux-user: Add strace output for clock_getres_time64() and futex_time64()

Add the two syscalls to strace output to avoid "Unknown syscall" message.

Signed-off-by: Helge Deller <deller@gmx.de>
Revi

linux-user: Add strace output for clock_getres_time64() and futex_time64()

Add the two syscalls to strace output to avoid "Unknown syscall" message.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230115113517.25143-1-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

6003159c10-Jan-2023 Daniel P. Berrangé <berrange@redhat.com>

Revert "linux-user: fix compat with glibc >= 2.36 sys/mount.h"

This reverts commit 3cd3df2a9584e6f753bb62a0028bd67124ab5532.

glibc has fixed (in 2.36.9000-40-g774058d729) the problem
that caused a

Revert "linux-user: fix compat with glibc >= 2.36 sys/mount.h"

This reverts commit 3cd3df2a9584e6f753bb62a0028bd67124ab5532.

glibc has fixed (in 2.36.9000-40-g774058d729) the problem
that caused a clash when both sys/mount.h annd linux/mount.h
are included, and backported this to the 2.36 stable release
too:

https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

It is saner for QEMU to remove the workaround it applied for
glibc 2.36 and expect distros to ship the 2.36 maint release
with the fix. This avoids needing to add a further workaround
to QEMU to deal with the fact that linux/brtfs.h now also pulls
in linux/mount.h via linux/fs.h since Linux 6.1

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230110174901.2580297-3-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

9f02465310-Jan-2023 Daniel P. Berrangé <berrange@redhat.com>

Revert "linux-user: add more compat ioctl definitions"

This reverts commit c5495f4ecb0cdaaf2e9dddeb48f1689cdb520ca0.

glibc has fixed (in 2.36.9000-40-g774058d729) the problem
that caused a clash wh

Revert "linux-user: add more compat ioctl definitions"

This reverts commit c5495f4ecb0cdaaf2e9dddeb48f1689cdb520ca0.

glibc has fixed (in 2.36.9000-40-g774058d729) the problem
that caused a clash when both sys/mount.h annd linux/mount.h
are included, and backported this to the 2.36 stable release
too:

https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

It is saner for QEMU to remove the workaround it applied for
glibc 2.36 and expect distros to ship the 2.36 maint release
with the fix. This avoids needing to add a further workaround
to QEMU to deal with the fact that linux/brtfs.h now also pulls
in linux/mount.h via linux/fs.h since Linux 6.1

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230110174901.2580297-2-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

d5dbbfe601-Jan-2023 Letu Ren <fantasquex@gmail.com>

linux-user: add more netlink protocol constants

Currently, qemu strace only prints four protocol contants. This patch
adds others listed in "linux/netlink.h".

Signed-off-by: Letu Ren <fantasquex@gm

linux-user: add more netlink protocol constants

Currently, qemu strace only prints four protocol contants. This patch
adds others listed in "linux/netlink.h".

Signed-off-by: Letu Ren <fantasquex@gmail.com>
Message-Id: <20230101141105.12024-1-fantasquex@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

d237b41618-Jan-2023 Mike Frysinger <vapier@gentoo.org>

linux-user: fix strace build w/out munlockall

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230118090144.31155-1-vapier@gen

linux-user: fix strace build w/out munlockall

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230118090144.31155-1-vapier@gentoo.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

6490d9aa24-Jan-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: un-parent OBJECT(cpu) when closing thread

This reinstates commit 52f0c1607671293afcdb2acc2f83e9bccbfa74bb:

While forcing the CPU to unrealize by hand does trigger the clean-up
code we n

linux-user: un-parent OBJECT(cpu) when closing thread

This reinstates commit 52f0c1607671293afcdb2acc2f83e9bccbfa74bb:

While forcing the CPU to unrealize by hand does trigger the clean-up
code we never fully free resources because refcount never reaches
zero. This is because QOM automatically added objects without an
explicit parent to /unattached/, incrementing the refcount.

Instead of manually triggering unrealization just unparent the object
and let the device machinery deal with that for us.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/866
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220811151413.3350684-2-alex.bennee@linaro.org>

The original patch tickled a problem in target/arm, and was reverted.
But that problem is fixed as of commit 3b07a936d3bf.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230124201019.3935934-1-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

e2c649e513-Dec-2022 Helge Deller <deller@gmx.de>

linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace

Add two missing mmap flags.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>

Message-Id

linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace

Add two missing mmap flags.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>

Message-Id: <Y5iiED4PpnGAHpyz@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

55bbe4d504-Nov-2022 Drew DeVault <sir@cmpwn.com>

linux-user/syscall: Implement execveat()

References: https://gitlab.com/qemu-project/qemu/-/issues/1007
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Me

linux-user/syscall: Implement execveat()

References: https://gitlab.com/qemu-project/qemu/-/issues/1007
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221104173632.1052-6-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

156e1f6704-Nov-2022 Drew DeVault <sir@cmpwn.com>

linux-user/syscall: Extract do_execve() from do_syscall1()

execve() is a particular case of execveat(). In order
to add do_execveat(), first factor do_execve() out.

Signed-off-by: Drew DeVault <sir

linux-user/syscall: Extract do_execve() from do_syscall1()

execve() is a particular case of execveat(). In order
to add do_execveat(), first factor do_execve() out.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
[PMD: Split of bigger patch, filled description, fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-5-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

5667a1ae04-Nov-2022 Drew DeVault <sir@cmpwn.com>

linux-user/strace: Add output for execveat() syscall

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
Suggested-by: Helge Deller <deller@gmx.de>
[PMD:

linux-user/strace: Add output for execveat() syscall

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
Suggested-by: Helge Deller <deller@gmx.de>
[PMD: Split of bigger patch]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-4-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

24acb7b404-Nov-2022 Drew DeVault <sir@cmpwn.com>

linux-user/strace: Extract print_execve_argv() from print_execve()

In order to add print_execveat() which re-use common code from
print_execve(), extract print_execve_argv() from it.

Signed-off-by:

linux-user/strace: Extract print_execve_argv() from print_execve()

In order to add print_execveat() which re-use common code from
print_execve(), extract print_execve_argv() from it.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
[PMD: Split of bigger patch, filled description, fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-3-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

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