History log of /qemu/linux-user/ (Results 301 – 325 of 3394)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8ddc171b05-Mar-2023 Afonso Bordado <afonsobordado@gmail.com>

linux-user: Emulate /proc/cpuinfo output for riscv

RISC-V does not expose all extensions via hwcaps, thus some userspace
applications may want to query these via /proc/cpuinfo.

Currently when query

linux-user: Emulate /proc/cpuinfo output for riscv

RISC-V does not expose all extensions via hwcaps, thus some userspace
applications may want to query these via /proc/cpuinfo.

Currently when querying this file the host's file is shown instead
which is slightly confusing. Emulate a basic /proc/cpuinfo file
with mmu info and an ISA string.

Signed-off-by: Afonso Bordado <afonsobordado@gmail.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Message-Id: <167873059442.9885.15152085316575248452-0@git.sr.ht>
[lv: removed the test that fails in CI for unknown reason]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...


/qemu/.git-blame-ignore-revs
/qemu/.gitignore
/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.mailmap
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/backends/tpm/tpm_backend.c
/qemu/block.c
/qemu/block/blkdebug.c
/qemu/block/block-backend.c
/qemu/block/copy-on-read.c
/qemu/block/dmg.c
/qemu/block/dmg.h
/qemu/block/export/export.c
/qemu/block/export/vhost-user-blk-server.c
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/filter-compress.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/io_uring.c
/qemu/block/linux-aio.c
/qemu/block/mirror.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/nfs.c
/qemu/block/preallocate.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2-snapshot.c
/qemu/block/qcow2-threads.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/raw-format.c
/qemu/block/replication.c
/qemu/block/vhdx-log.c
/qemu/block/vmdk.c
/qemu/block/vvfat.c
/qemu/chardev/char-file.c
/qemu/chardev/char.c
/qemu/configs/targets/s390x-linux-user.mak
/qemu/configs/targets/s390x-softmmu.mak
/qemu/configure
/qemu/cpu.c
/qemu/cpus-common.c
/qemu/docs/devel/acpi-bits.rst
/qemu/docs/devel/atomics.rst
/qemu/docs/devel/kconfig.rst
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/qom.rst
/qemu/docs/devel/style.rst
/qemu/docs/interop/firmware.json
/qemu/docs/interop/vhost-user.rst
/qemu/docs/pcie_sriov.txt
/qemu/docs/specs/index.rst
/qemu/docs/specs/pci-ids.rst
/qemu/docs/specs/pci-serial.rst
/qemu/docs/specs/pci-testdev.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/system/arm/cubieboard.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/arm/orangepi.rst
/qemu/docs/system/devices/cxl.rst
/qemu/docs/system/guest-loader.rst
/qemu/docs/system/introduction.rst
/qemu/gdb-xml/aarch64-pauth.xml
/qemu/gdb-xml/s390-virt-kvm.xml
/qemu/gdb-xml/s390-virt.xml
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/meson.build
/qemu/hw/9pfs/9p.h
/qemu/hw/9pfs/codir.c
/qemu/hw/9pfs/coth.c
/qemu/hw/9pfs/xen-9p-backend.c
/qemu/hw/acpi/cxl.c
/qemu/hw/acpi/pcihp.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/allwinner-a10.c
/qemu/hw/arm/allwinner-h3.c
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/fsl-imx6ul.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/mcimx6ul-evk.c
/qemu/hw/arm/mcimx7d-sabre.c
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/dataplane/xen-block.c
/qemu/hw/char/meson.build
/qemu/hw/char/serial-pci-multi.c
/qemu/hw/char/serial-pci.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/machine.c
/qemu/hw/core/meson.build
/qemu/hw/cxl/cxl-host.c
/qemu/hw/display/meson.build
/qemu/hw/display/qxl.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i2c/allwinner-i2c.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/amd_iommu.h
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/intel_iommu_internal.h
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/core.c
/qemu/hw/intc/apic.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/virt.c
/qemu/hw/mem/pc-dimm.c
/qemu/hw/misc/bcm2835_property.c
/qemu/hw/misc/imx_rngc.c
/qemu/hw/misc/lasi.c
/qemu/hw/misc/macio/mac_dbdma.c
/qemu/hw/net/imx_fec.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvme/ns.c
/qemu/hw/nvme/trace-events
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci-host/raven.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_nvdimm.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/rdma/Kconfig
/qemu/hw/rdma/meson.build
/qemu/hw/rdma/rdma_rm.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/timer/exynos4210_mct.c
/qemu/hw/timer/imx_epit.c
/qemu/hw/tpm/Kconfig
/qemu/hw/tpm/meson.build
/qemu/hw/tpm/tpm_tis.h
/qemu/hw/tpm/tpm_tis_common.c
/qemu/hw/tpm/tpm_tis_i2c.c
/qemu/hw/tpm/trace-events
/qemu/hw/usb/dev-uas.c
/qemu/hw/usb/hcd-dwc2.c
/qemu/hw/usb/hcd-ehci.c
/qemu/hw/usb/hcd-uhci.c
/qemu/hw/usb/host-libusb.c
/qemu/hw/usb/redirect.c
/qemu/hw/usb/xen-usb.c
/qemu/hw/virtio/vhost-user-i2c.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-mmio.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio-pmem.c
/qemu/hw/virtio/virtio.c
/qemu/hw/watchdog/Kconfig
/qemu/hw/watchdog/allwinner-wdt.c
/qemu/hw/watchdog/meson.build
/qemu/hw/watchdog/trace-events
/qemu/hw/xen/xen_pt.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/raw-aio.h
/qemu/include/block/thread-pool.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/tswap.h
/qemu/include/hw/acpi/tpm.h
/qemu/include/hw/arm/allwinner-a10.h
/qemu/include/hw/arm/allwinner-h3.h
/qemu/include/hw/arm/fsl-imx6ul.h
/qemu/include/hw/arm/fsl-imx7.h
/qemu/include/hw/boards.h
/qemu/include/hw/cxl/cxl.h
/qemu/include/hw/i2c/aspeed_i2c.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/misc/lasi.h
/qemu/include/hw/net/imx_fec.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_bridge.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/hw/watchdog/allwinner-wdt.h
/qemu/include/io/channel.h
/qemu/include/migration/misc.h
/qemu/include/migration/qemu-file-types.h
/qemu/include/qapi/qmp/dispatch.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/mmap-alloc.h
/qemu/include/qemu/stats64.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/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_blk.h
/qemu/include/sysemu/block-backend-io.h
/qemu/include/sysemu/qtest.h
/qemu/include/sysemu/tpm.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-tls.c
/qemu/io/channel.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/const.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/memfd.h
/qemu/linux-headers/linux/nvme_ioctl.h
/qemu/linux-headers/linux/stddef.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
syscall.c
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/options.h
/qemu/migration/postcopy-ram.c
/qemu/migration/postcopy-ram.h
/qemu/migration/qemu-file.c
/qemu/migration/qemu-file.h
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/socket.c
/qemu/migration/tls.c
/qemu/monitor/hmp.c
/qemu/monitor/monitor.c
/qemu/nbd/server.c
/qemu/net/vhost-vdpa.c
/qemu/qapi/block-core.json
/qemu/qapi/block-export.json
/qemu/qapi/block.json
/qemu/qapi/char.json
/qemu/qapi/control.json
/qemu/qapi/cryptodev.json
/qemu/qapi/job.json
/qemu/qapi/machine-target.json
/qemu/qapi/machine.json
/qemu/qapi/migration.json
/qemu/qapi/misc-target.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/qdev.json
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/qom.json
/qemu/qapi/rdma.json
/qemu/qapi/replay.json
/qemu/qapi/run-state.json
/qemu/qapi/stats.json
/qemu/qapi/tpm.json
/qemu/qapi/trace.json
/qemu/qapi/ui.json
/qemu/qapi/yank.json
/qemu/qemu-options.hx
/qemu/qga/qapi-schema.json
/qemu/scripts/checkpatch.pl
/qemu/scripts/coverage/compare_gcov_json.py
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/coverity-scan/coverity-scan.docker
/qemu/scripts/device-crash-test
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/mtest2make.py
/qemu/scripts/qapi/commands.py
/qemu/scripts/qapi/expr.py
/qemu/scripts/qapi/gen.py
/qemu/scripts/qapi/main.py
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/tracetool/backend/ftrace.py
/qemu/scripts/tracetool/backend/log.py
/qemu/scripts/tracetool/backend/syslog.py
/qemu/scripts/update-linux-headers.sh
/qemu/scripts/vmstate-static-checker.py
/qemu/scsi/pr-manager.c
/qemu/scsi/qemu-pr-helper.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/memory.c
/qemu/softmmu/meson.build
/qemu/softmmu/qtest.c
/qemu/softmmu/vl.c
/qemu/storage-daemon/qapi/qapi-schema.json
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/subprojects/libvhost-user/libvhost-user.h
/qemu/subprojects/slirp.wrap
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/kvm-consts.h
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm64.c
/qemu/target/arm/kvm_arm.h
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/hexagon/dectree.py
/qemu/target/hexagon/gen_analyze_funcs.py
/qemu/target/hexagon/gen_helper_funcs.py
/qemu/target/hexagon/gen_helper_protos.py
/qemu/target/hexagon/gen_idef_parser_funcs.py
/qemu/target/hexagon/gen_op_attribs.py
/qemu/target/hexagon/gen_op_regs.py
/qemu/target/hexagon/gen_opcodes_def.py
/qemu/target/hexagon/gen_printinsn.py
/qemu/target/hexagon/gen_shortcode.py
/qemu/target/hexagon/gen_tcg.h
/qemu/target/hexagon/gen_tcg_func_table.py
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/genptr.c
/qemu/target/hexagon/genptr.h
/qemu/target/hexagon/helper.h
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/idef-parser/idef-parser.y
/qemu/target/hexagon/idef-parser/parser-helpers.c
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/op_helper.c
/qemu/target/hexagon/op_helper.h
/qemu/target/hexagon/translate.c
/qemu/target/hexagon/translate.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/sev.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/translate.c
/qemu/target/mips/tcg/translate.c
/qemu/target/ppc/translate.c
/qemu/target/s390x/gdbstub.c
/qemu/target/s390x/tcg/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/mips/tcg-target.h
/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/sparc64/tcg-target.c.inc
/qemu/tcg/tcg-ldst.c.inc
/qemu/tcg/tcg.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tests/Makefile.include
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/kvm_xen_guest.py
/qemu/tests/avocado/linux_ssh_mips_malta.py
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-hexagon-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/mappings.yml
/qemu/tests/lcitool/refresh
/qemu/tests/lcitool/targets/opensuse-leap-15.yml
/qemu/tests/qapi-schema/args-if-implicit.err
/qemu/tests/qapi-schema/args-if-implicit.json
/qemu/tests/qapi-schema/args-if-implicit.out
/qemu/tests/qapi-schema/args-if-unboxed.err
/qemu/tests/qapi-schema/args-if-unboxed.json
/qemu/tests/qapi-schema/args-if-unboxed.out
/qemu/tests/qapi-schema/bad-data.err
/qemu/tests/qapi-schema/event-args-if-unboxed.err
/qemu/tests/qapi-schema/event-args-if-unboxed.json
/qemu/tests/qapi-schema/event-args-if-unboxed.out
/qemu/tests/qapi-schema/event-nest-struct.err
/qemu/tests/qapi-schema/meson.build
/qemu/tests/qapi-schema/nested-struct-data.err
/qemu/tests/qapi-schema/qapi-schema-test.json
/qemu/tests/qapi-schema/qapi-schema-test.out
/qemu/tests/qapi-schema/returns-dict.err
/qemu/tests/qapi-schema/struct-data-typename.err
/qemu/tests/qapi-schema/struct-data-typename.json
/qemu/tests/qapi-schema/struct-data-typename.out
/qemu/tests/qapi-schema/struct-member-invalid.err
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qapi-schema/union-array-branch.err
/qemu/tests/qapi-schema/union-invalid-discriminator.err
/qemu/tests/qapi-schema/union-invalid-discriminator.json
/qemu/tests/qapi-schema/union-invalid-union-subfield.err
/qemu/tests/qapi-schema/union-invalid-union-subfield.json
/qemu/tests/qapi-schema/union-invalid-union-subfield.out
/qemu/tests/qapi-schema/union-invalid-union-subtype.err
/qemu/tests/qapi-schema/union-invalid-union-subtype.json
/qemu/tests/qapi-schema/union-invalid-union-subtype.out
/qemu/tests/qemu-iotests/meson.build
/qemu/tests/qemu-iotests/tests/regression-vhdx-log
/qemu/tests/qemu-iotests/tests/regression-vhdx-log.out
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/qtest_aspeed.c
/qemu/tests/qtest/qtest_aspeed.h
/qemu/tests/qtest/tpm-crb-swtpm-test.c
/qemu/tests/qtest/tpm-crb-test.c
/qemu/tests/qtest/tpm-tis-device-swtpm-test.c
/qemu/tests/qtest/tpm-tis-i2c-test.c
/qemu/tests/qtest/tpm-tis-swtpm-test.c
/qemu/tests/qtest/tpm-tis-util.c
/qemu/tests/qtest/tpm-tis-util.h
/qemu/tests/qtest/tpm-util.c
/qemu/tests/qtest/tpm-util.h
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/requirements.txt
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/arm/Makefile.softmmu-target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/cris/Makefile.target
/qemu/tests/tcg/hexagon/Makefile.target
/qemu/tests/tcg/hexagon/hvx_misc.c
/qemu/tests/tcg/hexagon/hvx_misc.h
/qemu/tests/tcg/hexagon/misc.c
/qemu/tests/tcg/hppa/Makefile.target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/riscv64/Makefile.softmmu-target
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/tcg/s390x/Makefile.softmmu-target
/qemu/tests/tcg/tricore/Makefile.softmmu-target
/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/qemu/tests/unit/ptimer-test-stubs.c
/qemu/tests/unit/test-crypto-secret.c
/qemu/tests/unit/test-qobject-input-visitor.c
/qemu/tests/unit/test-qobject-output-visitor.c
/qemu/tests/unit/test-thread-pool.c
/qemu/tests/vm/freebsd
/qemu/tests/vm/netbsd
/qemu/ui/ui-hmp-cmds.c
/qemu/ui/ui-qmp-cmds.c
/qemu/ui/vnc.c
/qemu/util/async.c
/qemu/util/error.c
/qemu/util/main-loop.c
/qemu/util/mmap-alloc.c
/qemu/util/qemu-coroutine.c
/qemu/util/stats64.c
/qemu/util/thread-pool.c
/qemu/util/trace-events
370ed60027-Apr-2023 Jamie Iles <quic_jiles@quicinc.com>

cpu: expose qemu_cpu_list_lock for lock-guard use

Expose qemu_cpu_list_lock globally so that we can use
WITH_QEMU_LOCK_GUARD and QEMU_LOCK_GUARD to simplify a few code paths
now and in future.

Sign

cpu: expose qemu_cpu_list_lock for lock-guard use

Expose qemu_cpu_list_lock globally so that we can use
WITH_QEMU_LOCK_GUARD and QEMU_LOCK_GUARD to simplify a few code paths
now and in future.

Signed-off-by: Jamie Iles <quic_jiles@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230427020925.51003-2-quic_jiles@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

b6235a7503-May-2023 Richard Henderson <richard.henderson@linaro.org>

disas: Remove target_ulong from the interface

Use uint64_t for the pc, and size_t for the size.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linar

disas: Remove target_ulong from the interface

Use uint64_t for the pc, and size_t for the size.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230503072331.1747057-81-richard.henderson@linaro.org>

show more ...


/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tb-maint.c
/qemu/block.c
/qemu/block/amend.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/coroutines.h
/qemu/block/crypto.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/meson.build
/qemu/block/mirror.c
/qemu/block/nbd.c
/qemu/block/parallels.c
/qemu/block/qapi.c
/qemu/block/qcow.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/qed.c
/qemu/block/quorum.c
/qemu/block/raw-format.c
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/blockdev.c
/qemu/bsd-user/elfload.c
/qemu/configure
/qemu/disas/disas.c
/qemu/disas/meson.build
/qemu/docs/COLO-FT.txt
/qemu/docs/devel/kconfig.rst
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/sphinx/qapidoc.py
/qemu/docs/system/gdb.rst
/qemu/hmp-commands.hx
/qemu/hw/arm/Kconfig
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/usb/Kconfig
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/include/block/aio-wait.h
/qemu/include/block/block-global-state.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/block/graph-lock.h
/qemu/include/block/qapi.h
/qemu/include/disas/disas.h
/qemu/include/migration/colo.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/rcu.h
/qemu/include/sysemu/block-backend-global-state.h
elfload.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/colo.c
/qemu/migration/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/qemu/migration/options.c
/qemu/migration/qemu-file.c
/qemu/migration/qemu-file.h
/qemu/migration/ram-compress.c
/qemu/migration/ram-compress.h
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/qapi/acpi.json
/qemu/qapi/audio.json
/qemu/qapi/authz.json
/qemu/qapi/block-core.json
/qemu/qapi/block-export.json
/qemu/qapi/block.json
/qemu/qapi/char.json
/qemu/qapi/common.json
/qemu/qapi/compat.json
/qemu/qapi/control.json
/qemu/qapi/crypto.json
/qemu/qapi/cryptodev.json
/qemu/qapi/cxl.json
/qemu/qapi/dump.json
/qemu/qapi/error.json
/qemu/qapi/introspect.json
/qemu/qapi/job.json
/qemu/qapi/machine-target.json
/qemu/qapi/machine.json
/qemu/qapi/migration.json
/qemu/qapi/misc-target.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/pci.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/qdev.json
/qemu/qapi/qom.json
/qemu/qapi/rdma.json
/qemu/qapi/replay.json
/qemu/qapi/rocker.json
/qemu/qapi/run-state.json
/qemu/qapi/sockets.json
/qemu/qapi/stats.json
/qemu/qapi/tpm.json
/qemu/qapi/trace.json
/qemu/qapi/transaction.json
/qemu/qapi/ui.json
/qemu/qapi/virtio.json
/qemu/qapi/yank.json
/qemu/qemu-img.c
/qemu/qga/qapi-schema.json
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/ci/setup/gitlab-runner.yml
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/qapi/parser.py
/qemu/stubs/colo.c
/qemu/stubs/meson.build
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/loongarch/machine.c
/qemu/target/m68k/translate.c
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/docker/dockerfiles/debian-xtensa-cross.docker
/qemu/tests/qapi-schema/doc-bad-indent.err
/qemu/tests/qapi-schema/doc-bad-indent.json
/qemu/tests/qapi-schema/doc-good.json
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qemu-iotests/tests/iothreads-resize
/qemu/tests/qemu-iotests/tests/iothreads-resize.out
/qemu/tests/qemu-iotests/tests/nbd-reconnect-on-open
/qemu/tests/qemu-iotests/tests/nbd-reconnect-on-open.out
/qemu/tests/qtest/migration-test.c
/qemu/tests/unit/test-aio-multithread.c
/qemu/tests/unit/test-bdrv-drain.c
/qemu/util/aio-wait.c
/qemu/util/rcu.c
16f5396c04-May-2023 Song Gao <gaosong@loongson.cn>

target/loongarch: Add LSX data type VReg

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-2-gaosong@loo

target/loongarch: Add LSX data type VReg

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-2-gaosong@loongson.cn>

show more ...


/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/monitor.c
/qemu/accel/tcg/tcg-runtime-gvec.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/accel/tcg/user-exec.c
/qemu/audio/audio.c
/qemu/audio/audio_template.h
/qemu/audio/meson.build
/qemu/audio/pwaudio.c
/qemu/audio/trace-events
/qemu/block/export/export.c
/qemu/block/export/vduse-blk.c
/qemu/bsd-user/main.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/user/main.rst
/qemu/hmp-commands.hx
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/raspi.c
/qemu/hw/char/riscv_htif.c
/qemu/hw/intc/allwinner-a10-pic.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/net/allwinner-sun8i-emac.c
/qemu/hw/net/msf2-emac.c
/qemu/hw/riscv/spike.c
/qemu/hw/sd/allwinner-sdhost.c
/qemu/include/exec/cpu_ldst.h
/qemu/include/hw/arm/boot.h
/qemu/include/hw/char/riscv_htif.h
/qemu/include/monitor/hmp.h
/qemu/include/qemu/bitops.h
/qemu/include/qemu/host-utils.h
/qemu/include/qemu/int128.h
/qemu/include/tcg/tcg-op-gvec.h
loongarch64/signal.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/meson.build
/qemu/migration/migration-stats.c
/qemu/migration/migration-stats.h
/qemu/migration/migration.c
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/options.h
/qemu/migration/postcopy-ram.c
/qemu/migration/qemu-file.c
/qemu/migration/qemu-file.h
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/tls.c
/qemu/migration/tls.h
/qemu/migration/vmstate.c
/qemu/migration/xbzrle.c
/qemu/qapi/audio.json
/qemu/qapi/machine-target.json
/qemu/qapi/run-state.json
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands.c
/qemu/qga/qapi-schema.json
/qemu/scripts/meson-buildoptions.sh
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/runstate-hmp-cmds.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/translate-a32.h
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/gdbstub.c
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/machine.c
/qemu/target/riscv/arch_dump.c
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.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/fpu_helper.c
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn16.decode
/qemu/target/riscv/insn_trans/trans_privileged.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_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvzce.c.inc
/qemu/target/riscv/insn_trans/trans_rvzicond.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/insn_trans/trans_xventanacondops.c.inc
/qemu/target/riscv/internals.h
/qemu/target/riscv/m128_helper.c
/qemu/target/riscv/machine.c
/qemu/target/riscv/meson.build
/qemu/target/riscv/op_helper.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/pmu.c
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/sbi_ecall_interface.h
/qemu/target/riscv/time_helper.c
/qemu/target/riscv/time_helper.h
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/riscv/zce_helper.c
/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/tcg-op-gvec.c
/qemu/tcg/tcg.c
/qemu/tcg/tci/README
/qemu/tests/qtest/readconfig-test.c
/qemu/tests/qtest/test-hmp.c
/qemu/tests/unit/test-qga.c
/qemu/util/async.c
/qemu/util/systemd.c
2060436a03-May-2023 Harsh Prateek Bora <harshpb@linux.ibm.com>

ppc: spapr: cleanup cr get/set with helpers.

The bits in cr reg are grouped into eight 4-bit fields represented
by env->crf[8] and the related calculations should be abstracted to
keep the calling r

ppc: spapr: cleanup cr get/set with helpers.

The bits in cr reg are grouped into eight 4-bit fields represented
by env->crf[8] and the related calculations should be abstracted to
keep the calling routines simpler to read. This is a step towards
cleaning up the related/calling code for better readability.

Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230503093619.2530487-2-harshpb@linux.ibm.com>
[danielhb: add 'const' modifier to fix linux-user build]
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>

show more ...


/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/monitor.c
/qemu/accel/tcg/tcg-runtime-gvec.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/accel/tcg/user-exec.c
/qemu/block/export/export.c
/qemu/block/export/vduse-blk.c
/qemu/bsd-user/main.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/user/main.rst
/qemu/hmp-commands.hx
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/raspi.c
/qemu/hw/char/riscv_htif.c
/qemu/hw/display/sm501.c
/qemu/hw/intc/allwinner-a10-pic.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/net/allwinner-sun8i-emac.c
/qemu/hw/net/msf2-emac.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/riscv/spike.c
/qemu/hw/sd/allwinner-sdhost.c
/qemu/include/exec/cpu_ldst.h
/qemu/include/hw/arm/boot.h
/qemu/include/hw/char/riscv_htif.h
/qemu/include/monitor/hmp.h
/qemu/include/qemu/bitops.h
/qemu/include/qemu/host-utils.h
/qemu/include/qemu/int128.h
/qemu/include/tcg/tcg-op-gvec.h
elfload.c
ppc/signal.c
/qemu/meson.build
/qemu/migration/meson.build
/qemu/migration/migration-stats.c
/qemu/migration/migration-stats.h
/qemu/migration/migration.c
/qemu/migration/multifd.c
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/tls.c
/qemu/migration/tls.h
/qemu/migration/xbzrle.c
/qemu/qapi/machine-target.json
/qemu/qapi/run-state.json
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands.c
/qemu/qga/qapi-schema.json
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/runstate-hmp-cmds.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/translate-a32.h
/qemu/target/ppc/cpu.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/gdbstub.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/ppc-qmp-cmds.c
/qemu/target/riscv/arch_dump.c
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.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/fpu_helper.c
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn16.decode
/qemu/target/riscv/insn_trans/trans_privileged.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_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvzce.c.inc
/qemu/target/riscv/insn_trans/trans_rvzicond.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/insn_trans/trans_xventanacondops.c.inc
/qemu/target/riscv/internals.h
/qemu/target/riscv/m128_helper.c
/qemu/target/riscv/machine.c
/qemu/target/riscv/meson.build
/qemu/target/riscv/op_helper.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/pmu.c
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/sbi_ecall_interface.h
/qemu/target/riscv/time_helper.c
/qemu/target/riscv/time_helper.h
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/riscv/zce_helper.c
/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/tcg-op-gvec.c
/qemu/tcg/tcg.c
/qemu/tcg/tci/README
/qemu/tests/qtest/readconfig-test.c
/qemu/tests/qtest/test-hmp.c
/qemu/tests/unit/test-qga.c
/qemu/util/async.c
/qemu/util/systemd.c
e99c1f8917-Apr-2023 Peter Maydell <peter.maydell@linaro.org>

linux-user: Add '-one-insn-per-tb' option equivalent to '-singlestep'

The '-singlestep' option is confusing, because it doesn't actually
have anything to do with single-stepping the CPU. What it doe

linux-user: Add '-one-insn-per-tb' option equivalent to '-singlestep'

The '-singlestep' option is confusing, because it doesn't actually
have anything to do with single-stepping the CPU. What it does do
is force TCG emulation to put one guest instruction in each TB,
which can be useful in some situations.

Create a new command line argument -one-insn-per-tb, so we can
document that -singlestep is just a deprecated synonym for it,
and eventually perhaps drop it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230417164041.684562-5-peter.maydell@linaro.org

show more ...

0e33928c17-Apr-2023 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Use one_insn_per_tb global instead of old singlestep global

The only place left that looks at the old 'singlestep' global
variable is the TCG curr_cflags() function. Replace the old glob

accel/tcg: Use one_insn_per_tb global instead of old singlestep global

The only place left that looks at the old 'singlestep' global
variable is the TCG curr_cflags() function. Replace the old global
with a new 'one_insn_per_tb' which is defined in tcg-all.c and
declared in accel/tcg/internal.h. This keeps it restricted to the
TCG code, unlike 'singlestep' which was available to every file in
the system and defined in multiple different places for softmmu vs
linux-user vs bsd-user.

While we're making this change, use qatomic_read() and qatomic_set()
on the accesses to the new global, because TCG will read it without
holding a lock.

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

show more ...

3cfb045617-Apr-2023 Peter Maydell <peter.maydell@linaro.org>

make one-insn-per-tb an accel option

This commit adds 'one-insn-per-tb' as a property on the TCG
accelerator object, so you can enable it with
-accel tcg,one-insn-per-tb=on

It has the same behav

make one-insn-per-tb an accel option

This commit adds 'one-insn-per-tb' as a property on the TCG
accelerator object, so you can enable it with
-accel tcg,one-insn-per-tb=on

It has the same behaviour as the existing '-singlestep' command line
option. We use a different name because 'singlestep' has always been
a confusing choice, because it doesn't have anything to do with
single-stepping the CPU. What it does do is force TCG emulation to
put one guest instruction in each TB, which can be useful in some
situations (such as analysing debug logs).

The existing '-singlestep' commandline options are decoupled from the
global 'singlestep' variable and instead now are syntactic sugar for
setting the accel property. (These can then go away after a
deprecation period.)

The global variable remains for the moment as:
* what the TCG code looks at to change its behaviour
* what HMP and QMP use to query and set the behaviour

In the following commits we'll clean those up to not directly
look at the global variable.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230417164041.684562-2-peter.maydell@linaro.org

show more ...


/qemu/.git-blame-ignore-revs
/qemu/.gitignore
/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.mailmap
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-all.c
/qemu/backends/tpm/tpm_backend.c
/qemu/block.c
/qemu/block/blkdebug.c
/qemu/block/block-backend.c
/qemu/block/copy-on-read.c
/qemu/block/dmg.c
/qemu/block/dmg.h
/qemu/block/export/export.c
/qemu/block/export/vhost-user-blk-server.c
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/filter-compress.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/io_uring.c
/qemu/block/linux-aio.c
/qemu/block/mirror.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/nfs.c
/qemu/block/preallocate.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2-snapshot.c
/qemu/block/qcow2-threads.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/raw-format.c
/qemu/block/replication.c
/qemu/block/vhdx-log.c
/qemu/block/vmdk.c
/qemu/block/vvfat.c
/qemu/bsd-user/main.c
/qemu/chardev/char-file.c
/qemu/chardev/char.c
/qemu/configs/devices/aarch64-softmmu/default.mak
/qemu/configs/devices/arm-softmmu/default.mak
/qemu/configs/targets/s390x-linux-user.mak
/qemu/configs/targets/s390x-softmmu.mak
/qemu/configure
/qemu/cpu.c
/qemu/cpus-common.c
/qemu/docs/devel/acpi-bits.rst
/qemu/docs/devel/atomics.rst
/qemu/docs/devel/kconfig.rst
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/qom.rst
/qemu/docs/devel/style.rst
/qemu/docs/interop/firmware.json
/qemu/docs/interop/vhost-user.rst
/qemu/docs/pcie_sriov.txt
/qemu/docs/specs/index.rst
/qemu/docs/specs/pci-ids.rst
/qemu/docs/specs/pci-serial.rst
/qemu/docs/specs/pci-testdev.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/system/arm/cubieboard.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/arm/orangepi.rst
/qemu/docs/system/devices/cxl.rst
/qemu/docs/system/guest-loader.rst
/qemu/docs/system/introduction.rst
/qemu/gdb-xml/aarch64-pauth.xml
/qemu/gdb-xml/s390-virt-kvm.xml
/qemu/gdb-xml/s390-virt.xml
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/meson.build
/qemu/hw/9pfs/9p.h
/qemu/hw/9pfs/codir.c
/qemu/hw/9pfs/coth.c
/qemu/hw/9pfs/xen-9p-backend.c
/qemu/hw/acpi/cxl.c
/qemu/hw/acpi/pcihp.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/allwinner-a10.c
/qemu/hw/arm/allwinner-h3.c
/qemu/hw/arm/bcm2835_peripherals.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/fsl-imx6ul.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/mcimx6ul-evk.c
/qemu/hw/arm/mcimx7d-sabre.c
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/raspi.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/dataplane/xen-block.c
/qemu/hw/char/meson.build
/qemu/hw/char/serial-pci-multi.c
/qemu/hw/char/serial-pci.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/machine.c
/qemu/hw/core/meson.build
/qemu/hw/cxl/cxl-host.c
/qemu/hw/display/meson.build
/qemu/hw/display/qxl.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i2c/allwinner-i2c.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/amd_iommu.h
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/intel_iommu_internal.h
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/core.c
/qemu/hw/intc/apic.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/virt.c
/qemu/hw/mem/pc-dimm.c
/qemu/hw/misc/bcm2835_property.c
/qemu/hw/misc/imx_rngc.c
/qemu/hw/misc/lasi.c
/qemu/hw/misc/macio/mac_dbdma.c
/qemu/hw/net/imx_fec.c
/qemu/hw/net/npcm7xx_emc.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvme/ns.c
/qemu/hw/nvme/trace-events
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci-host/raven.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_nvdimm.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/rdma/Kconfig
/qemu/hw/rdma/meson.build
/qemu/hw/rdma/rdma_rm.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/timer/exynos4210_mct.c
/qemu/hw/timer/imx_epit.c
/qemu/hw/tpm/Kconfig
/qemu/hw/tpm/meson.build
/qemu/hw/tpm/tpm_tis.h
/qemu/hw/tpm/tpm_tis_common.c
/qemu/hw/tpm/tpm_tis_i2c.c
/qemu/hw/tpm/trace-events
/qemu/hw/usb/dev-uas.c
/qemu/hw/usb/hcd-dwc2.c
/qemu/hw/usb/hcd-ehci.c
/qemu/hw/usb/hcd-uhci.c
/qemu/hw/usb/host-libusb.c
/qemu/hw/usb/redirect.c
/qemu/hw/usb/xen-usb.c
/qemu/hw/virtio/vhost-user-i2c.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-mmio.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio-pmem.c
/qemu/hw/virtio/virtio.c
/qemu/hw/watchdog/Kconfig
/qemu/hw/watchdog/allwinner-wdt.c
/qemu/hw/watchdog/meson.build
/qemu/hw/watchdog/trace-events
/qemu/hw/xen/xen_pt.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/raw-aio.h
/qemu/include/block/thread-pool.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/tswap.h
/qemu/include/hw/acpi/tpm.h
/qemu/include/hw/arm/allwinner-a10.h
/qemu/include/hw/arm/allwinner-h3.h
/qemu/include/hw/arm/fsl-imx6ul.h
/qemu/include/hw/arm/fsl-imx7.h
/qemu/include/hw/boards.h
/qemu/include/hw/cxl/cxl.h
/qemu/include/hw/i2c/aspeed_i2c.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/misc/bcm2835_property.h
/qemu/include/hw/misc/lasi.h
/qemu/include/hw/net/imx_fec.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_bridge.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/hw/watchdog/allwinner-wdt.h
/qemu/include/io/channel.h
/qemu/include/migration/misc.h
/qemu/include/migration/qemu-file-types.h
/qemu/include/qapi/qmp/dispatch.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/mmap-alloc.h
/qemu/include/qemu/stats64.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/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_blk.h
/qemu/include/sysemu/block-backend-io.h
/qemu/include/sysemu/qtest.h
/qemu/include/sysemu/tpm.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-tls.c
/qemu/io/channel.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/const.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/memfd.h
/qemu/linux-headers/linux/nvme_ioctl.h
/qemu/linux-headers/linux/stddef.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
main.c
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/options.h
/qemu/migration/postcopy-ram.c
/qemu/migration/postcopy-ram.h
/qemu/migration/qemu-file.c
/qemu/migration/qemu-file.h
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/socket.c
/qemu/migration/tls.c
/qemu/monitor/hmp.c
/qemu/monitor/monitor.c
/qemu/nbd/server.c
/qemu/net/vhost-vdpa.c
/qemu/qapi/block-core.json
/qemu/qapi/block-export.json
/qemu/qapi/block.json
/qemu/qapi/char.json
/qemu/qapi/control.json
/qemu/qapi/cryptodev.json
/qemu/qapi/job.json
/qemu/qapi/machine-target.json
/qemu/qapi/machine.json
/qemu/qapi/migration.json
/qemu/qapi/misc-target.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/qdev.json
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/qom.json
/qemu/qapi/rdma.json
/qemu/qapi/replay.json
/qemu/qapi/run-state.json
/qemu/qapi/stats.json
/qemu/qapi/tpm.json
/qemu/qapi/trace.json
/qemu/qapi/ui.json
/qemu/qapi/yank.json
/qemu/qemu-options.hx
/qemu/qga/qapi-schema.json
/qemu/scripts/checkpatch.pl
/qemu/scripts/coverage/compare_gcov_json.py
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/coverity-scan/coverity-scan.docker
/qemu/scripts/device-crash-test
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/mtest2make.py
/qemu/scripts/qapi/commands.py
/qemu/scripts/qapi/expr.py
/qemu/scripts/qapi/gen.py
/qemu/scripts/qapi/main.py
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/tracetool/backend/ftrace.py
/qemu/scripts/tracetool/backend/log.py
/qemu/scripts/tracetool/backend/syslog.py
/qemu/scripts/update-linux-headers.sh
/qemu/scripts/vmstate-static-checker.py
/qemu/scsi/pr-manager.c
/qemu/scsi/qemu-pr-helper.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/memory.c
/qemu/softmmu/meson.build
/qemu/softmmu/qtest.c
/qemu/softmmu/vl.c
/qemu/storage-daemon/qapi/qapi-schema.json
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/subprojects/libvhost-user/libvhost-user.h
/qemu/subprojects/slirp.wrap
/qemu/target/arm/Kconfig
/qemu/target/arm/cortex-regs.c
/qemu/target/arm/cpregs.h
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm-consts.h
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm64.c
/qemu/target/arm/kvm_arm.h
/qemu/target/arm/meson.build
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/meson.build
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/hexagon/dectree.py
/qemu/target/hexagon/gen_analyze_funcs.py
/qemu/target/hexagon/gen_helper_funcs.py
/qemu/target/hexagon/gen_helper_protos.py
/qemu/target/hexagon/gen_idef_parser_funcs.py
/qemu/target/hexagon/gen_op_attribs.py
/qemu/target/hexagon/gen_op_regs.py
/qemu/target/hexagon/gen_opcodes_def.py
/qemu/target/hexagon/gen_printinsn.py
/qemu/target/hexagon/gen_shortcode.py
/qemu/target/hexagon/gen_tcg.h
/qemu/target/hexagon/gen_tcg_func_table.py
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/genptr.c
/qemu/target/hexagon/genptr.h
/qemu/target/hexagon/helper.h
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/idef-parser/idef-parser.y
/qemu/target/hexagon/idef-parser/parser-helpers.c
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/op_helper.c
/qemu/target/hexagon/op_helper.h
/qemu/target/hexagon/translate.c
/qemu/target/hexagon/translate.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/sev.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/translate.c
/qemu/target/mips/tcg/translate.c
/qemu/target/ppc/translate.c
/qemu/target/s390x/gdbstub.c
/qemu/target/s390x/tcg/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/mips/tcg-target.h
/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/sparc64/tcg-target.c.inc
/qemu/tcg/tcg-ldst.c.inc
/qemu/tcg/tcg.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tests/Makefile.include
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/kvm_xen_guest.py
/qemu/tests/avocado/linux_ssh_mips_malta.py
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/avocado/migration.py
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-hexagon-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/mappings.yml
/qemu/tests/lcitool/refresh
/qemu/tests/lcitool/targets/opensuse-leap-15.yml
/qemu/tests/qapi-schema/args-if-implicit.err
/qemu/tests/qapi-schema/args-if-implicit.json
/qemu/tests/qapi-schema/args-if-implicit.out
/qemu/tests/qapi-schema/args-if-unboxed.err
/qemu/tests/qapi-schema/args-if-unboxed.json
/qemu/tests/qapi-schema/args-if-unboxed.out
/qemu/tests/qapi-schema/bad-data.err
/qemu/tests/qapi-schema/event-args-if-unboxed.err
/qemu/tests/qapi-schema/event-args-if-unboxed.json
/qemu/tests/qapi-schema/event-args-if-unboxed.out
/qemu/tests/qapi-schema/event-nest-struct.err
/qemu/tests/qapi-schema/meson.build
/qemu/tests/qapi-schema/nested-struct-data.err
/qemu/tests/qapi-schema/qapi-schema-test.json
/qemu/tests/qapi-schema/qapi-schema-test.out
/qemu/tests/qapi-schema/returns-dict.err
/qemu/tests/qapi-schema/struct-data-typename.err
/qemu/tests/qapi-schema/struct-data-typename.json
/qemu/tests/qapi-schema/struct-data-typename.out
/qemu/tests/qapi-schema/struct-member-invalid.err
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qapi-schema/union-array-branch.err
/qemu/tests/qapi-schema/union-invalid-discriminator.err
/qemu/tests/qapi-schema/union-invalid-discriminator.json
/qemu/tests/qapi-schema/union-invalid-union-subfield.err
/qemu/tests/qapi-schema/union-invalid-union-subfield.json
/qemu/tests/qapi-schema/union-invalid-union-subfield.out
/qemu/tests/qapi-schema/union-invalid-union-subtype.err
/qemu/tests/qapi-schema/union-invalid-union-subtype.json
/qemu/tests/qapi-schema/union-invalid-union-subtype.out
/qemu/tests/qemu-iotests/meson.build
/qemu/tests/qemu-iotests/tests/regression-vhdx-log
/qemu/tests/qemu-iotests/tests/regression-vhdx-log.out
/qemu/tests/qtest/arm-cpu-features.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/boot-serial-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/pxe-test.c
/qemu/tests/qtest/qtest_aspeed.c
/qemu/tests/qtest/qtest_aspeed.h
/qemu/tests/qtest/tpm-crb-swtpm-test.c
/qemu/tests/qtest/tpm-crb-test.c
/qemu/tests/qtest/tpm-tis-device-swtpm-test.c
/qemu/tests/qtest/tpm-tis-i2c-test.c
/qemu/tests/qtest/tpm-tis-swtpm-test.c
/qemu/tests/qtest/tpm-tis-util.c
/qemu/tests/qtest/tpm-tis-util.h
/qemu/tests/qtest/tpm-util.c
/qemu/tests/qtest/tpm-util.h
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/vmgenid-test.c
/qemu/tests/requirements.txt
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/arm/Makefile.softmmu-target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/cris/Makefile.target
/qemu/tests/tcg/hexagon/Makefile.target
/qemu/tests/tcg/hexagon/hvx_misc.c
/qemu/tests/tcg/hexagon/hvx_misc.h
/qemu/tests/tcg/hexagon/misc.c
/qemu/tests/tcg/hppa/Makefile.target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/riscv64/Makefile.softmmu-target
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/tcg/s390x/Makefile.softmmu-target
/qemu/tests/tcg/tricore/Makefile.softmmu-target
/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/qemu/tests/unit/ptimer-test-stubs.c
/qemu/tests/unit/test-crypto-secret.c
/qemu/tests/unit/test-qobject-input-visitor.c
/qemu/tests/unit/test-qobject-output-visitor.c
/qemu/tests/unit/test-thread-pool.c
/qemu/tests/vm/freebsd
/qemu/tests/vm/netbsd
/qemu/ui/ui-hmp-cmds.c
/qemu/ui/ui-qmp-cmds.c
/qemu/ui/vnc.c
/qemu/util/async.c
/qemu/util/error.c
/qemu/util/main-loop.c
/qemu/util/mmap-alloc.c
/qemu/util/qemu-coroutine.c
/qemu/util/stats64.c
/qemu/util/thread-pool.c
/qemu/util/trace-events
6cda41da01-Apr-2023 Richard Henderson <richard.henderson@linaro.org>

Revert "linux-user/arm: Take more care allocating commpage"

This reverts commit 4f5c67f8df7f26e559509c68c45e652709edd23f.

This exposes bugs in target_mmap et al with respect to overflow
with the fi

Revert "linux-user/arm: Take more care allocating commpage"

This reverts commit 4f5c67f8df7f26e559509c68c45e652709edd23f.

This exposes bugs in target_mmap et al with respect to overflow
with the final page of the guest address space. To be fixed in
the next development cycle.

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

show more ...

450cb7ec15-Mar-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user/mips: Use P5600 as default CPU to run NaN2008 ELF binaries

Per the release 6.06 revision history:

5.03 August 21, 2013

• ABS2008 and NAN2008 fields of Table 5.7 “FCSR RegisterField

linux-user/mips: Use P5600 as default CPU to run NaN2008 ELF binaries

Per the release 6.06 revision history:

5.03 August 21, 2013

• ABS2008 and NAN2008 fields of Table 5.7 “FCSR RegisterField
Descriptions” were optional in release 3 and could be R/W,
but as of release 5 are required, read-only, and preset by
hardware.

The P5600 core implements the release 5, and has the ABS2008
and NAN2008 bits set in CP1_fcr31. Therefore it is able to run
ELF binaries compiled with EF_MIPS_NAN2008, such the CIP United
Debian NaN2008 distribution:
http://repo.oss.cipunited.com/mipsel-nan2008/README.txt

In order to run such compiled binaries, select by default the
P5600 core when the ELF 'MIPS_NAN2008' flag is set.

Reported-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230327162444.388-1-philmd@linaro.org>

show more ...

baead64228-Dec-2022 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user/sparc: Don't use 16-bit UIDs on SPARC V9

The 64-bit SPARC V9 syscall ABI uses 32-bit UIDs. Only enable
the 16-bit UID wrappers for 32-bit SPARC (V7 and V8).

Possibly missed in commit 992

linux-user/sparc: Don't use 16-bit UIDs on SPARC V9

The 64-bit SPARC V9 syscall ABI uses 32-bit UIDs. Only enable
the 16-bit UID wrappers for 32-bit SPARC (V7 and V8).

Possibly missed in commit 992f48a036 ("Support for 32 bit
ABI on 64 bit targets (only enabled Sparc64)").

Reported-by: Gregor Riepl <onitake@gmail.com>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tested-by: Zach van Rijn <me@zv.io>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1394
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230327131910.78564-1-philmd@linaro.org>

show more ...

4f5c67f822-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user/arm: Take more care allocating commpage

User setting of -R reserved_va can lead to an assertion
failure in page_set_flags. Sanity check the value of
reserved_va and print an error messag

linux-user/arm: Take more care allocating commpage

User setting of -R reserved_va can lead to an assertion
failure in page_set_flags. Sanity check the value of
reserved_va and print an error message instead. Do not
allocate a commpage at all for m-profile cpus.

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

show more ...

95059f9c05-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

include/exec: Change reserved_va semantics to last byte

Change the semantics to be the last byte of the guest va, rather
than the following byte. This avoids some overflow conditions.

Reviewed-by:

include/exec: Change reserved_va semantics to last byte

Change the semantics to be the last byte of the guest va, rather
than the following byte. This avoids some overflow conditions.

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

show more ...

a3a67f5427-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Pass last not end to probe_guest_base

Pass the address of the last byte of the image, rather than
the first address past the last byte. This avoids overflow
when the last page of the ad

linux-user: Pass last not end to probe_guest_base

Pass the address of the last byte of the image, rather than
the first address past the last byte. This avoids overflow
when the last page of the address space is involved.

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

show more ...

10310cbd05-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Pass last not end to page_reset_target_data

Pass the address of the last byte to be changed, rather than
the first address past the last byte. This avoids overflow
when the last page of

accel/tcg: Pass last not end to page_reset_target_data

Pass the address of the last byte to be changed, rather than
the first address past the last byte. This avoids overflow
when the last page of the address space is involved.

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

show more ...

49840a4a05-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Pass last not end to page_set_flags

Pass the address of the last byte to be changed, rather than
the first address past the last byte. This avoids overflow
when the last page of the addr

accel/tcg: Pass last not end to page_set_flags

Pass the address of the last byte to be changed, rather than
the first address past the last byte. This avoids overflow
when the last page of the address space is involved.

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

show more ...

2f7828b507-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user: Diagnose misaligned -R size

We have been enforcing host page alignment for the non-R
fallback of MAX_RESERVED_VA, but failing to enforce for -R.

Reviewed-by: Philippe Mathieu-Daudé <phi

linux-user: Diagnose misaligned -R size

We have been enforcing host page alignment for the non-R
fallback of MAX_RESERVED_VA, but failing to enforce for -R.

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

show more ...


/qemu/.gitlab-ci.d/windows.yml
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/accel/tcg/tb-maint.c
/qemu/accel/xen/xen-all.c
/qemu/block.c
/qemu/block/block-backend.c
/qemu/block/export/virtio-blk-handler.c
/qemu/configure
/qemu/contrib/gitdm/domain-map
/qemu/contrib/gitdm/group-map-alibaba
/qemu/contrib/gitdm/group-map-amd
/qemu/contrib/gitdm/group-map-individuals
/qemu/docs/about/deprecated.rst
/qemu/gitdm.config
/qemu/hw/block/fdc.c
/qemu/hw/block/nand.c
/qemu/hw/block/onenand.c
/qemu/hw/block/tc58128.c
/qemu/hw/ide/cmd646.c
/qemu/hw/ide/core.c
/qemu/hw/ide/microdrive.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/e1000x_regs.h
/qemu/hw/net/igb.c
/qemu/hw/net/igb_core.c
/qemu/hw/net/igb_core.h
/qemu/hw/net/igb_regs.h
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/net/net_tx_pkt.h
/qemu/hw/net/trace-events
/qemu/hw/net/vmxnet3.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/xenpv/xen_machine_pv.c
/qemu/include/block/block-io.h
/qemu/include/hw/block/flash.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/ide/internal.h
/qemu/include/qemu/plugin-event.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/qtree.h
/qemu/include/sysemu/block-backend-io.h
main.c
/qemu/meson.build
/qemu/nbd/server.c
/qemu/plugins/core.c
/qemu/qga/vss-win32/install.cpp
/qemu/target/arm/gdbstub.c
/qemu/target/ppc/excp_helper.c
/qemu/target/s390x/s390x-internal.h
/qemu/tcg/region.c
/qemu/tests/bench/meson.build
/qemu/tests/bench/qtree-bench.c
/qemu/tests/qemu-iotests/check
/qemu/tests/qemu-iotests/meson.build
/qemu/tests/qemu-iotests/testenv.py
/qemu/tests/qemu-iotests/testrunner.py
/qemu/tests/qtest/migration-test.c
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-qtree.c
/qemu/tests/vm/openbsd
/qemu/ui/spice-core.c
/qemu/util/fdmon-epoll.c
/qemu/util/meson.build
/qemu/util/qtree.c
/qemu/util/vhost-user-server.c
720ace2415-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

*: Add missing includes of qemu/plugin.h

This had been pulled in from hw/core/cpu.h,
but that will be removed.

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

*: Add missing includes of qemu/plugin.h

This had been pulled in from hw/core/cpu.h,
but that will be removed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-6-richard.henderson@linaro.org>
[AJB: also syscall-trace.h]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-16-alex.bennee@linaro.org>
Reviewed-by: Emilio Cota <cota@braap.org>

show more ...

cc37d98b15-Mar-2023 Richard Henderson <richard.henderson@linaro.org>

*: Add missing includes of qemu/error-report.h

This had been pulled in via qemu/plugin.h from hw/core/cpu.h,
but that will be removed.

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

*: Add missing includes of qemu/error-report.h

This had been pulled in via qemu/plugin.h from hw/core/cpu.h,
but that will be removed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-5-richard.henderson@linaro.org>
[AJB: add various additional cases shown by CI]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-15-alex.bennee@linaro.org>
Reviewed-by: Emilio Cota <cota@braap.org>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
/qemu/.gitlab-ci.d/qemu-project.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/accel/accel-softmmu.c
/qemu/accel/tcg/cpu-exec-common.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/plugin-gen.c
/qemu/audio/audio_int.h
/qemu/audio/dbusaudio.c
/qemu/backends/tpm/tpm_emulator.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/chardev/baum.c
/qemu/chardev/char.c
/qemu/contrib/elf2dmp/addrspace.c
/qemu/contrib/elf2dmp/main.c
/qemu/contrib/elf2dmp/pe.h
/qemu/crypto/afalg.c
/qemu/disas/riscv.c
/qemu/docs/devel/atomics.rst
/qemu/docs/meson.build
/qemu/docs/sphinx/kerneldoc.py
/qemu/docs/system/arm/cpu-features.rst
/qemu/dump/dump.c
/qemu/dump/win_dump.c
/qemu/gdbstub/gdbstub.c
/qemu/hmp-commands.hx
/qemu/hw/arm/collie.c
/qemu/hw/arm/cubieboard.c
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/npcm7xx_boards.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/omap_sx1.c
/qemu/hw/arm/orangepi.c
/qemu/hw/arm/palm.c
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/parallel.c
/qemu/hw/char/serial.c
/qemu/hw/core/loader.c
/qemu/hw/core/machine-smp.c
/qemu/hw/display/qxl-render.c
/qemu/hw/display/qxl.c
/qemu/hw/display/vmware_vga.c
/qemu/hw/dma/etraxfs_dma.c
/qemu/hw/gpio/max7310.c
/qemu/hw/hyperv/syndbg.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/i386/sgx.c
/qemu/hw/input/ads7846.c
/qemu/hw/input/ps2.c
/qemu/hw/intc/apic.c
/qemu/hw/intc/ioapic.c
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/next-cube.c
/qemu/hw/m68k/q800.c
/qemu/hw/m68k/virt.c
/qemu/hw/mem/memory-device.c
/qemu/hw/mem/sparse-mem.c
/qemu/hw/openrisc/boot.c
/qemu/hw/ppc/ppc4xx_sdram.c
/qemu/hw/ppc/spapr_softmmu.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/riscv/shakti_c.c
/qemu/hw/riscv/virt-acpi-build.c
/qemu/hw/rtc/m48t59.c
/qemu/hw/rtc/twl92230.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/sd/sd.c
/qemu/hw/usb/imx-usb-phy.c
/qemu/hw/vfio/display.c
/qemu/hw/vfio/igd.c
/qemu/hw/vfio/migration.c
/qemu/hw/watchdog/wdt_ib700.c
/qemu/include/block/aio.h
/qemu/include/crypto/aes.h
/qemu/include/crypto/desrfb.h
/qemu/include/disas/dis-asm.h
/qemu/include/elf.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/memory.h
/qemu/include/hw/acpi/acpi.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/pci/pci_bridge.h
/qemu/include/hw/pcmcia.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/sd/sd.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/qapi/error.h
/qemu/include/qemu/bitmap.h
/qemu/include/qemu/compiler.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/qemu-plugin.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/uri.h
/qemu/include/sysemu/os-posix.h
/qemu/include/sysemu/os-win32.h
/qemu/include/tcg/tcg-op.h
/qemu/include/tcg/tcg-temp-internal.h
/qemu/include/tcg/tcg.h
/qemu/include/ui/console.h
/qemu/include/ui/egl-helpers.h
/qemu/io/channel-socket.c
/qemu/io/channel-tls.c
/qemu/io/channel-watch.c
elfload.c
/qemu/meson.build
/qemu/migration/dirtyrate.c
/qemu/migration/exec.c
/qemu/migration/multifd.c
/qemu/migration/postcopy-ram.c
/qemu/migration/rdma.c
/qemu/migration/target.c
/qemu/migration/xbzrle.c
/qemu/monitor/fds.c
/qemu/monitor/hmp-cmds.c
/qemu/monitor/qmp-cmds.c
/qemu/net/dgram.c
/qemu/net/slirp.c
/qemu/net/socket.c
/qemu/pc-bios/README
/qemu/pc-bios/bios-256k.bin
/qemu/pc-bios/bios-microvm.bin
/qemu/pc-bios/bios.bin
/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.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/pc-bios/optionrom/optionrom.h
/qemu/pc-bios/vgabios-ati.bin
/qemu/pc-bios/vgabios-bochs-display.bin
/qemu/pc-bios/vgabios-cirrus.bin
/qemu/pc-bios/vgabios-qxl.bin
/qemu/pc-bios/vgabios-ramfb.bin
/qemu/pc-bios/vgabios-stdvga.bin
/qemu/pc-bios/vgabios-virtio.bin
/qemu/pc-bios/vgabios-vmware.bin
/qemu/pc-bios/vgabios.bin
/qemu/qapi/misc.json
/qemu/qapi/ui.json
/qemu/qemu-options.hx
/qemu/roms/Makefile
/qemu/roms/edk2
/qemu/roms/edk2-build.config
/qemu/roms/edk2-build.py
/qemu/roms/seabios
/qemu/scripts/ci/org.centos/stream/8/build-environment.yml
/qemu/scripts/ci/setup/gitlab-runner.yml
/qemu/softmmu/memory.c
/qemu/softmmu/physmem.c
/qemu/softmmu/vl.c
/qemu/target/alpha/cpu-param.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/internals.h
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate-mve.c
/qemu/target/arm/tcg/translate-sve.c
/qemu/target/arm/tcg/translate-vfp.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/tcg/translate.h
/qemu/target/arm/vfp_helper.c
/qemu/target/avr/cpu-param.h
/qemu/target/avr/translate.c
/qemu/target/cris/cpu-param.h
/qemu/target/cris/translate.c
/qemu/target/cris/translate_v10.c.inc
/qemu/target/hexagon/cpu-param.h
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.c
/qemu/target/i386/host-cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/xen-emu.c
/qemu/target/i386/sev.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-apic.c
/qemu/target/loongarch/cpu-param.h
/qemu/target/m68k/cpu-param.h
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu-param.h
/qemu/target/microblaze/cpu.h
/qemu/target/mips/cpu-param.h
/qemu/target/mips/cpu.c
/qemu/target/mips/tcg/micromips_translate.c.inc
/qemu/target/mips/tcg/msa_translate.c
/qemu/target/mips/tcg/mxu_translate.c
/qemu/target/mips/tcg/nanomips_translate.c.inc
/qemu/target/mips/tcg/octeon_translate.c
/qemu/target/mips/tcg/translate.c
/qemu/target/mips/tcg/translate_addr_const.c
/qemu/target/mips/tcg/tx79_translate.c
/qemu/target/mips/tcg/vr54xx_translate.c
/qemu/target/nios2/cpu-param.h
/qemu/target/openrisc/cpu-param.h
/qemu/target/ppc/cpu-param.h
/qemu/target/ppc/power8-pmu-regs.c.inc
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/qemu/target/ppc/translate/fp-impl.c.inc
/qemu/target/ppc/translate/vmx-impl.c.inc
/qemu/target/ppc/translate/vsx-impl.c.inc
/qemu/target/riscv/cpu-param.h
/qemu/target/rx/cpu-param.h
/qemu/target/rx/translate.c
/qemu/target/s390x/cpu-param.h
/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/diag.c
/qemu/target/s390x/tcg/excp_helper.c
/qemu/target/s390x/tcg/insn-data.h.inc
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/s390x/tcg/translate_vx.c.inc
/qemu/target/sh4/cpu-param.h
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu-param.h
/qemu/target/sparc/translate.c
/qemu/target/tricore/cpu-param.h
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu-param.h
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/tcg-op-gvec.c
/qemu/tcg/tcg-op-vec.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg.c
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/machine_aarch64_virt.py
/qemu/tests/avocado/multiprocess.py
/qemu/tests/avocado/netdev-ethtool.py
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/data/acpi/virt/SRAT.acpihmatvirt
/qemu/tests/data/acpi/virt/SSDT.memhp
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/docker.py
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/netdev-socket.c
/qemu/tests/qtest/vnc-display-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/s390x/Makefile.softmmu-target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/br-odd.S
/qemu/tests/tcg/s390x/cgrl-unaligned.S
/qemu/tests/tcg/s390x/chrl.c
/qemu/tests/tcg/s390x/clrl-unaligned.S
/qemu/tests/tcg/s390x/crl-unaligned.S
/qemu/tests/tcg/s390x/ex-odd.S
/qemu/tests/tcg/s390x/ex-relative-long.c
/qemu/tests/tcg/s390x/exrl-ssm-early.S
/qemu/tests/tcg/s390x/lgrl-unaligned.S
/qemu/tests/tcg/s390x/llgfrl-unaligned.S
/qemu/tests/tcg/s390x/lpsw.S
/qemu/tests/tcg/s390x/lpswe-early.S
/qemu/tests/tcg/s390x/lpswe-unaligned.S
/qemu/tests/tcg/s390x/lrl-unaligned.S
/qemu/tests/tcg/s390x/pgm-specification-softmmu.S
/qemu/tests/tcg/s390x/pgm-specification-user.c
/qemu/tests/tcg/s390x/pgm-specification.mak
/qemu/tests/tcg/s390x/rxsbg.c
/qemu/tests/tcg/s390x/softmmu.ld
/qemu/tests/tcg/s390x/ssm-early.S
/qemu/tests/tcg/s390x/stgrl-unaligned.S
/qemu/tests/tcg/s390x/stosm-early.S
/qemu/tests/tcg/s390x/strl-unaligned.S
/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/qemu/tests/tcg/xtensaeb/Makefile.softmmu-target
/qemu/tests/unit/meson.build
/qemu/tests/unit/socket-helpers.c
/qemu/tests/unit/test-blockjob.c
/qemu/tests/unit/test-error-report.c
/qemu/tests/unit/test-io-channel-command.c
/qemu/tests/unit/test-rcu-list.c
/qemu/ui/cocoa.m
/qemu/ui/console.c
/qemu/ui/cursor.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/egl-helpers.c
/qemu/ui/gtk.c
/qemu/ui/keycodemapdb
/qemu/ui/meson.build
/qemu/ui/sdl2.c
/qemu/ui/shader/texture-blit-flip.vert
/qemu/ui/shader/texture-blit.frag
/qemu/ui/shader/texture-blit.vert
/qemu/ui/spice-core.c
/qemu/ui/spice-display.c
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/util/aio-posix.c
/qemu/util/aio-win32.c
/qemu/util/bitops.c
/qemu/util/envlist.c
/qemu/util/error.c
/qemu/util/main-loop.c
/qemu/util/oslib-posix.c
/qemu/util/oslib-win32.c
/qemu/util/qemu-sockets.c
2732c73908-Feb-2023 fanwj@mail.ustc.edu.cn <fanwj@mail.ustc.edu.cn>

linux-user: fix bug about incorrect base addresss of gdt on i386 and x86_64

On linux user mode, CPUX86State::gdt::base from Different CPUX86State
Objects have same value, It is incorrect! Every CPUX

linux-user: fix bug about incorrect base addresss of gdt on i386 and x86_64

On linux user mode, CPUX86State::gdt::base from Different CPUX86State
Objects have same value, It is incorrect! Every CPUX86State::gdt::base
Must points to independent memory space.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1405
Signed-off-by: fanwenjie <fanwj@mail.ustc.edu.cn>
Message-Id: <4172b90.58b08.18631b77860.Coremail.fanwj@mail.ustc.edu.cn>
[lv: remove unnecessary casts, split overlong line]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

show more ...

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

linux-user/sparc: Handle tag overflow traps

This trap is raised by taddcctv and tsubcctv insns.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230216054516.1267305-1

linux-user/sparc: Handle tag overflow traps

This trap is raised by taddcctv and tsubcctv insns.

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

show more ...

4ea3af3916-Feb-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user/sparc: Handle floating-point exceptions

Raise SIGFPE for ieee exceptions.

The other types, such as FSR_FTT_UNIMPFPOP, should not appear,
because we enable normal emulation of missing ins

linux-user/sparc: Handle floating-point exceptions

Raise SIGFPE for ieee exceptions.

The other types, such as FSR_FTT_UNIMPFPOP, should not appear,
because we enable normal emulation of missing insns at the
start of sparc_cpu_realizefn().

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

show more ...

81f04cd316-Feb-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user/sparc: Handle unimplemented flush trap

For sparc64, TT_UNIMP_FLUSH == TT_ILL_INSN, so this is
already handled. For sparc32, the kernel uses SKIP_TRAP.

Signed-off-by: Richard Henderson <

linux-user/sparc: Handle unimplemented flush trap

For sparc64, TT_UNIMP_FLUSH == TT_ILL_INSN, so this is
already handled. For sparc32, the kernel uses SKIP_TRAP.

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

show more ...

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

linux-user/sparc: Handle coprocessor disabled trap

Since qemu does not implement a sparc coprocessor, all such
instructions raise this trap. Because of that, we never raise
the coprocessor exceptio

linux-user/sparc: Handle coprocessor disabled trap

Since qemu does not implement a sparc coprocessor, all such
instructions raise this trap. Because of that, we never raise
the coprocessor exception trap, which would be vector 0x28.

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

show more ...

235f33b816-Feb-2023 Richard Henderson <richard.henderson@linaro.org>

linux-user/sparc: Handle privilidged action trap

This is raised by using an %asi < 0x80 in user-mode.

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

linux-user/sparc: Handle privilidged action trap

This is raised by using an %asi < 0x80 in user-mode.

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

show more ...

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