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

accel/hvf: Use accel-specific per-vcpu @dirty field

HVF has a specific use of the CPUState::vcpu_dirty field
(CPUState::vcpu_dirty is not used by common code).
To make this field accel-specific, add

accel/hvf: Use accel-specific per-vcpu @dirty field

HVF has a specific use of the CPUState::vcpu_dirty field
(CPUState::vcpu_dirty is not used by common code).
To make this field accel-specific, add and use a new
@dirty variable in the AccelCPUState structure.

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

show more ...


/qemu/accel/hvf/hvf-accel-ops.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/ldst_atomicity.c.inc
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translator.c
/qemu/accel/tcg/user-exec.c
/qemu/accel/tcg/user-retaddr.h
/qemu/gdbstub/gdbstub.c
/qemu/host/include/aarch64/host/load-extract-al16-al8.h.inc
/qemu/host/include/aarch64/host/store-insert-al16.h.inc
/qemu/host/include/generic/host/load-extract-al16-al8.h.inc
/qemu/host/include/generic/host/store-insert-al16.h.inc
/qemu/host/include/loongarch64/host/load-extract-al16-al8.h.inc
/qemu/host/include/loongarch64/host/store-insert-al16.h.inc
/qemu/host/include/x86_64/host/load-extract-al16-al8.h.inc
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/helper-gen.h.inc
/qemu/include/exec/helper-head.h.inc
/qemu/include/exec/helper-info.c.inc
/qemu/include/exec/helper-proto.h.inc
/qemu/include/gdbstub/helpers.h
/qemu/include/hw/core/cpu.h
/qemu/include/semihosting/uaccess.h
hvf_int.h
/qemu/meson.build
/qemu/page-target.c
/qemu/semihosting/guestfd.c
/qemu/system/physmem.c
/qemu/target/alpha/cpu-param.h
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.h
/qemu/target/arm/hvf/hvf.c
/qemu/target/avr/cpu-param.h
/qemu/target/avr/cpu.h
/qemu/target/avr/gdbstub.c
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/cpu.h
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu-param.h
/qemu/target/loongarch/cpu.h
/qemu/target/meson.build
/qemu/target/microblaze/cpu-param.h
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu-param.h
/qemu/target/mips/cpu.h
/qemu/target/openrisc/cpu-param.h
/qemu/target/openrisc/cpu.h
/qemu/target/ppc/cpu-param.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/riscv/cpu-param.h
/qemu/target/riscv/cpu.h
/qemu/target/s390x/cpu-param.h
/qemu/target/s390x/cpu.h
/qemu/target/sparc/cpu-param.h
/qemu/target/sparc/cpu.h
/qemu/target/sparc/gdbstub.c
/qemu/target/tricore/gdbstub.c
/qemu/target/xtensa/cpu-param.h
/qemu/target/xtensa/cpu.h
7d7a21ba13-Jun-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET

'NEED_CPU_H' guard target-specific code; it is defined by meson
altogether with the 'CONFIG_TARGET' definition. Rename NEED_CPU_H
as COMPILING_PER_TAR

exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET

'NEED_CPU_H' guard target-specific code; it is defined by meson
altogether with the 'CONFIG_TARGET' definition. Rename NEED_CPU_H
as COMPILING_PER_TARGET to clarify its meaning.

Mechanical change running:

$ sed -i s/NEED_CPU_H/COMPILING_PER_TARGET/g $(git grep -l NEED_CPU_H)

then manually add a /* COMPILING_PER_TARGET */ comment
after the '#endif' when the block is large.

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

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/container-core.yml
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/bsd-user/elfload.c
/qemu/bsd-user/qemu.h
/qemu/docs/devel/reset.rst
/qemu/docs/devel/submitting-a-patch.rst
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/target-i386-desc.rst.inc
/qemu/hw/Kconfig
/qemu/hw/adc/npcm7xx_adc.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/pxa2xx_pic.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/virt.c
/qemu/hw/audio/asc.c
/qemu/hw/char/Kconfig
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/meson.build
/qemu/hw/char/sifive_uart.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/char/trace-events
/qemu/hw/core/cpu-common.c
/qemu/hw/core/loader.c
/qemu/hw/core/machine-hmp-cmds.c
/qemu/hw/core/machine-qmp-cmds.c
/qemu/hw/core/machine-smp.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev.c
/qemu/hw/core/reset.c
/qemu/hw/core/resettable.c
/qemu/hw/cpu/Kconfig
/qemu/hw/cpu/meson.build
/qemu/hw/cxl/cxl-cdat.c
/qemu/hw/display/virtio-vga.c
/qemu/hw/dma/soc_dma.c
/qemu/hw/gpio/npcm7xx_gpio.c
/qemu/hw/gpio/pl061.c
/qemu/hw/gpio/stm32l4x5_gpio.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i2c/allwinner-i2c.c
/qemu/hw/i2c/npcm7xx_smbus.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/input/adb.c
/qemu/hw/input/ps2.c
/qemu/hw/intc/arm_gic_common.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3.c
/qemu/hw/intc/arm_gicv3_common.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/arm_gicv3_dist.c
/qemu/hw/intc/arm_gicv3_its.c
/qemu/hw/intc/arm_gicv3_its_common.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/arm_gicv3_redist.c
/qemu/hw/intc/gicv3_internal.h
/qemu/hw/intc/trace-events
/qemu/hw/intc/xics.c
/qemu/hw/m68k/q800-glue.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/applesmc.c
/qemu/hw/misc/djmemc.c
/qemu/hw/misc/imx25_ccm.c
/qemu/hw/misc/imx31_ccm.c
/qemu/hw/misc/imx6_ccm.c
/qemu/hw/misc/imx6_src.c
/qemu/hw/misc/imx6ul_ccm.c
/qemu/hw/misc/imx7_src.c
/qemu/hw/misc/iosb.c
/qemu/hw/misc/mac_via.c
/qemu/hw/misc/macio/cuda.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/mos6522.c
/qemu/hw/misc/npcm7xx_clk.c
/qemu/hw/misc/npcm7xx_gcr.c
/qemu/hw/misc/npcm7xx_mft.c
/qemu/hw/misc/npcm7xx_pwm.c
/qemu/hw/misc/stm32l4x5_exti.c
/qemu/hw/misc/stm32l4x5_rcc.c
/qemu/hw/misc/stm32l4x5_syscfg.c
/qemu/hw/misc/xlnx-versal-cframe-reg.c
/qemu/hw/misc/xlnx-versal-crl.c
/qemu/hw/misc/xlnx-versal-pmc-iou-slcr.c
/qemu/hw/misc/xlnx-versal-trng.c
/qemu/hw/misc/xlnx-versal-xramc.c
/qemu/hw/misc/xlnx-zynqmp-apu-ctrl.c
/qemu/hw/misc/xlnx-zynqmp-crf.c
/qemu/hw/misc/zynq_slcr.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/e1000.c
/qemu/hw/net/e1000e.c
/qemu/hw/net/igb.c
/qemu/hw/net/igbvf.c
/qemu/hw/net/imx_fec.c
/qemu/hw/nvram/xlnx-bbram.c
/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/qemu/hw/pci-bridge/cxl_root_port.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-bridge/pcie_root_port.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/pnv_phb.c
/qemu/hw/pci-host/pnv_phb3_msi.c
/qemu/hw/pci/pci.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/virt.c
/qemu/hw/rtc/mc146818rtc.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-hcall.h
/qemu/hw/sensor/adm1266.c
/qemu/hw/sensor/adm1272.c
/qemu/hw/sensor/isl_pmbus_vr.c
/qemu/hw/sensor/max31785.c
/qemu/hw/sensor/max34451.c
/qemu/hw/ssi/imx_spi.c
/qemu/hw/ssi/npcm7xx_fiu.c
/qemu/hw/timer/etraxfs_timer.c
/qemu/hw/timer/npcm7xx_timer.c
/qemu/hw/usb/hcd-dwc2.c
/qemu/hw/usb/xlnx-versal-usb2-ctrl-regs.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/xtensa/bootparam.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/helper-head.h
/qemu/include/exec/memop.h
/qemu/include/exec/memory.h
/qemu/include/exec/tswap.h
/qemu/include/gdbstub/helpers.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/boards.h
/qemu/include/hw/char/stm32l4x5_usart.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/cxl/cxl_component.h
/qemu/include/hw/elf_ops.h.inc
/qemu/include/hw/intc/arm_gic_common.h
/qemu/include/hw/intc/arm_gicv3_common.h
/qemu/include/hw/resettable.h
/qemu/include/qemu/osdep.h
hvf.h
kvm.h
nvmm.h
whpx.h
xen.h
/qemu/linux-user/elfload.c
/qemu/linux-user/flat.h
/qemu/linux-user/flatload.c
/qemu/linux-user/ioctls.h
/qemu/linux-user/qemu.h
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/syscall_types.h
/qemu/linux-user/uaccess.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/python/qemu/machine/machine.py
/qemu/qapi/machine.json
/qemu/qom/qom-qmp-cmds.c
/qemu/scripts/analyze-inclusions
/qemu/scripts/coccinelle/reset-type.cocci
/qemu/scripts/compare-machine-types.py
/qemu/scripts/meson-buildoptions.sh
/qemu/system/vl.c
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu-qom.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm-consts.h
/qemu/target/arm/tcg/a64.decode
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/helper-a64.h
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/avr/cpu.c
/qemu/target/cris/cpu.c
/qemu/target/hexagon/cpu.c
/qemu/target/i386/cpu-apic.c
/qemu/target/i386/cpu-sysemu.c
/qemu/target/i386/cpu.c
/qemu/target/i386/meson.build
/qemu/target/i386/monitor.c
/qemu/target/loongarch/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/cpu.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/cpu_models.h
/qemu/target/sh4/cpu.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
/qemu/tests/docker/dockerfiles/alpine.docker
/qemu/tests/docker/dockerfiles/centos9.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-i686-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-riscv64-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/debian.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/ubuntu2204.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/mappings.yml
/qemu/tests/lcitool/refresh
/qemu/tests/qtest/aspeed_fsi-test.c
/qemu/tests/qtest/cmsdk-apb-dualtimer-test.c
/qemu/tests/qtest/cmsdk-apb-watchdog-test.c
/qemu/tests/qtest/erst-test.c
/qemu/tests/qtest/fuzz/qos_fuzz.c
/qemu/tests/qtest/ivshmem-test.c
/qemu/tests/qtest/libqos/ahci.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/sse-timer-test.c
/qemu/tests/qtest/stm32l4x5_exti-test.c
/qemu/tests/qtest/stm32l4x5_syscfg-test.c
/qemu/tests/qtest/stm32l4x5_usart-test.c
/qemu/tests/unit/test-nested-aio-poll.c
/qemu/tests/vm/centos
/qemu/tests/vm/openbsd
6c30148527-Mar-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

target/nios2: Remove the deprecated Nios II target

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

Remove:
- Buildsys / CI inf

target/nios2: Remove the deprecated Nios II target

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

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

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

show more ...


/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/buildtest-template.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/crossbuild-template.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/.mailmap
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/backends/cryptodev-builtin.c
/qemu/backends/iommufd.c
/qemu/block.c
/qemu/block/block-backend.c
/qemu/block/copy-before-write.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/nbd.c
/qemu/block/nvme.c
/qemu/block/qapi.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/snapshot.c
/qemu/block/vdi.c
/qemu/block/vmdk.c
/qemu/blockdev.c
/qemu/bsd-user/main.c
/qemu/bsd-user/signal.c
/qemu/chardev/char-io.c
/qemu/chardev/char-socket.c
/qemu/configure
/qemu/contrib/elf2dmp/addrspace.c
/qemu/contrib/elf2dmp/addrspace.h
/qemu/contrib/elf2dmp/download.c
/qemu/contrib/elf2dmp/download.h
/qemu/contrib/elf2dmp/main.c
/qemu/contrib/elf2dmp/pdb.c
/qemu/contrib/elf2dmp/pdb.h
/qemu/contrib/elf2dmp/qemu_elf.c
/qemu/contrib/elf2dmp/qemu_elf.h
/qemu/contrib/plugins/execlog.c
/qemu/contrib/plugins/howvec.c
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/disas/disas-mon.c
/qemu/disas/disas.c
/qemu/disas/meson.build
/qemu/disas/nanomips.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/emulation.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/conf.py
/qemu/docs/devel/atomics.rst
/qemu/docs/devel/ci-jobs.rst.inc
/qemu/docs/devel/clocks.rst
/qemu/docs/devel/migration/CPR.rst
/qemu/docs/devel/migration/features.rst
/qemu/docs/devel/migration/main.rst
/qemu/docs/devel/nested-papr.txt
/qemu/docs/devel/tracing.rst
/qemu/docs/specs/pvpanic.rst
/qemu/docs/system/arm/sbsa.rst
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/devices/nvme.rst
/qemu/docs/system/i386/sgx.rst
/qemu/docs/system/introduction.rst
/qemu/docs/system/ppc/amigang.rst
/qemu/docs/system/replay.rst
/qemu/docs/system/s390x/cpu-topology.rst
/qemu/docs/system/target-ppc.rst
/qemu/docs/user/main.rst
/qemu/ebpf/ebpf.c
/qemu/ebpf/ebpf.h
/qemu/ebpf/ebpf_rss-stub.c
/qemu/ebpf/ebpf_rss.c
/qemu/ebpf/ebpf_rss.h
/qemu/ebpf/meson.build
/qemu/ebpf/rss.bpf.skeleton.h
/qemu/fpu/softfloat-specialize.c.inc
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/system.c
/qemu/gdbstub/user.c
/qemu/hmp-commands.hx
/qemu/hw/Kconfig
/qemu/hw/acpi/hmat.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/palm.c
/qemu/hw/arm/raspi4b.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/tosa.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/arm/z2.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/nand.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/core/clock.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/loader-fit.c
/qemu/hw/core/machine-qmp-cmds.c
/qemu/hw/core/machine.c
/qemu/hw/core/numa.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/display/ati.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/gpio/Kconfig
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/pca9552.c
/qemu/hw/gpio/pca9554.c
/qemu/hw/gpio/pcf8574.c
/qemu/hw/gpio/trace-events
/qemu/hw/i386/Kconfig
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/fw_cfg.c
/qemu/hw/i386/fw_cfg.h
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/ahci-internal.h
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ich.c
/qemu/hw/intc/Kconfig
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/meson.build
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/virt.c
/qemu/hw/meson.build
/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/qemu/hw/misc/applesmc.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/pvpanic-pci.c
/qemu/hw/misc/stm32l4x5_rcc.c
/qemu/hw/misc/trace-events
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/e1000e_core.h
/qemu/hw/net/igb_core.c
/qemu/hw/net/igb_core.h
/qemu/hw/net/lan9118.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/vhost_net.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvme/meson.build
/qemu/hw/nvme/nguid.c
/qemu/hw/nvme/ns.c
/qemu/hw/nvme/nvme.h
/qemu/hw/nvram/mac_nvram.c
/qemu/hw/pci-bridge/cxl_root_port.c
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/pci/pcie.c
/qemu/hw/pci/shpc.c
/qemu/hw/pci/trace-events
/qemu/hw/ppc/mpc8544_guts.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/pnv_xscom.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/ppce500_spin.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_nested.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/vhost-scsi.c
/qemu/hw/sd/sdhci.c
/qemu/hw/smbios/Kconfig
/qemu/hw/smbios/meson.build
/qemu/hw/smbios/smbios.c
/qemu/hw/smbios/smbios_legacy.c
/qemu/hw/smbios/smbios_legacy_stub.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/cpr.c
/qemu/hw/vfio/helpers.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/platform.c
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/vhost-user-scmi.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/vhost-vsock.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-iommu.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xen/xen-mapcache.c
/qemu/hw/xen/xen_pt.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/include/disas/dis-asm.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/poison.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/translator.h
/qemu/include/exec/user/abitypes.h
/qemu/include/gdbstub/user.h
/qemu/include/hw/audio/virtio-snd.h
/qemu/include/hw/block/flash.h
/qemu/include/hw/boards.h
/qemu/include/hw/clock.h
/qemu/include/hw/cxl/cxl_pci.h
/qemu/include/hw/firmware/smbios.h
/qemu/include/hw/gpio/pca9552.h
/qemu/include/hw/gpio/pca9552_regs.h
/qemu/include/hw/gpio/pca9554.h
/qemu/include/hw/gpio/pca9554_regs.h
/qemu/include/hw/gpio/pcf8574.h
/qemu/include/hw/ppc/pnv_chip.h
/qemu/include/hw/ppc/pnv_core.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_nested.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/vfio/vfio-container-base.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/virtio/virtio-iommu.h
/qemu/include/hw/virtio/virtio-net.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/io/channel-file.h
/qemu/include/migration/client-options.h
/qemu/include/migration/misc.h
/qemu/include/migration/register.h
/qemu/include/net/vhost_net.h
/qemu/include/qapi/error.h
/qemu/include/qemu/help-texts.h
/qemu/include/qemu/job.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/linux/virtio_pci.h
arch_init.h
/qemu/include/tcg/tcg.h
/qemu/include/ui/console.h
/qemu/include/ui/kbd-state.h
/qemu/io/channel-file.c
/qemu/linux-user/aarch64/signal.c
/qemu/linux-user/alpha/signal.c
/qemu/linux-user/arm/signal.c
/qemu/linux-user/elfload.c
/qemu/linux-user/hexagon/signal.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/i386/cpu_loop.c
/qemu/linux-user/i386/signal.c
/qemu/linux-user/ioctls.h
/qemu/linux-user/loongarch64/signal.c
/qemu/linux-user/m68k/signal.c
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/signal.c
/qemu/linux-user/mips/signal.c
/qemu/linux-user/mmap.c
/qemu/linux-user/openrisc/signal.c
/qemu/linux-user/ppc/signal.c
/qemu/linux-user/riscv/signal.c
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/signal.c
/qemu/linux-user/strace.c
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/xtensa/signal.c
/qemu/meson.build
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/fd.c
/qemu/migration/fd.h
/qemu/migration/file.c
/qemu/migration/file.h
/qemu/migration/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd-zero-page.c
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/qemu/migration/options.c
/qemu/migration/options.h
/qemu/migration/postcopy-ram.c
/qemu/migration/qemu-file.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/trace-events
/qemu/monitor/hmp-cmds-target.c
/qemu/nbd/server.c
/qemu/net/af-xdp.c
/qemu/net/colo-compare.c
/qemu/net/tap-win32.c
/qemu/net/tap.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/plugins/loader.c
/qemu/qapi/block-core.json
/qemu/qapi/block.json
/qemu/qapi/common.json
/qemu/qapi/control.json
/qemu/qapi/crypto.json
/qemu/qapi/cxl.json
/qemu/qapi/dump.json
/qemu/qapi/ebpf.json
/qemu/qapi/machine-target.json
/qemu/qapi/machine.json
/qemu/qapi/meson.build
/qemu/qapi/migration.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/pragma.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/qom.json
/qemu/qapi/replay.json
/qemu/qapi/run-state.json
/qemu/qapi/sockets.json
/qemu/qapi/stats.json
/qemu/qapi/ui.json
/qemu/qapi/virtio.json
/qemu/qemu-options.hx
/qemu/qga/commands-win32.c
/qemu/qga/qapi-schema.json
/qemu/roms/Makefile
/qemu/roms/edk2-build.config
/qemu/roms/edk2-version
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/gensyscalls.sh
/qemu/scripts/probe-gdb-support.py
/qemu/scripts/tracetool.py
/qemu/stubs/colo.c
/qemu/system/dirtylimit.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/qemu-seccomp.c
/qemu/system/vl.c
/qemu/target/Kconfig
/qemu/target/alpha/cpu.c
/qemu/target/alpha/gdbstub.c
/qemu/target/alpha/helper.c
/qemu/target/alpha/mem_helper.c
/qemu/target/alpha/translate.c
/qemu/target/arm/arm-qmp-cmds.c
/qemu/target/arm/cpu.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/kvm.c
/qemu/target/arm/machine.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/tcg/translate.h
/qemu/target/avr/cpu.c
/qemu/target/avr/gdbstub.c
/qemu/target/avr/helper.c
/qemu/target/avr/translate.c
/qemu/target/cris/cpu.c
/qemu/target/cris/gdbstub.c
/qemu/target/cris/helper.c
/qemu/target/cris/translate.c
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/gdbstub.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-sysemu.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86.c
/qemu/target/i386/hvf/x86.h
/qemu/target/i386/hvf/x86_descr.c
/qemu/target/i386/hvf/x86_descr.h
/qemu/target/i386/hvf/x86_emu.h
/qemu/target/i386/hvf/x86_mmu.c
/qemu/target/i386/hvf/x86_mmu.h
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu-csr.h
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu_helper.c
/qemu/target/loongarch/gdbstub.c
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/loongarch/loongarch-qmp-cmds.c
/qemu/target/loongarch/tcg/insn_trans/trans_atomic.c.inc
/qemu/target/loongarch/tcg/tlb_helper.c
/qemu/target/loongarch/tcg/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/fpu_helper.c
/qemu/target/m68k/gdbstub.c
/qemu/target/m68k/helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/meson.build
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/gdbstub.c
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu.c
/qemu/target/mips/gdbstub.c
/qemu/target/mips/kvm.c
/qemu/target/mips/sysemu/physaddr.c
/qemu/target/mips/tcg/exception.c
/qemu/target/mips/tcg/op_helper.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/mips/tcg/sysemu/tlb_helper.c
/qemu/target/mips/tcg/translate.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/gdbstub.c
/qemu/target/openrisc/interrupt.c
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu-models.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/gdbstub.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/insn32.decode
/qemu/target/ppc/kvm.c
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/mmu-radix64.c
/qemu/target/ppc/ppc-qmp-cmds.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/qemu/target/ppc/user_only_helper.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/insn_trans/trans_rvbf16.c.inc
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvvk.c.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/kvm/kvm_riscv.h
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/riscv/vcrypto_helper.c
/qemu/target/riscv/vector_helper.c
/qemu/target/riscv/vector_internals.c
/qemu/target/riscv/vector_internals.h
/qemu/target/rx/cpu.c
/qemu/target/rx/gdbstub.c
/qemu/target/rx/helper.c
/qemu/target/rx/translate.c
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models_sysemu.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/gdbstub.c
/qemu/target/sh4/helper.c
/qemu/target/sh4/helper.h
/qemu/target/sh4/op_helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/gdbstub.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/int32_helper.c
/qemu/target/sparc/int64_helper.c
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/sparc/translate.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/gdbstub.c
/qemu/target/tricore/helper.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/dbg_helper.c
/qemu/target/xtensa/exc_helper.c
/qemu/target/xtensa/gdbstub.c
/qemu/target/xtensa/helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/optimize.c
/qemu/tcg/tcg.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/qemu/tests/avocado/ppc_hv_tests.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/data/acpi/q35/SSDT.dimmpxm
/qemu/tests/data/smbios/type11_blob
/qemu/tests/data/smbios/type11_blob.legacy
/qemu/tests/docker/Makefile.include
/qemu/tests/qemu-iotests/033
/qemu/tests/qemu-iotests/066
/qemu/tests/qemu-iotests/114
/qemu/tests/qemu-iotests/130
/qemu/tests/qemu-iotests/134
/qemu/tests/qemu-iotests/156
/qemu/tests/qemu-iotests/157
/qemu/tests/qemu-iotests/158
/qemu/tests/qemu-iotests/176.out
/qemu/tests/qemu-iotests/188
/qemu/tests/qemu-iotests/189
/qemu/tests/qemu-iotests/198
/qemu/tests/qemu-iotests/198.out
/qemu/tests/qemu-iotests/206.out
/qemu/tests/qemu-iotests/227
/qemu/tests/qemu-iotests/261
/qemu/tests/qemu-iotests/263
/qemu/tests/qemu-iotests/267.out
/qemu/tests/qemu-iotests/284
/qemu/tests/qemu-iotests/286
/qemu/tests/qemu-iotests/286.out
/qemu/tests/qemu-iotests/tests/detect-zeroes-registered-buf
/qemu/tests/qemu-iotests/tests/iothreads-nbd-export
/qemu/tests/qemu-iotests/tests/iothreads-nbd-export.out
/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots
/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots.out
/qemu/tests/qemu-iotests/tests/qsd-jobs
/qemu/tests/qemu-iotests/tests/stream-unaligned-prefetch
/qemu/tests/qemu-iotests/tests/stream-unaligned-prefetch.out
/qemu/tests/qtest/arm-cpu-features.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/libqos/ahci.c
/qemu/tests/qtest/libqos/ahci.h
/qemu/tests/qtest/libqos/virtio.c
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/machine-none-test.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/qtest/pca9552-test.c
/qemu/tests/qtest/pnv-host-i2c-test.c
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/qtest/virtio-9p-test.c
/qemu/tests/qtest/virtio-iommu-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/test-2150.c
/qemu/tests/tcg/aarch64/test-2248.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/gdbstub/test-qxfer-siginfo-read.py
/qemu/tests/tcg/multiarch/linux/linux-shmat-null.c
/qemu/tests/tcg/multiarch/segfault.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/ts.c
/qemu/tests/tcg/sh4/Makefile.target
/qemu/tests/tcg/sh4/test-macl.c
/qemu/tests/tcg/sh4/test-macw.c
/qemu/tests/unit/meson.build
/qemu/tests/unit/socket-helpers.c
/qemu/tests/unit/test-crypto-cipher.c
/qemu/tests/unit/test-throttle.c
/qemu/tests/unit/test-vmstate.c
/qemu/tests/vm/basevm.py
/qemu/tools/ebpf/rss.bpf.c
/qemu/ui/cocoa.m
/qemu/ui/console-priv.h
/qemu/ui/console-vc-stubs.c
/qemu/ui/console-vc.c
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/dbus-listener.c
/qemu/ui/kbd-state.c
/qemu/ui/meson.build
/qemu/ui/trace-events
/qemu/ui/vnc.c
/qemu/util/qemu-coroutine.c
c15e568420-Mar-2024 Chao Peng <chao.p.peng@linux.intel.com>

kvm: handle KVM_EXIT_MEMORY_FAULT

Upon an KVM_EXIT_MEMORY_FAULT exit, userspace needs to do the memory
conversion on the RAMBlock to turn the memory into desired attribute,
switching between private

kvm: handle KVM_EXIT_MEMORY_FAULT

Upon an KVM_EXIT_MEMORY_FAULT exit, userspace needs to do the memory
conversion on the RAMBlock to turn the memory into desired attribute,
switching between private and shared.

Currently only KVM_MEMORY_EXIT_FLAG_PRIVATE in flags is valid when
KVM_EXIT_MEMORY_FAULT happens.

Note, KVM_EXIT_MEMORY_FAULT makes sense only when the RAMBlock has
guest_memfd memory backend.

Note, KVM_EXIT_MEMORY_FAULT returns with -EFAULT, so special handling is
added.

When page is converted from shared to private, the original shared
memory can be discarded via ram_block_discard_range(). Note, shared
memory can be discarded only when it's not back'ed by hugetlb because
hugetlb is supposed to be pre-allocated and no need for discarding.

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Co-developed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>

Message-ID: <20240320083945.991426-13-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

37662d8520-Mar-2024 Xiaoyao Li <xiaoyao.li@intel.com>

HostMem: Add mechanism to opt in kvm guest memfd via MachineState

Add a new member "guest_memfd" to memory backends. When it's set
to true, it enables RAM_GUEST_MEMFD in ram_flags, thus private kvm

HostMem: Add mechanism to opt in kvm guest memfd via MachineState

Add a new member "guest_memfd" to memory backends. When it's set
to true, it enables RAM_GUEST_MEMFD in ram_flags, thus private kvm
guest_memfd will be allocated during RAMBlock allocation.

Memory backend's @guest_memfd is wired with @require_guest_memfd
field of MachineState. It avoid looking up the machine in phymem.c.

MachineState::require_guest_memfd is supposed to be set by any VMs
that requires KVM guest memfd as private memory, e.g., TDX VM.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240320083945.991426-8-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

ce5a983220-Mar-2024 Chao Peng <chao.p.peng@linux.intel.com>

kvm: Enable KVM_SET_USER_MEMORY_REGION2 for memslot

Switch to KVM_SET_USER_MEMORY_REGION2 when supported by KVM.

With KVM_SET_USER_MEMORY_REGION2, QEMU can set up memory region that
backend'ed both

kvm: Enable KVM_SET_USER_MEMORY_REGION2 for memslot

Switch to KVM_SET_USER_MEMORY_REGION2 when supported by KVM.

With KVM_SET_USER_MEMORY_REGION2, QEMU can set up memory region that
backend'ed both by hva-based shared memory and guest memfd based private
memory.

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Co-developed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-ID: <20240320083945.991426-10-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

15f7a80c20-Mar-2024 Xiaoyao Li <xiaoyao.li@intel.com>

RAMBlock: Add support of KVM private guest memfd

Add KVM guest_memfd support to RAMBlock so both normal hva based memory
and kvm guest memfd based private memory can be associated in one RAMBlock.

RAMBlock: Add support of KVM private guest memfd

Add KVM guest_memfd support to RAMBlock so both normal hva based memory
and kvm guest memfd based private memory can be associated in one RAMBlock.

Introduce new flag RAM_GUEST_MEMFD. When it's set, it calls KVM ioctl to
create private guest_memfd during RAMBlock setup.

Allocating a new RAM_GUEST_MEMFD flag to instruct the setup of guest memfd
is more flexible and extensible than simply relying on the VM type because
in the future we may have the case that not all the memory of a VM need
guest memfd. As a benefit, it also avoid getting MachineState in memory
subsystem.

Note, RAM_GUEST_MEMFD is supposed to be set for memory backends of
confidential guests, such as TDX VM. How and when to set it for memory
backends will be implemented in the following patches.

Introduce memory_region_has_guest_memfd() to query if the MemoryRegion has
KVM guest_memfd allocated.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240320083945.991426-7-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

0811baed20-Mar-2024 Xiaoyao Li <xiaoyao.li@intel.com>

kvm: Introduce support for memory_attributes

Introduce the helper functions to set the attributes of a range of
memory to private or shared.

This is necessary to notify KVM the private/shared attri

kvm: Introduce support for memory_attributes

Introduce the helper functions to set the attributes of a range of
memory to private or shared.

This is necessary to notify KVM the private/shared attribute of each gpa
range. KVM needs the information to decide the GPA needs to be mapped at
hva-based shared memory or guest_memfd based private memory.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-ID: <20240320083945.991426-11-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

a99c0c6618-Mar-2024 Paolo Bonzini <pbonzini@redhat.com>

KVM: remove kvm_arch_cpu_check_are_resettable

Board reset requires writing a fresh CPU state. As far as KVM is
concerned, the only thing that blocks reset is that CPU state is
encrypted; therefore,

KVM: remove kvm_arch_cpu_check_are_resettable

Board reset requires writing a fresh CPU state. As far as KVM is
concerned, the only thing that blocks reset is that CPU state is
encrypted; therefore, kvm_cpus_are_resettable() can simply check
if that is the case.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

5c3131c318-Mar-2024 Paolo Bonzini <pbonzini@redhat.com>

KVM: track whether guest state is encrypted

So far, KVM has allowed KVM_GET/SET_* ioctls to execute even if the
guest state is encrypted, in which case they do nothing. For the new
API using VM typ

KVM: track whether guest state is encrypted

So far, KVM has allowed KVM_GET/SET_* ioctls to execute even if the
guest state is encrypted, in which case they do nothing. For the new
API using VM types, instead, the ioctls will fail which is a safer and
more robust approach.

The new API will be the only one available for SEV-SNP and TDX, but it
is also usable for SEV and SEV-ES. In preparation for that, require
architecture-specific KVM code to communicate the point at which guest
state is protected (which must be after kvm_cpu_synchronize_post_init(),
though that might change in the future in order to suppor migration).
From that point, skip reading registers so that cpu->vcpu_dirty is
never true: if it ever becomes true, kvm_arch_put_registers() will
fail miserably.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/qemu/accel/kvm/kvm-all.c
/qemu/hw/arm/virt.c
/qemu/hw/core/machine.c
/qemu/hw/i386/acpi-common.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/m68k/virt.c
/qemu/hw/pci-host/q35.c
/qemu/hw/ppc/pef.c
/qemu/hw/ppc/spapr.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/include/exec/confidential-guest-support.h
/qemu/include/hw/boards.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/pci-host/q35.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/asm-x86/kvm_para.h
/qemu/include/standard-headers/asm-x86/setup_data.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/fuse.h
/qemu/include/standard-headers/linux/input-event-codes.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_snd.h
kvm.h
kvm_int.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-arm64/sve_context.h
/qemu/linux-headers/asm-generic/bitsperlong.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-headers/asm-mips/kvm.h
/qemu/linux-headers/asm-powerpc/kvm.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/linux/bits.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/vhost.h
/qemu/scripts/update-linux-headers.sh
/qemu/system/runstate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm-cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/meson.build
/qemu/target/i386/sev.c
/qemu/target/i386/sev.h
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
1e1e487922-Mar-2024 Paolo Bonzini <pbonzini@redhat.com>

kvm: use configs/ definition to conditionalize debug support

If an architecture adds support for KVM_CAP_SET_GUEST_DEBUG but QEMU does not
have the necessary code, QEMU will fail to build after upda

kvm: use configs/ definition to conditionalize debug support

If an architecture adds support for KVM_CAP_SET_GUEST_DEBUG but QEMU does not
have the necessary code, QEMU will fail to build after updating kernel headers.
Avoid this by using a #define in config-target.h instead of KVM_CAP_SET_GUEST_DEBUG.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

d4d0ebb708-Apr-2024 Paolo Bonzini <pbonzini@redhat.com>

stubs: remove obsolete stubs

These file define functions are are not called from common code
anymore. Delete those functions and, if applicable, the entire files.

Signed-off-by: Paolo Bonzini <pbo

stubs: remove obsolete stubs

These file define functions are are not called from common code
anymore. Delete those functions and, if applicable, the entire files.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240408155330.522792-10-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/buildtest-template.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/backends/cryptodev-builtin.c
/qemu/backends/iommufd.c
/qemu/block.c
/qemu/block/block-backend.c
/qemu/block/copy-before-write.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/nbd.c
/qemu/block/nvme.c
/qemu/block/qapi.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/snapshot.c
/qemu/block/vdi.c
/qemu/block/vmdk.c
/qemu/blockdev.c
/qemu/bsd-user/main.c
/qemu/bsd-user/signal.c
/qemu/chardev/char-io.c
/qemu/chardev/char-socket.c
/qemu/contrib/elf2dmp/addrspace.c
/qemu/contrib/elf2dmp/addrspace.h
/qemu/contrib/elf2dmp/download.c
/qemu/contrib/elf2dmp/download.h
/qemu/contrib/elf2dmp/main.c
/qemu/contrib/elf2dmp/pdb.c
/qemu/contrib/elf2dmp/pdb.h
/qemu/contrib/elf2dmp/qemu_elf.c
/qemu/contrib/elf2dmp/qemu_elf.h
/qemu/contrib/plugins/execlog.c
/qemu/contrib/plugins/howvec.c
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/disas/disas-mon.c
/qemu/disas/disas.c
/qemu/disas/nanomips.c
/qemu/docs/about/deprecated.rst
/qemu/docs/conf.py
/qemu/docs/devel/atomics.rst
/qemu/docs/devel/ci-jobs.rst.inc
/qemu/docs/devel/clocks.rst
/qemu/docs/devel/migration/CPR.rst
/qemu/docs/devel/migration/features.rst
/qemu/docs/devel/migration/main.rst
/qemu/docs/devel/nested-papr.txt
/qemu/docs/devel/tracing.rst
/qemu/docs/specs/pvpanic.rst
/qemu/docs/system/arm/sbsa.rst
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/devices/nvme.rst
/qemu/docs/system/i386/sgx.rst
/qemu/docs/system/introduction.rst
/qemu/docs/system/ppc/amigang.rst
/qemu/docs/system/s390x/cpu-topology.rst
/qemu/docs/system/target-ppc.rst
/qemu/ebpf/ebpf.c
/qemu/ebpf/ebpf.h
/qemu/ebpf/ebpf_rss-stub.c
/qemu/ebpf/ebpf_rss.c
/qemu/ebpf/ebpf_rss.h
/qemu/ebpf/meson.build
/qemu/ebpf/rss.bpf.skeleton.h
/qemu/fpu/softfloat-specialize.c.inc
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/system.c
/qemu/gdbstub/user.c
/qemu/hmp-commands.hx
/qemu/hw/acpi/hmat.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/palm.c
/qemu/hw/arm/raspi4b.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/tosa.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/arm/z2.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/nand.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/core/clock.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/loader-fit.c
/qemu/hw/core/machine-qmp-cmds.c
/qemu/hw/core/machine.c
/qemu/hw/core/meson.build
/qemu/hw/core/numa.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/display/ati.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/gpio/Kconfig
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/pca9552.c
/qemu/hw/gpio/pca9554.c
/qemu/hw/gpio/pcf8574.c
/qemu/hw/gpio/trace-events
/qemu/hw/i386/Kconfig
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/fw_cfg.c
/qemu/hw/i386/fw_cfg.h
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/ahci-internal.h
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ich.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/virt.c
/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/qemu/hw/misc/applesmc.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/misc/macio/pmu.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/pvpanic-pci.c
/qemu/hw/misc/stm32l4x5_rcc.c
/qemu/hw/misc/trace-events
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/e1000e_core.h
/qemu/hw/net/igb_core.c
/qemu/hw/net/igb_core.h
/qemu/hw/net/lan9118.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/vhost_net.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvme/meson.build
/qemu/hw/nvme/nguid.c
/qemu/hw/nvme/ns.c
/qemu/hw/nvme/nvme.h
/qemu/hw/nvram/mac_nvram.c
/qemu/hw/pci-bridge/cxl_root_port.c
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/pci/pcie.c
/qemu/hw/pci/shpc.c
/qemu/hw/pci/trace-events
/qemu/hw/ppc/mpc8544_guts.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/pnv_xscom.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/ppce500_spin.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_nested.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/vhost-scsi.c
/qemu/hw/sd/sdhci.c
/qemu/hw/smbios/Kconfig
/qemu/hw/smbios/meson.build
/qemu/hw/smbios/smbios.c
/qemu/hw/smbios/smbios_legacy.c
/qemu/hw/smbios/smbios_legacy_stub.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/cpr.c
/qemu/hw/vfio/helpers.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/platform.c
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/vhost-user-scmi.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/vhost-vsock.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-iommu.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xen/xen-mapcache.c
/qemu/hw/xen/xen_pt.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/include/exec/exec-all.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/translator.h
/qemu/include/gdbstub/user.h
/qemu/include/hw/audio/virtio-snd.h
/qemu/include/hw/block/flash.h
/qemu/include/hw/boards.h
/qemu/include/hw/clock.h
/qemu/include/hw/cxl/cxl_pci.h
/qemu/include/hw/firmware/smbios.h
/qemu/include/hw/gpio/pca9552.h
/qemu/include/hw/gpio/pca9552_regs.h
/qemu/include/hw/gpio/pca9554.h
/qemu/include/hw/gpio/pca9554_regs.h
/qemu/include/hw/gpio/pcf8574.h
/qemu/include/hw/ppc/pnv_chip.h
/qemu/include/hw/ppc/pnv_core.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_nested.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/vfio/vfio-container-base.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/virtio/virtio-iommu.h
/qemu/include/hw/virtio/virtio-net.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/io/channel-file.h
/qemu/include/migration/client-options.h
/qemu/include/migration/misc.h
/qemu/include/migration/register.h
/qemu/include/net/vhost_net.h
/qemu/include/qapi/error.h
/qemu/include/qemu/config-file.h
/qemu/include/qemu/help-texts.h
/qemu/include/qemu/job.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/linux/virtio_pci.h
sysemu.h
/qemu/include/tcg/tcg.h
/qemu/include/ui/console.h
/qemu/include/ui/kbd-state.h
/qemu/io/channel-file.c
/qemu/linux-user/aarch64/signal.c
/qemu/linux-user/alpha/signal.c
/qemu/linux-user/arm/signal.c
/qemu/linux-user/elfload.c
/qemu/linux-user/hexagon/signal.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/i386/cpu_loop.c
/qemu/linux-user/i386/signal.c
/qemu/linux-user/ioctls.h
/qemu/linux-user/loongarch64/signal.c
/qemu/linux-user/m68k/signal.c
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/signal.c
/qemu/linux-user/mips/signal.c
/qemu/linux-user/mmap.c
/qemu/linux-user/nios2/signal.c
/qemu/linux-user/openrisc/signal.c
/qemu/linux-user/ppc/signal.c
/qemu/linux-user/riscv/signal.c
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/signal.c
/qemu/linux-user/strace.c
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/xtensa/signal.c
/qemu/meson.build
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/fd.c
/qemu/migration/fd.h
/qemu/migration/file.c
/qemu/migration/file.h
/qemu/migration/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd-zero-page.c
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/qemu/migration/options.c
/qemu/migration/options.h
/qemu/migration/postcopy-ram.c
/qemu/migration/qemu-file.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/trace-events
/qemu/monitor/hmp-cmds-target.c
/qemu/monitor/meson.build
/qemu/monitor/qemu-config-qmp.c
/qemu/nbd/server.c
/qemu/net/af-xdp.c
/qemu/net/colo-compare.c
/qemu/net/tap-win32.c
/qemu/net/tap.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/plugins/loader.c
/qemu/qapi/block-core.json
/qemu/qapi/block.json
/qemu/qapi/common.json
/qemu/qapi/control.json
/qemu/qapi/crypto.json
/qemu/qapi/cxl.json
/qemu/qapi/dump.json
/qemu/qapi/ebpf.json
/qemu/qapi/machine-target.json
/qemu/qapi/machine.json
/qemu/qapi/meson.build
/qemu/qapi/migration.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/pragma.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/qom.json
/qemu/qapi/replay.json
/qemu/qapi/run-state.json
/qemu/qapi/sockets.json
/qemu/qapi/stats.json
/qemu/qapi/ui.json
/qemu/qapi/virtio.json
/qemu/qemu-options.hx
/qemu/qga/commands-win32.c
/qemu/qga/qapi-schema.json
/qemu/roms/Makefile
/qemu/roms/edk2-build.config
/qemu/roms/edk2-version
/qemu/scripts/tracetool.py
/qemu/stubs/colo.c
/qemu/stubs/hotplug-stubs.c
/qemu/stubs/meson.build
/qemu/stubs/monitor-core.c
/qemu/stubs/qdev.c
/qemu/stubs/qtest.c
/qemu/stubs/usb-dev-stub.c
/qemu/system/dirtylimit.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/qemu-seccomp.c
/qemu/system/vl.c
/qemu/target/alpha/cpu.c
/qemu/target/alpha/gdbstub.c
/qemu/target/alpha/helper.c
/qemu/target/alpha/mem_helper.c
/qemu/target/alpha/translate.c
/qemu/target/arm/arm-qmp-cmds.c
/qemu/target/arm/cpu.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/kvm.c
/qemu/target/arm/machine.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/tcg/translate.h
/qemu/target/avr/cpu.c
/qemu/target/avr/gdbstub.c
/qemu/target/avr/helper.c
/qemu/target/avr/translate.c
/qemu/target/cris/cpu.c
/qemu/target/cris/gdbstub.c
/qemu/target/cris/helper.c
/qemu/target/cris/translate.c
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/gdbstub.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-sysemu.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86.c
/qemu/target/i386/hvf/x86.h
/qemu/target/i386/hvf/x86_descr.c
/qemu/target/i386/hvf/x86_descr.h
/qemu/target/i386/hvf/x86_emu.h
/qemu/target/i386/hvf/x86_mmu.c
/qemu/target/i386/hvf/x86_mmu.h
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu-csr.h
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu_helper.c
/qemu/target/loongarch/gdbstub.c
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/loongarch/loongarch-qmp-cmds.c
/qemu/target/loongarch/tcg/insn_trans/trans_atomic.c.inc
/qemu/target/loongarch/tcg/tlb_helper.c
/qemu/target/loongarch/tcg/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/fpu_helper.c
/qemu/target/m68k/gdbstub.c
/qemu/target/m68k/helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/gdbstub.c
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu.c
/qemu/target/mips/gdbstub.c
/qemu/target/mips/kvm.c
/qemu/target/mips/sysemu/physaddr.c
/qemu/target/mips/tcg/exception.c
/qemu/target/mips/tcg/op_helper.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/mips/tcg/sysemu/tlb_helper.c
/qemu/target/mips/tcg/translate.c
/qemu/target/nios2/cpu.c
/qemu/target/nios2/helper.c
/qemu/target/nios2/nios2-semi.c
/qemu/target/nios2/translate.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/gdbstub.c
/qemu/target/openrisc/interrupt.c
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu-models.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/gdbstub.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/insn32.decode
/qemu/target/ppc/kvm.c
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/mmu-radix64.c
/qemu/target/ppc/ppc-qmp-cmds.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/qemu/target/ppc/user_only_helper.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/insn_trans/trans_rvbf16.c.inc
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvvk.c.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/kvm/kvm_riscv.h
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/riscv/vcrypto_helper.c
/qemu/target/riscv/vector_helper.c
/qemu/target/riscv/vector_internals.c
/qemu/target/riscv/vector_internals.h
/qemu/target/rx/cpu.c
/qemu/target/rx/gdbstub.c
/qemu/target/rx/helper.c
/qemu/target/rx/translate.c
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models_sysemu.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/gdbstub.c
/qemu/target/sh4/helper.c
/qemu/target/sh4/helper.h
/qemu/target/sh4/op_helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/gdbstub.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/int32_helper.c
/qemu/target/sparc/int64_helper.c
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/sparc/translate.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/gdbstub.c
/qemu/target/tricore/helper.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/dbg_helper.c
/qemu/target/xtensa/exc_helper.c
/qemu/target/xtensa/gdbstub.c
/qemu/target/xtensa/helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/optimize.c
/qemu/tcg/tcg.c
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/qemu/tests/avocado/ppc_hv_tests.py
/qemu/tests/data/acpi/q35/SSDT.dimmpxm
/qemu/tests/data/smbios/type11_blob
/qemu/tests/data/smbios/type11_blob.legacy
/qemu/tests/meson.build
/qemu/tests/qemu-iotests/033
/qemu/tests/qemu-iotests/066
/qemu/tests/qemu-iotests/114
/qemu/tests/qemu-iotests/130
/qemu/tests/qemu-iotests/134
/qemu/tests/qemu-iotests/156
/qemu/tests/qemu-iotests/157
/qemu/tests/qemu-iotests/158
/qemu/tests/qemu-iotests/176.out
/qemu/tests/qemu-iotests/188
/qemu/tests/qemu-iotests/189
/qemu/tests/qemu-iotests/198
/qemu/tests/qemu-iotests/198.out
/qemu/tests/qemu-iotests/206.out
/qemu/tests/qemu-iotests/227
/qemu/tests/qemu-iotests/261
/qemu/tests/qemu-iotests/263
/qemu/tests/qemu-iotests/267.out
/qemu/tests/qemu-iotests/284
/qemu/tests/qemu-iotests/286
/qemu/tests/qemu-iotests/286.out
/qemu/tests/qemu-iotests/tests/detect-zeroes-registered-buf
/qemu/tests/qemu-iotests/tests/iothreads-nbd-export
/qemu/tests/qemu-iotests/tests/iothreads-nbd-export.out
/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots
/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots.out
/qemu/tests/qemu-iotests/tests/qsd-jobs
/qemu/tests/qemu-iotests/tests/stream-unaligned-prefetch
/qemu/tests/qemu-iotests/tests/stream-unaligned-prefetch.out
/qemu/tests/qtest/arm-cpu-features.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/libqos/ahci.c
/qemu/tests/qtest/libqos/ahci.h
/qemu/tests/qtest/libqos/virtio.c
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/qtest/pca9552-test.c
/qemu/tests/qtest/pnv-host-i2c-test.c
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/qtest/virtio-9p-test.c
/qemu/tests/qtest/virtio-iommu-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/test-2150.c
/qemu/tests/tcg/aarch64/test-2248.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/gdbstub/test-qxfer-siginfo-read.py
/qemu/tests/tcg/multiarch/linux/linux-shmat-null.c
/qemu/tests/tcg/multiarch/segfault.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/ts.c
/qemu/tests/tcg/sh4/Makefile.target
/qemu/tests/tcg/sh4/test-macl.c
/qemu/tests/tcg/sh4/test-macw.c
/qemu/tests/unit/meson.build
/qemu/tests/unit/socket-helpers.c
/qemu/tests/unit/test-crypto-cipher.c
/qemu/tests/unit/test-throttle.c
/qemu/tests/unit/test-vmstate.c
/qemu/tests/vm/basevm.py
/qemu/tools/ebpf/rss.bpf.c
/qemu/ui/cocoa.m
/qemu/ui/console-priv.h
/qemu/ui/console-vc-stubs.c
/qemu/ui/console-vc.c
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/dbus-listener.c
/qemu/ui/kbd-state.c
/qemu/ui/meson.build
/qemu/ui/trace-events
/qemu/ui/vnc.c
/qemu/util/meson.build
/qemu/util/qemu-config.c
/qemu/util/qemu-coroutine.c
0a5b5acd08-Mar-2024 Ankit Agrawal <ankita@nvidia.com>

hw/acpi: Implement the SRAT GI affinity structure

ACPI spec provides a scheme to associate "Generic Initiators" [1]
(e.g. heterogeneous processors and accelerators, GPUs, and I/O devices with
integr

hw/acpi: Implement the SRAT GI affinity structure

ACPI spec provides a scheme to associate "Generic Initiators" [1]
(e.g. heterogeneous processors and accelerators, GPUs, and I/O devices with
integrated compute or DMA engines GPUs) with Proximity Domains. This is
achieved using Generic Initiator Affinity Structure in SRAT. During bootup,
Linux kernel parse the ACPI SRAT to determine the PXM ids and create a NUMA
node for each unique PXM ID encountered. Qemu currently do not implement
these structures while building SRAT.

Add GI structures while building VM ACPI SRAT. The association between
device and node are stored using acpi-generic-initiator object. Lookup
presence of all such objects and use them to build these structures.

The structure needs a PCI device handle [2] that consists of the device BDF.
The vfio-pci device corresponding to the acpi-generic-initiator object is
located to determine the BDF.

[1] ACPI Spec 6.3, Section 5.2.16.6
[2] ACPI Spec 6.3, Table 5.80

Cc: Jonathan Cameron <qemu-devel@nongnu.org>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Cedric Le Goater <clg@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Ankit Agrawal <ankita@nvidia.com>
Message-Id: <20240308145525.10886-3-ankita@nvidia.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/opensbi.yml
/qemu/MAINTAINERS
/qemu/accel/xen/xen-all.c
/qemu/blockdev.c
/qemu/chardev/char-fe.c
/qemu/configs/devices/mips-softmmu/common.mak
/qemu/configs/devices/mips64el-softmmu/default.mak
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/acpi-bits.rst
/qemu/docs/interop/firmware.json
/qemu/docs/interop/vhost-user.rst
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/devices/vdpa-net.rst
/qemu/hmp-commands-info.hx
/qemu/hw/acpi/acpi_generic_initiator.c
/qemu/hw/acpi/hmat.c
/qemu/hw/acpi/meson.build
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/xen_arm.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/machine-smp.c
/qemu/hw/core/numa.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cxl/cxl-cdat.c
/qemu/hw/cxl/cxl-component-utils.c
/qemu/hw/cxl/cxl-host.c
/qemu/hw/display/Kconfig
/qemu/hw/display/macfb.c
/qemu/hw/hyperv/hv-balloon.c
/qemu/hw/hyperv/hyperv.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/i386/xen/meson.build
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/intc/apic.c
/qemu/hw/intc/grlib_irqmp.c
/qemu/hw/intc/ioapic_common.c
/qemu/hw/m68k/mcf5208.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/mips/Kconfig
/qemu/hw/misc/xlnx-versal-trng.c
/qemu/hw/net/igb.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/xen_nic.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci/msi.c
/qemu/hw/pci/pci.c
/qemu/hw/pci/pcie.c
/qemu/hw/pci/pcie_sriov.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/remote/remote-obj.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/trace-events
/qemu/hw/smbios/smbios.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xen/xen-hvm-common.c
/qemu/hw/xen/xen_pt.c
/qemu/hw/xen/xen_pt.h
/qemu/hw/xen/xen_pt_config_init.c
/qemu/hw/xen/xen_pt_graphics.c
/qemu/hw/xen/xen_pt_stub.c
/qemu/include/hw/acpi/acpi_generic_initiator.h
/qemu/include/hw/audio/virtio-snd.h
/qemu/include/hw/cxl/cxl_cdat.h
/qemu/include/hw/cxl/cxl_component.h
/qemu/include/hw/firmware/smbios.h
/qemu/include/hw/hyperv/dynmem-proto.h
/qemu/include/hw/hyperv/hyperv.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/pci/pcie_regs.h
/qemu/include/hw/pci/pcie_sriov.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/virtio/vhost-vdpa.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/hw/xen/xen-hvm-common.h
/qemu/include/hw/xen/xen_igd.h
/qemu/include/qapi/qmp/qerror.h
/qemu/include/standard-headers/linux/virtio_pci.h
numa.h
/qemu/meson.build
/qemu/net/trace-events
/qemu/net/vhost-vdpa.c
/qemu/qapi/common.json
/qemu/qapi/qom.json
/qemu/qapi/virtio.json
/qemu/qemu-options.hx
/qemu/replay/replay.c
/qemu/scripts/coverity-scan/run-coverity-scan
/qemu/scripts/make-release
/qemu/stubs/xen-hw-stub.c
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/subprojects/libvhost-user/libvhost-user.h
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/vl.c
/qemu/target/i386/kvm/hyperv-stub.c
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/hyperv.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/sev.c
/qemu/tests/unit/test-smp-parse.c
/qemu/util/oslib-posix.c
3e5e5d4713-Nov-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

sysemu/xen-mapcache: Check Xen availability with CONFIG_XEN_IS_POSSIBLE

"sysemu/xen.h" defines CONFIG_XEN_IS_POSSIBLE as a target-agnostic
version of CONFIG_XEN accelerator.
Use it in order to use "

sysemu/xen-mapcache: Check Xen availability with CONFIG_XEN_IS_POSSIBLE

"sysemu/xen.h" defines CONFIG_XEN_IS_POSSIBLE as a target-agnostic
version of CONFIG_XEN accelerator.
Use it in order to use "sysemu/xen-mapcache.h" in target-agnostic files.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20231114143816.71079-4-philmd@linaro.org>

show more ...

261bbc3b10-Nov-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

sysemu/xen: Forbid using Xen headers in user emulation

Xen is a system specific accelerator, it makes no sense
to include its headers in user emulation.

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

sysemu/xen: Forbid using Xen headers in user emulation

Xen is a system specific accelerator, it makes no sense
to include its headers in user emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20231114143816.71079-3-philmd@linaro.org>

show more ...


/qemu/.gitlab-ci.d/cirrus.yml
/qemu/MAINTAINERS
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/plugin-helpers.h
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/user-exec.c
/qemu/bsd-user/bsd-file.h
/qemu/bsd-user/freebsd/os-proc.h
/qemu/bsd-user/main.c
/qemu/bsd-user/qemu.h
/qemu/bsd-user/signal.c
/qemu/chardev/char-socket.c
/qemu/contrib/plugins/cache.c
/qemu/contrib/plugins/execlog.c
/qemu/contrib/plugins/hotblocks.c
/qemu/contrib/plugins/howvec.c
/qemu/cpu-target.c
/qemu/disas/disas.c
/qemu/disas/hppa.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/conf.py
/qemu/docs/devel/migration/features.rst
/qemu/docs/devel/migration/main.rst
/qemu/docs/devel/migration/mapped-ram.rst
/qemu/docs/devel/multi-thread-tcg.rst
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/tcg-plugins.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/arm/raspi.rst
/qemu/docs/user/main.rst
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/user-target.c
/qemu/gdbstub/user.c
/qemu/hw/acpi/aml-build.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/b-l475e-iot01a.c
/qemu/hw/arm/bcm2835_peripherals.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/char/pl011.c
/qemu/hw/core/cpu-common.c
/qemu/hw/gpio/Kconfig
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/stm32l4x5_gpio.c
/qemu/hw/gpio/trace-events
/qemu/hw/i2c/Kconfig
/qemu/hw/i2c/bcm2835_i2c.c
/qemu/hw/i2c/meson.build
/qemu/hw/i386/meson.build
/qemu/hw/i386/vapic.c
/qemu/hw/intc/Kconfig
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/loongarch/virt.c
/qemu/hw/misc/Kconfig
/qemu/hw/misc/meson.build
/qemu/hw/misc/stm32l4x5_rcc.c
/qemu/hw/misc/stm32l4x5_syscfg.c
/qemu/hw/misc/trace-events
/qemu/hw/net/virtio-net.c
/qemu/hw/riscv/boot.c
/qemu/hw/riscv/virt-acpi-build.c
/qemu/hw/riscv/virt.c
/qemu/hw/rtc/sun4v-rtc.c
/qemu/hw/tpm/tpm_ppi.c
/qemu/hw/usb/bus.c
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/include/disas/dis-asm.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/gdbstub.h
/qemu/include/exec/memattrs.h
/qemu/include/exec/ramblock.h
/qemu/include/gdbstub/user.h
/qemu/include/hw/acpi/acpi-defs.h
/qemu/include/hw/acpi/aml-build.h
/qemu/include/hw/arm/bcm2835_peripherals.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/gpio/stm32l4x5_gpio.h
/qemu/include/hw/i2c/bcm2835_i2c.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/misc/stm32l4x5_rcc.h
/qemu/include/hw/misc/stm32l4x5_rcc_internals.h
/qemu/include/hw/misc/stm32l4x5_syscfg.h
/qemu/include/hw/rtc/sun4v-rtc.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/virtio/virtio-net.h
/qemu/include/io/channel.h
/qemu/include/migration/misc.h
/qemu/include/migration/qemu-file-types.h
/qemu/include/qapi/type-helpers.h
/qemu/include/qapi/util.h
/qemu/include/qemu/atomic.h
/qemu/include/qemu/bitops.h
/qemu/include/qemu/notify.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/qemu-plugin.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_pmem.h
xen.h
/qemu/include/user/safe-syscall.h
/qemu/io/channel-file.c
/qemu/io/channel.c
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-mips/mman.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/iommufd.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-user/aarch64/cpu_loop.c
/qemu/linux-user/arm/cpu_loop.c
/qemu/linux-user/arm/signal.c
/qemu/linux-user/cris/cpu_loop.c
/qemu/linux-user/elfload.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/linuxload.c
/qemu/linux-user/loongarch64/target_syscall.h
/qemu/linux-user/m68k/cpu_loop.c
/qemu/linux-user/m68k/target_cpu.h
/qemu/linux-user/main.c
/qemu/linux-user/mips/cpu_loop.c
/qemu/linux-user/mmap.c
/qemu/linux-user/nios2/cpu_loop.c
/qemu/linux-user/ppc/signal.c
/qemu/linux-user/qemu.h
/qemu/linux-user/riscv/cpu_loop.c
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/user-internals.h
/qemu/linux-user/vm86.c
/qemu/linux-user/xtensa/signal.c
/qemu/meson.build
/qemu/migration/exec.c
/qemu/migration/fd.c
/qemu/migration/fd.h
/qemu/migration/file.c
/qemu/migration/file.h
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/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/savevm.c
/qemu/migration/socket.c
/qemu/migration/socket.h
/qemu/migration/trace-events
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/README
/qemu/pc-bios/meson.build
/qemu/plugins/api.c
/qemu/plugins/core.c
/qemu/plugins/plugin.h
/qemu/plugins/qemu-plugins.symbols
/qemu/qapi/block-core.json
/qemu/qapi/block-export.json
/qemu/qapi/block.json
/qemu/qapi/char.json
/qemu/qapi/dump.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-type-helpers.c
/qemu/qapi/qdev.json
/qemu/qapi/qom.json
/qemu/qapi/run-state.json
/qemu/qapi/tpm.json
/qemu/qapi/transaction.json
/qemu/qapi/ui.json
/qemu/qapi/yank.json
/qemu/qemu-options.hx
/qemu/qga/qapi-schema.json
/qemu/roms/Makefile
/qemu/scripts/feature_to_c.py
/qemu/scripts/qapi/parser.py
/qemu/semihosting/arm-compat-semi.c
/qemu/system/physmem.c
/qemu/system/vl.c
/qemu/target/alpha/cpu-param.h
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/gdbstub64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/meson.build
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/cpu-v7m.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/meson.build
/qemu/target/arm/tcg/sme_helper.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/trace-events
/qemu/target/avr/cpu.c
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/gdbstub.c
/qemu/target/hexagon/internal.h
/qemu/target/hppa/cpu.c
/qemu/target/hppa/helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/i386/cpu.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/disas.c
/qemu/target/loongarch/gdbstub.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/helper.c
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/gdbstub.c
/qemu/target/ppc/cpu-param.h
/qemu/target/ppc/cpu-qom.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/gdbstub.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/insn_trans/trans_rva.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/kvm/kvm-cpu.c
/qemu/target/riscv/machine.c
/qemu/target/riscv/pmu.h
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/gdbstub.c
/qemu/target/sparc/mmu_helper.c
/qemu/tcg/aarch64/tcg-target.h
/qemu/tcg/optimize.c
/qemu/tests/plugin/bb.c
/qemu/tests/plugin/inline.c
/qemu/tests/plugin/insn.c
/qemu/tests/plugin/mem.c
/qemu/tests/plugin/meson.build
/qemu/tests/qapi-schema/doc-good.json
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qapi-schema/doc-good.txt
/qemu/tests/qapi-schema/doc-invalid-return.err
/qemu/tests/qapi-schema/doc-invalid-return2.err
/qemu/tests/qapi-schema/doc-invalid-return2.json
/qemu/tests/qapi-schema/doc-invalid-return2.out
/qemu/tests/qapi-schema/meson.build
/qemu/tests/qtest/bcm2835-i2c-test.c
/qemu/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/qgraph.h
/qemu/tests/qtest/libqos/riscv-virt-machine.c
/qemu/tests/qtest/libqos/virtio.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/qtest/stm32l4x5_rcc-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/semicall.h
/qemu/tests/tcg/aarch64/sme-smopa-1.c
/qemu/tests/tcg/aarch64/sme-smopa-2.c
/qemu/tests/tcg/alpha/Makefile.target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/arm/semicall.h
/qemu/tests/tcg/hppa/Makefile.target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/system/boot.S
/qemu/tests/tcg/m68k/Makefile.target
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/arm-compat-semi/semiconsole.c
/qemu/tests/tcg/multiarch/arm-compat-semi/semihosting.c
/qemu/tests/tcg/multiarch/float_convd.c
/qemu/tests/tcg/multiarch/float_convs.c
/qemu/tests/tcg/multiarch/float_helpers.h
/qemu/tests/tcg/multiarch/float_madds.c
/qemu/tests/tcg/multiarch/follow-fork-mode.c
/qemu/tests/tcg/multiarch/gdbstub/follow-fork-mode-child.py
/qemu/tests/tcg/multiarch/gdbstub/follow-fork-mode-parent.py
/qemu/tests/tcg/multiarch/libs/float_helpers.c
/qemu/tests/tcg/multiarch/linux/linux-madvise.c
/qemu/tests/tcg/multiarch/linux/linux-shmat-maps.c
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/tcg/riscv64/semicall.h
/qemu/tests/tcg/sh4/Makefile.target
/qemu/tests/tcg/x86_64/system/boot.S
/qemu/tests/unit/test-util-sockets.c
/qemu/tests/vm/Makefile.include
/qemu/tests/vm/basevm.py
/qemu/tests/vm/openbsd
/qemu/ui/cocoa.m
/qemu/ui/spice-core.c
/qemu/util/notify.c
d13f403520-Feb-2024 Paolo Bonzini <pbonzini@redhat.com>

ide, vl: turn -win2k-hack into a property on IDE devices

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

71b3ea3720-Feb-2024 Peter Maydell <peter.maydell@linaro.org>

hw/core/reset: Implement qemu_register_reset via qemu_register_resettable

Reimplement qemu_register_reset() via qemu_register_resettable().

We define a new LegacyReset object which implements Reset

hw/core/reset: Implement qemu_register_reset via qemu_register_resettable

Reimplement qemu_register_reset() via qemu_register_resettable().

We define a new LegacyReset object which implements Resettable and
defines its reset hold phase method to call a QEMUResetHandler
function. When qemu_register_reset() is called, we create a new
LegacyReset object and add it to the simulation_reset
ResettableContainer. When qemu_unregister_reset() is called, we find
the LegacyReset object in the container and remove it.

This implementation of qemu_unregister_reset() means we'll end up
scanning the ResetContainer's list of child objects twice, once
to find the LegacyReset object, and once in g_ptr_array_remove().
In theory we could avoid this by having the ResettableContainer
interface include a resettable_container_remove_with_equal_func()
that took a callback method so that we could use
g_ptr_array_find_with_equal_func() and g_ptr_array_remove_index().
But we don't expect qemu_unregister_reset() to be called frequently
or in hot paths, and we expect the simulation_reset container to
usually not have many children.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240220160622.114437-9-peter.maydell@linaro.org
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>

show more ...

86fae16e20-Feb-2024 Peter Maydell <peter.maydell@linaro.org>

hw/core/reset: Add qemu_{register, unregister}_resettable()

Implement new functions qemu_register_resettable() and
qemu_unregister_resettable(). These are intended to be
three-phase-reset aware equ

hw/core/reset: Add qemu_{register, unregister}_resettable()

Implement new functions qemu_register_resettable() and
qemu_unregister_resettable(). These are intended to be
three-phase-reset aware equivalents of the old qemu_register_reset()
and qemu_unregister_reset(). Instead of passing in a function
pointer and opaque, you register any QOM object that implements the
Resettable interface.

The implementation is simple: we have a single global instance of a
ResettableContainer, which we reset in qemu_devices_reset(), and
the Resettable objects passed to qemu_register_resettable() are
added to it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240220160622.114437-8-peter.maydell@linaro.org
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>

show more ...

9f1c70a220-Feb-2024 Peter Maydell <peter.maydell@linaro.org>

hw/core: Add documentation and license comments to reset.h

Add the usual boilerplate license/copyright comment to reset.h (using
the text from reset.c), and document the existing functions.

Signed-

hw/core: Add documentation and license comments to reset.h

Add the usual boilerplate license/copyright comment to reset.h (using
the text from reset.c), and document the existing functions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240220160622.114437-6-peter.maydell@linaro.org

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus/build.yml
/qemu/.gitlab-ci.d/container-cross.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/MAINTAINERS
/qemu/accel/Kconfig
/qemu/accel/tcg/ldst_atomicity.c.inc
/qemu/audio/meson.build
/qemu/chardev/char-parallel.c
/qemu/chardev/char-socket.c
/qemu/chardev/meson.build
/qemu/configs/devices/arm-softmmu/default.mak
/qemu/configs/devices/m68k-softmmu/default.mak
/qemu/configs/devices/mips-softmmu/common.mak
/qemu/configs/devices/nios2-softmmu/default.mak
/qemu/configs/devices/riscv32-softmmu/default.mak
/qemu/configs/devices/riscv64-softmmu/default.mak
/qemu/configs/devices/xtensa-softmmu/default.mak
/qemu/configure
/qemu/contrib/vhost-user-gpu/virgl.c
/qemu/cpu-target.c
/qemu/disas/hppa.c
/qemu/docs/about/build-platforms.rst
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/ci-jobs.rst.inc
/qemu/docs/devel/docs.rst
/qemu/docs/devel/migration/main.rst
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/qom.rst
/qemu/docs/devel/testing.rst
/qemu/docs/interop/prl-xml.txt
/qemu/docs/interop/vhost-user.rst
/qemu/docs/sphinx/qapidoc.py
/qemu/docs/system/arm/mps2.rst
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/devices/canokey.rst
/qemu/docs/system/devices/cxl.rst
/qemu/docs/system/devices/vhost-user-input.rst
/qemu/docs/system/devices/vhost-user-rng.rst
/qemu/docs/system/devices/vhost-user.rst
/qemu/docs/system/keys.rst.inc
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/user-target.c
/qemu/gdbstub/user.c
/qemu/hw/acpi/cpu_hotplug.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/highbank.c
/qemu/hw/arm/integratorcp.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/mps3r.c
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/realview.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/versatilepb.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xilinx_zynq.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/block/fdc-internal.h
/qemu/hw/block/fdc-isa.c
/qemu/hw/block/fdc-sysbus.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/m25p80_sfdp.c
/qemu/hw/block/m25p80_sfdp.h
/qemu/hw/block/tc58128.c
/qemu/hw/char/grlib_apbuart.c
/qemu/hw/char/parallel-isa.c
/qemu/hw/char/parallel.c
/qemu/hw/char/serial-isa.c
/qemu/hw/core/sysbus.c
/qemu/hw/cxl/cxl-cdat.c
/qemu/hw/cxl/cxl-component-utils.c
/qemu/hw/cxl/cxl-device-utils.c
/qemu/hw/cxl/cxl-events.c
/qemu/hw/cxl/cxl-mailbox-utils.c
/qemu/hw/display/Kconfig
/qemu/hw/display/exynos4210_fimd.c
/qemu/hw/display/pl110.c
/qemu/hw/display/virtio-gpu-rutabaga.c
/qemu/hw/display/virtio-gpu-virgl.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/dma/i82374.c
/qemu/hw/dma/i8257.c
/qemu/hw/hppa/Kconfig
/qemu/hw/hppa/machine.c
/qemu/hw/i2c/smbus_slave.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/acpi-common.c
/qemu/hw/i386/acpi-common.h
/qemu/hw/i386/amd_iommu-stub.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/amd_iommu.h
/qemu/hw/i386/fw_cfg.c
/qemu/hw/i386/fw_cfg.h
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/apic.c
/qemu/hw/i386/kvm/ioapic.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvmvapic.c
/qemu/hw/i386/meson.build
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/i386/port92.c
/qemu/hw/i386/sgx.c
/qemu/hw/i386/x86-iommu.c
/qemu/hw/i386/x86.c
/qemu/hw/i386/xen/xen_apic.c
/qemu/hw/ide/Kconfig
/qemu/hw/ide/ahci-allwinner.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/atapi.c
/qemu/hw/ide/cf.c
/qemu/hw/ide/cmd646.c
/qemu/hw/ide/core.c
/qemu/hw/ide/ich.c
/qemu/hw/ide/ide-bus.c
/qemu/hw/ide/ide-dev.c
/qemu/hw/ide/ide-internal.h
/qemu/hw/ide/ioport.c
/qemu/hw/ide/isa.c
/qemu/hw/ide/macio.c
/qemu/hw/ide/meson.build
/qemu/hw/ide/microdrive.c
/qemu/hw/ide/mmio.c
/qemu/hw/ide/pci.c
/qemu/hw/ide/piix.c
/qemu/hw/ide/sii3112.c
/qemu/hw/ide/via.c
/qemu/hw/input/meson.build
/qemu/hw/input/pckbd.c
/qemu/hw/intc/apic.c
/qemu/hw/intc/apic_common.c
/qemu/hw/intc/grlib_irqmp.c
/qemu/hw/intc/s390_flic_kvm.c
/qemu/hw/intc/trace-events
/qemu/hw/isa/Kconfig
/qemu/hw/isa/fdc37m81x-superio.c
/qemu/hw/isa/isa-superio.c
/qemu/hw/isa/lpc_ich9.c
/qemu/hw/isa/meson.build
/qemu/hw/isa/pc87312.c
/qemu/hw/isa/piix.c
/qemu/hw/isa/smc37c669-superio.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/mips/Kconfig
/qemu/hw/mips/boston.c
/qemu/hw/mips/cps.c
/qemu/hw/mips/jazz.c
/qemu/hw/mips/loongson3_bootp.h
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/mips/mipssim.c
/qemu/hw/misc/Kconfig
/qemu/hw/misc/lasi.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/mips_itu.c
/qemu/hw/misc/mps2-scc.c
/qemu/hw/misc/pca9552.c
/qemu/hw/misc/pca9554.c
/qemu/hw/net/tulip.c
/qemu/hw/nubus/meson.build
/qemu/hw/nubus/nubus-device.c
/qemu/hw/nubus/nubus-virtio-mmio.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-bridge/cxl_downstream.c
/qemu/hw/pci-bridge/cxl_root_port.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-host/Kconfig
/qemu/hw/pci-host/astro.c
/qemu/hw/pci-host/meson.build
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/pci-host/ppc4xx_pci.c
/qemu/hw/pci-host/ppce500.c
/qemu/hw/pci-host/raven.c
/qemu/hw/pci-host/trace-events
/qemu/hw/ppc/Kconfig
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/meson.build
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_bmc.c
/qemu/hw/ppc/pnv_chiptod.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/pnv_n1_chiplet.c
/qemu/hw/ppc/pnv_nest_pervasive.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_irq.c
/qemu/hw/ppc/spapr_vhyp_mmu.c
/qemu/hw/ppc/trace-events
/qemu/hw/rtc/m48t59.c
/qemu/hw/rtc/pl031.c
/qemu/hw/rx/rx-gdbsim.c
/qemu/hw/rx/rx62n.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/trace-events
/qemu/hw/sh4/Kconfig
/qemu/hw/sh4/r2d.c
/qemu/hw/sh4/sh7750_regs.h
/qemu/hw/smbios/smbios.c
/qemu/hw/sparc/leon3.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/sparc64.c
/qemu/hw/ssi/xlnx-versal-ospi.c
/qemu/hw/timer/grlib_gptimer.c
/qemu/hw/timer/hpet.c
/qemu/hw/timer/pxa2xx_timer.c
/qemu/hw/tricore/tricore_testboard.c
/qemu/hw/usb/Kconfig
/qemu/hw/usb/bus.c
/qemu/hw/usb/hcd-ehci-pci.c
/qemu/hw/usb/hcd-ehci-sysbus.c
/qemu/hw/usb/hcd-ehci.c
/qemu/hw/usb/hcd-ehci.h
/qemu/hw/usb/hcd-ohci-sysbus.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/usb/hcd-uhci.c
/qemu/hw/usb/hcd-uhci.h
/qemu/hw/usb/meson.build
/qemu/hw/virtio/Kconfig
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/vhost-user-base.c
/qemu/hw/virtio/vhost-user-device-pci.c
/qemu/hw/virtio/vhost-user-device.c
/qemu/hw/virtio/vhost-user-gpio.c
/qemu/hw/virtio/vhost-user-i2c.c
/qemu/hw/virtio/vhost-user-input-pci.c
/qemu/hw/virtio/vhost-user-input.c
/qemu/hw/virtio/vhost-user-rng.c
/qemu/hw/virtio/vhost-user-snd-pci.c
/qemu/hw/virtio/vhost-user-snd.c
/qemu/hw/virtio/virtio-iommu.c
/qemu/include/exec/ioport.h
/qemu/include/exec/memory.h
/qemu/include/gdbstub/user.h
/qemu/include/hw/acpi/cpu.h
/qemu/include/hw/acpi/ich9_tco.h
/qemu/include/hw/acpi/memory_hotplug.h
/qemu/include/hw/arm/allwinner-a10.h
/qemu/include/hw/arm/allwinner-r40.h
/qemu/include/hw/arm/omap.h
/qemu/include/hw/arm/smmu-common.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/arm/virt.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/fdc.h
/qemu/include/hw/char/grlib_uart.h
/qemu/include/hw/char/parallel-isa.h
/qemu/include/hw/char/parallel.h
/qemu/include/hw/char/serial.h
/qemu/include/hw/cxl/cxl_cdat.h
/qemu/include/hw/cxl/cxl_component.h
/qemu/include/hw/cxl/cxl_device.h
/qemu/include/hw/cxl/cxl_events.h
/qemu/include/hw/cxl/cxl_pci.h
/qemu/include/hw/dma/i8257.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/i2c/pnv_i2c_regs.h
/qemu/include/hw/i386/apic.h
/qemu/include/hw/i386/apic_internal.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/i386/x86.h
/qemu/include/hw/ide/ahci-pci.h
/qemu/include/hw/ide/ahci-sysbus.h
/qemu/include/hw/ide/ahci.h
/qemu/include/hw/ide/ide-bus.h
/qemu/include/hw/ide/ide-dev.h
/qemu/include/hw/ide/ide-dma.h
/qemu/include/hw/ide/pci.h
/qemu/include/hw/input/i8042.h
/qemu/include/hw/intc/grlib_irqmp.h
/qemu/include/hw/misc/lasi.h
/qemu/include/hw/misc/macio/macio.h
/qemu/include/hw/misc/mips_itu.h
/qemu/include/hw/misc/mps2-scc.h
/qemu/include/hw/misc/pca9552.h
/qemu/include/hw/misc/pca9554.h
/qemu/include/hw/misc/pca9554_regs.h
/qemu/include/hw/net/npcm_gmac.h
/qemu/include/hw/nubus/nubus-virtio-mmio.h
/qemu/include/hw/nubus/nubus.h
/qemu/include/hw/pci-host/astro.h
/qemu/include/hw/pci-host/ppc4xx.h
/qemu/include/hw/ppc/pnv.h
/qemu/include/hw/ppc/pnv_chip.h
/qemu/include/hw/ppc/pnv_chiptod.h
/qemu/include/hw/ppc/pnv_n1_chiplet.h
/qemu/include/hw/ppc/pnv_nest_pervasive.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/ppc/ppc4xx.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_irq.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/rx/rx62n.h
/qemu/include/hw/scsi/esp.h
/qemu/include/hw/sysbus.h
/qemu/include/hw/timer/grlib_gptimer.h
/qemu/include/hw/timer/hpet.h
/qemu/include/hw/tricore/tricore_testdevice.h
/qemu/include/hw/usb.h
/qemu/include/hw/virtio/vhost-user-base.h
/qemu/include/hw/virtio/vhost-user-gpio.h
/qemu/include/hw/virtio/vhost-user-i2c.h
/qemu/include/hw/virtio/vhost-user-rng.h
/qemu/include/hw/virtio/vhost-user-snd.h
/qemu/include/hw/virtio/vhost-vsock-common.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/virtio/virtio-input.h
/qemu/include/net/filter.h
/qemu/include/qemu/osdep.h
/qemu/include/qom/object.h
reset.h
/qemu/include/tcg/tcg.h
/qemu/include/user/syscall-trace.h
/qemu/iothread.c
/qemu/linux-user/aarch64/target_prctl.h
/qemu/meson.build
/qemu/monitor/hmp-cmds-target.c
/qemu/pc-bios/README
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-riscv-vars.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/hppa-firmware.img
/qemu/pc-bios/hppa-firmware64.img
/qemu/pc-bios/skiboot.lid
/qemu/qapi/acpi.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/control.json
/qemu/qapi/crypto.json
/qemu/qapi/dump.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/pragma.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-nbd.c
/qemu/qemu-options.hx
/qemu/qga/qapi-schema.json
/qemu/qom/object.c
/qemu/roms/edk2
/qemu/roms/seabios-hppa
/qemu/scripts/ci/gitlab-pipeline-status
/qemu/scripts/qapi/parser.py
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/source.py
/qemu/system/bootdevice.c
/qemu/system/ioport.c
/qemu/system/memory_ldst.c.inc
/qemu/system/physmem.c
/qemu/system/vl.c
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/sme_helper.c
/qemu/target/arm/tcg/sve_helper.c
/qemu/target/arm/tcg/translate-a64.h
/qemu/target/arm/tcg/translate-sme.c
/qemu/target/arm/tcg/translate-sve.c
/qemu/target/arm/tcg/translate.c
/qemu/target/hexagon/idef-parser/macros.inc
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-sysemu.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/monitor.c
/qemu/target/i386/tcg/sysemu/misc_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-apic.c
/qemu/target/m68k/Kconfig
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/op_helper.c
/qemu/target/mips/Kconfig
/qemu/target/mips/cpu.h
/qemu/target/mips/internal.h
/qemu/target/mips/sysemu/machine.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/mips/tcg/sysemu_helper.h.inc
/qemu/target/mips/tcg/translate.c
/qemu/target/mips/tcg/translate.h
/qemu/target/nios2/Kconfig
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/gdbstub.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/mmu_helper.c
/qemu/target/ppc/ppc-qmp-cmds.c
/qemu/target/ppc/tcg-stub.c
/qemu/target/ppc/timebase_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/vmx-impl.c.inc
/qemu/target/ppc/translate/vsx-impl.c.inc
/qemu/target/riscv/Kconfig
/qemu/target/s390x/cpu_features_def.h.inc
/qemu/target/sparc/asi.h
/qemu/target/sparc/cpu.h
/qemu/target/sparc/helper.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/translate.c
/qemu/target/xtensa/Kconfig
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tests/avocado/acpi-bits/bits-tests/smbios.py2
/qemu/tests/avocado/boot_linux.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/mem-addr-space-check.py
/qemu/tests/avocado/migration.py
/qemu/tests/avocado/ppc_hv_tests.py
/qemu/tests/avocado/ppc_powernv.py
/qemu/tests/avocado/ppc_pseries.py
/qemu/tests/avocado/reverse_debugging.py
/qemu/tests/data/acpi/q35/DSDT.cxl
/qemu/tests/data/acpi/q35/IVRS.ivrs
/qemu/tests/data/acpi/virt/FACP
/qemu/tests/data/acpi/virt/GTDT
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/lcitool/mappings.yml
/qemu/tests/lcitool/projects/qemu.yml
/qemu/tests/lcitool/refresh
/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/qemu/tests/qapi-schema/doc-bad-alternate-member.json
/qemu/tests/qapi-schema/doc-bad-boxed-command-arg.err
/qemu/tests/qapi-schema/doc-bad-command-arg.err
/qemu/tests/qapi-schema/doc-bad-enum-member.err
/qemu/tests/qapi-schema/doc-bad-event-arg.err
/qemu/tests/qapi-schema/doc-bad-feature.err
/qemu/tests/qapi-schema/doc-bad-union-member.err
/qemu/tests/qapi-schema/doc-duplicate-features.err
/qemu/tests/qapi-schema/doc-duplicate-features.json
/qemu/tests/qapi-schema/doc-duplicate-features.out
/qemu/tests/qapi-schema/doc-duplicated-arg.err
/qemu/tests/qapi-schema/doc-duplicated-return.err
/qemu/tests/qapi-schema/doc-duplicated-return.json
/qemu/tests/qapi-schema/doc-duplicated-since.err
/qemu/tests/qapi-schema/doc-duplicated-since.json
/qemu/tests/qapi-schema/doc-empty-arg.err
/qemu/tests/qapi-schema/doc-empty-features.err
/qemu/tests/qapi-schema/doc-empty-features.json
/qemu/tests/qapi-schema/doc-empty-features.out
/qemu/tests/qapi-schema/doc-empty-section.err
/qemu/tests/qapi-schema/doc-good.json
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qapi-schema/doc-good.txt
/qemu/tests/qapi-schema/doc-invalid-return.err
/qemu/tests/qapi-schema/doc-invalid-return.json
/qemu/tests/qapi-schema/doc-non-first-section.err
/qemu/tests/qapi-schema/doc-non-first-section.json
/qemu/tests/qapi-schema/doc-non-first-section.out
/qemu/tests/qapi-schema/meson.build
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qemu-iotests/144
/qemu/tests/qemu-iotests/144.out
/qemu/tests/qtest/boot-serial-test.c
/qemu/tests/qtest/cdrom-test.c
/qemu/tests/qtest/dbus-display-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/qtest/npcm_gmac-test.c
/qemu/tests/qtest/pca9552-test.c
/qemu/tests/qtest/pnv-host-i2c-test.c
/qemu/tests/qtest/pnv-xscom-test.c
/qemu/tests/qtest/pnv-xscom.h
/qemu/tests/qtest/stm32l4x5_exti-test.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/catch-syscalls.c
/qemu/tests/tcg/multiarch/gdbstub/catch-syscalls.py
/qemu/tests/unit/test-char.c
/qemu/ui/clipboard.c
/qemu/ui/console.c
/qemu/ui/meson.build
/qemu/ui/vnc.c
/qemu/util/qemu-sockets.c
03e471c418-Dec-2023 Fiona Ebner <f.ebner@proxmox.com>

qemu_init: increase NOFILE soft limit on POSIX

In many configurations, e.g. multiple vNICs with multiple queues or
with many Ceph OSDs, the default soft limit of 1024 is not enough.
QEMU is supposed

qemu_init: increase NOFILE soft limit on POSIX

In many configurations, e.g. multiple vNICs with multiple queues or
with many Ceph OSDs, the default soft limit of 1024 is not enough.
QEMU is supposed to work fine with file descriptors >= 1024 and does
not use select() on POSIX. Bump the soft limit to the allowed hard
limit to avoid issues with the aforementioned configurations.

Of course the limit could be raised from the outside, but the man page
of systemd.exec states about 'LimitNOFILE=':

> Don't use.
> [...]
> Typically applications should increase their soft limit to the hard
> limit on their own, if they are OK with working with file
> descriptors above 1023,

If the soft limit is already the same as the hard limit, avoid the
superfluous setrlimit call. This can avoid a warning with a strict
seccomp filter blocking setrlimit if NOFILE was already raised before
executing QEMU.

Buglink: https://bugzilla.proxmox.com/show_bug.cgi?id=4507
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/ldst_common.c.inc
/qemu/accel/tcg/meson.build
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-accel-ops.h
/qemu/accel/tcg/translate-all.c
/qemu/audio/pwaudio.c
/qemu/backends/hostmem.c
/qemu/block.c
/qemu/block/blkio.c
/qemu/block/blklogwrites.c
/qemu/block/commit.c
/qemu/block/io.c
/qemu/block/io_uring.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/stream.c
/qemu/blockdev.c
/qemu/bsd-user/main.c
/qemu/bsd-user/signal.c
/qemu/cpu-target.c
/qemu/crypto/block-luks.c
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/crypto/cipher-nettle.c.inc
/qemu/crypto/cipher.c
/qemu/disas/riscv-xthead.c
/qemu/disas/riscv-xventana.c
/qemu/disas/riscv.h
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/colo-proxy.txt
/qemu/docs/devel/docs.rst
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/interop/bitmaps.rst
/qemu/docs/interop/qemu-ga.rst
/qemu/docs/specs/fsi.rst
/qemu/docs/specs/index.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/sphinx/hxtool.py
/qemu/docs/system/arm/bananapi_m2u.rst
/qemu/docs/system/arm/raspi.rst
/qemu/docs/system/arm/virt.rst
/qemu/docs/system/i386/xen.rst
/qemu/docs/system/keys.rst.inc
/qemu/docs/user/main.rst
/qemu/dump/dump-hmp-cmds.c
/qemu/hmp-commands.hx
/qemu/hw/Kconfig
/qemu/hw/alpha/dp264.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/allwinner-a10.c
/qemu/hw/arm/allwinner-h3.c
/qemu/hw/arm/allwinner-r40.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2400.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/aspeed_eeprom.c
/qemu/hw/arm/aspeed_eeprom.h
/qemu/hw/arm/aspeed_soc_common.c
/qemu/hw/arm/bcm2835_peripherals.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/collie.c
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/exynos4_boards.c
/qemu/hw/arm/fsl-imx25.c
/qemu/hw/arm/fsl-imx31.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/fsl-imx6ul.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/highbank.c
/qemu/hw/arm/integratorcp.c
/qemu/hw/arm/kzm.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/mps2.c
/qemu/hw/arm/msf2-soc.c
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/musca.c
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/npcm7xx_boards.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/omap_sx1.c
/qemu/hw/arm/palm.c
/qemu/hw/arm/realview.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/spitz.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/strongarm.c
/qemu/hw/arm/trace-events
/qemu/hw/arm/versatilepb.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xen_arm.c
/qemu/hw/arm/xilinx_zynq.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/arm/xlnx-versal.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/arm/z2.c
/qemu/hw/block/block.c
/qemu/hw/block/dataplane/meson.build
/qemu/hw/block/m25p80.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/pflash_cfi02.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/imx_serial.c
/qemu/hw/core/bus.c
/qemu/hw/core/loader.c
/qemu/hw/core/qdev.c
/qemu/hw/cpu/a15mpcore.c
/qemu/hw/cpu/a9mpcore.c
/qemu/hw/cpu/meson.build
/qemu/hw/cris/axis_dev88.c
/qemu/hw/cxl/cxl-events.c
/qemu/hw/fsi/Kconfig
/qemu/hw/fsi/aspeed_apb2opb.c
/qemu/hw/fsi/cfam.c
/qemu/hw/fsi/fsi-master.c
/qemu/hw/fsi/fsi.c
/qemu/hw/fsi/lbus.c
/qemu/hw/fsi/meson.build
/qemu/hw/fsi/trace-events
/qemu/hw/fsi/trace.h
/qemu/hw/hppa/machine.c
/qemu/hw/hyperv/hv-balloon-internal.h
/qemu/hw/hyperv/hv-balloon-our_range_memslots.c
/qemu/hw/hyperv/hv-balloon-our_range_memslots.h
/qemu/hw/hyperv/hv-balloon-page_range_tree.c
/qemu/hw/hyperv/hv-balloon-page_range_tree.h
/qemu/hw/hyperv/hv-balloon.c
/qemu/hw/hyperv/hyperv.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/input/adb.c
/qemu/hw/intc/xics.c
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/mcf5208.c
/qemu/hw/m68k/q800.c
/qemu/hw/mem/memory-device.c
/qemu/hw/meson.build
/qemu/hw/microblaze/petalogix_ml605_mmu.c
/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/qemu/hw/mips/fuloong2e.c
/qemu/hw/mips/jazz.c
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/mips/malta.c
/qemu/hw/mips/mipssim.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/xlnx-versal-crl.c
/qemu/hw/net/etraxfs_eth.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/lasi_i82596.c
/qemu/hw/net/meson.build
/qemu/hw/net/npcm_gmac.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/trace-events
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg-acpi.c
/qemu/hw/openrisc/openrisc_sim.c
/qemu/hw/pci-host/designware.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/riscv/microchip_pfsoc.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/sh4/r2d.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/ssi/Kconfig
/qemu/hw/ssi/bcm2835_spi.c
/qemu/hw/ssi/meson.build
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/virtio-acpi.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/xen/trace-events
/qemu/hw/xen/xen-bus.c
/qemu/hw/xen/xen-hvm-common.c
/qemu/hw/xen/xen-mapcache.c
/qemu/hw/xen/xen_devconfig.c
/qemu/hw/xenpv/xen_machine_pv.c
/qemu/hw/xtensa/virt.c
/qemu/hw/xtensa/xtfpga.c
/qemu/include/block/block-global-state.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/translation-block.h
/qemu/include/exec/translator.h
/qemu/include/exec/vaddr.h
/qemu/include/hw/arm/allwinner-r40.h
/qemu/include/hw/arm/aspeed_soc.h
/qemu/include/hw/arm/bcm2835_peripherals.h
/qemu/include/hw/arm/fsl-imx6.h
/qemu/include/hw/arm/fsl-imx6ul.h
/qemu/include/hw/arm/msf2-soc.h
/qemu/include/hw/arm/npcm7xx.h
/qemu/include/hw/arm/raspberrypi-fw-defs.h
/qemu/include/hw/arm/xlnx-versal.h
/qemu/include/hw/audio/asc.h
/qemu/include/hw/block/block.h
/qemu/include/hw/char/imx_serial.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/cris/etraxfs.h
/qemu/include/hw/fsi/aspeed_apb2opb.h
/qemu/include/hw/fsi/cfam.h
/qemu/include/hw/fsi/fsi-master.h
/qemu/include/hw/fsi/fsi.h
/qemu/include/hw/fsi/lbus.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/armv7m_nvic.h
/qemu/include/hw/m68k/q800-glue.h
/qemu/include/hw/mem/memory-device.h
/qemu/include/hw/misc/xlnx-versal-crl.h
/qemu/include/hw/net/lan9118.h
/qemu/include/hw/net/lasi_82596.h
/qemu/include/hw/net/ne2000-isa.h
/qemu/include/hw/net/npcm_gmac.h
/qemu/include/hw/net/smc91c111.h
/qemu/include/hw/nvram/fw_cfg_acpi.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/ppc/spapr_nested.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/s390x/s390-pci-bus.h
/qemu/include/hw/ssi/bcm2835_spi.h
/qemu/include/hw/virtio/virtio-acpi.h
/qemu/include/hw/virtio/virtio-blk.h
/qemu/include/hw/xen/xen-bus.h
/qemu/include/hw/xen/xen-hvm-common.h
/qemu/include/hw/xen/xen-legacy-backend.h
/qemu/include/net/net.h
/qemu/include/qapi/visitor.h
/qemu/include/qemu/bswap.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/qtree.h
/qemu/include/qemu/typedefs.h
/qemu/include/qemu/uri.h
/qemu/include/qemu/yank.h
os-posix.h
os-win32.h
/qemu/include/tcg/debuginfo.h
/qemu/include/tcg/perf.h
/qemu/include/ui/rect.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-user/aarch64/vdso-be.so
/qemu/linux-user/aarch64/vdso-le.so
/qemu/linux-user/aarch64/vdso.S
/qemu/linux-user/elfload.c
/qemu/linux-user/exit.c
/qemu/linux-user/main.c
/qemu/linux-user/riscv/vdso-32.so
/qemu/linux-user/riscv/vdso-64.so
/qemu/linux-user/riscv/vdso.S
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/cpu_loop.c
/qemu/linux-user/sparc/signal.c
/qemu/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/savevm.c
/qemu/migration/yank_functions.c
/qemu/monitor/qmp.c
/qemu/net/af-xdp.c
/qemu/net/net.c
/qemu/os-posix.c
/qemu/plugins/core.c
/qemu/plugins/loader.c
/qemu/qapi/block-core.json
/qemu/qapi/block-export.json
/qemu/qapi/char.json
/qemu/qapi/crypto.json
/qemu/qapi/introspect.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-util.c
/qemu/qapi/qdev.json
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/qom.json
/qemu/qapi/run-state.json
/qemu/qapi/string-output-visitor.c
/qemu/qapi/yank.json
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/main.c
/qemu/qga/qapi-schema.json
/qemu/qom/object.c
/qemu/scripts/analyze-migration.py
/qemu/scripts/clean-includes
/qemu/scripts/qapi/parser.py
/qemu/semihosting/uaccess.c
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/system/globals.c
/qemu/system/physmem.c
/qemu/system/runstate.c
/qemu/system/vl.c
/qemu/target/alpha/cpu.c
/qemu/target/alpha/cpu.h
/qemu/target/alpha/translate.c
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/cpregs.h
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu-qom.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/gtimer.h
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/machine.c
/qemu/target/arm/multiprocessing.h
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/mte_helper.c
/qemu/target/arm/tcg/psci.c
/qemu/target/arm/tcg/sve_helper.c
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/avr/cpu.c
/qemu/target/avr/cpu.h
/qemu/target/avr/translate.c
/qemu/target/cris/cpu.c
/qemu/target/cris/cpu.h
/qemu/target/cris/translate.c
/qemu/target/cris/translate_v10.c.inc
/qemu/target/hexagon/README
/qemu/target/hexagon/attribs_def.h.inc
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/cpu.h
/qemu/target/hexagon/decode.c
/qemu/target/hexagon/decode.h
/qemu/target/hexagon/gen_analyze_funcs.py
/qemu/target/hexagon/gen_decodetree.py
/qemu/target/hexagon/gen_dectree_import.c
/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_regs.py
/qemu/target/hexagon/gen_tcg.h
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/gen_trans_funcs.py
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/idef-parser/parser-helpers.c
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/meson.build
/qemu/target/hexagon/mmvec/decode_ext_mmvec.c
/qemu/target/hexagon/opcodes.c
/qemu/target/hexagon/opcodes.h
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/tcg/helper-tcg.h
/qemu/target/i386/tcg/sysemu/seg_helper.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/cpu_helper.c
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/tcg/insn_trans/trans_privileged.c.inc
/qemu/target/loongarch/tcg/tlb_helper.c
/qemu/target/loongarch/tcg/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/meson.build
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/mmu.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu.c
/qemu/target/mips/cpu.h
/qemu/target/mips/sysemu/physaddr.c
/qemu/target/mips/tcg/msa_helper.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/mips/tcg/sysemu/tlb_helper.c
/qemu/target/mips/tcg/translate.c
/qemu/target/mips/tcg/translate.h
/qemu/target/nios2/cpu.c
/qemu/target/nios2/cpu.h
/qemu/target/nios2/translate.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/cpu.h
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu-models.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/mem_helper.c
/qemu/target/ppc/mmu_common.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/op_helper.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/riscv/vector_internals.c
/qemu/target/riscv/vector_internals.h
/qemu/target/rx/cpu.c
/qemu/target/rx/cpu.h
/qemu/target/rx/translate.c
/qemu/target/s390x/cpu-dump.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/gdbstub.c
/qemu/target/s390x/helper.c
/qemu/target/s390x/helper.h
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/tcg/excp_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/misc_helper.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/fop_helper.c
/qemu/target/sparc/gdbstub.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/machine.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/sparc/translate.c
/qemu/target/target-common.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/helper.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/mmu_helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/debuginfo.c
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/meson.build
/qemu/tcg/perf.c
/qemu/tcg/region.c
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/docker/dockerfiles/debian-hexagon-cross.docker
/qemu/tests/guest-debug/run-test.py
/qemu/tests/guest-debug/test_gdbstub.py
/qemu/tests/qemu-iotests/060.out
/qemu/tests/qemu-iotests/071.out
/qemu/tests/qemu-iotests/081.out
/qemu/tests/qemu-iotests/087.out
/qemu/tests/qemu-iotests/108.out
/qemu/tests/qemu-iotests/109
/qemu/tests/qemu-iotests/109.out
/qemu/tests/qemu-iotests/117.out
/qemu/tests/qemu-iotests/120.out
/qemu/tests/qemu-iotests/127.out
/qemu/tests/qemu-iotests/140.out
/qemu/tests/qemu-iotests/141
/qemu/tests/qemu-iotests/141.out
/qemu/tests/qemu-iotests/143.out
/qemu/tests/qemu-iotests/156.out
/qemu/tests/qemu-iotests/176.out
/qemu/tests/qemu-iotests/182.out
/qemu/tests/qemu-iotests/183.out
/qemu/tests/qemu-iotests/184.out
/qemu/tests/qemu-iotests/185
/qemu/tests/qemu-iotests/185.out
/qemu/tests/qemu-iotests/191.out
/qemu/tests/qemu-iotests/195.out
/qemu/tests/qemu-iotests/223.out
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/234.out
/qemu/tests/qemu-iotests/247.out
/qemu/tests/qemu-iotests/262.out
/qemu/tests/qemu-iotests/264
/qemu/tests/qemu-iotests/273.out
/qemu/tests/qemu-iotests/277
/qemu/tests/qemu-iotests/280.out
/qemu/tests/qemu-iotests/308
/qemu/tests/qemu-iotests/308.out
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/qemu-iotests/tests/file-io-error
/qemu/tests/qemu-iotests/tests/iothreads-resize.out
/qemu/tests/qemu-iotests/tests/iothreads-stream
/qemu/tests/qemu-iotests/tests/qsd-jobs.out
/qemu/tests/qtest/aspeed_fsi-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/qtest/npcm_gmac-test.c
/qemu/tests/qtest/qtest_aspeed.h
/qemu/tests/qtest/test-hmp.c
/qemu/tests/qtest/xlnx-versal-trng-test.c
/qemu/tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
/qemu/tests/tcg/aarch64/gdbstub/test-sve.py
/qemu/tests/tcg/aarch64/sysregs.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/gdbstub/interrupt.py
/qemu/tests/tcg/multiarch/gdbstub/memory.py
/qemu/tests/tcg/multiarch/gdbstub/prot-none.py
/qemu/tests/tcg/multiarch/gdbstub/registers.py
/qemu/tests/tcg/multiarch/gdbstub/sha1.py
/qemu/tests/tcg/multiarch/gdbstub/test-proc-mappings.py
/qemu/tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py
/qemu/tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
/qemu/tests/tcg/multiarch/prot-none.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/cvb.c
/qemu/tests/tcg/s390x/cvd.c
/qemu/tests/tcg/s390x/gdbstub/test-signals-s390x.py
/qemu/tests/tcg/s390x/gdbstub/test-svc.py
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-crypto-cipher.c
/qemu/tests/unit/test-iov.c
/qemu/tests/unit/test-qga.c
/qemu/tests/unit/test-util-filemonitor.c
/qemu/tests/vm/basevm.py
/qemu/tests/vm/freebsd
/qemu/tests/vm/netbsd
/qemu/util/coroutine-ucontext.c
/qemu/util/meson.build
/qemu/util/oslib-posix.c
/qemu/util/oslib-win32.c
/qemu/util/uri.c
/qemu/util/userfaultfd.c
/qemu/util/yank.c
06152b8930-Jan-2024 William Roche <william.roche@oracle.com>

migration: prevent migration when VM has poisoned memory

A memory page poisoned from the hypervisor level is no longer readable.
The migration of a VM will crash Qemu when it tries to read the
memor

migration: prevent migration when VM has poisoned memory

A memory page poisoned from the hypervisor level is no longer readable.
The migration of a VM will crash Qemu when it tries to read the
memory address space and stumbles on the poisoned page with a similar
stack trace:

Program terminated with signal SIGBUS, Bus error.
#0 _mm256_loadu_si256
#1 buffer_zero_avx2
#2 select_accel_fn
#3 buffer_is_zero
#4 save_zero_page
#5 ram_save_target_page_legacy
#6 ram_save_host_page
#7 ram_find_and_save_block
#8 ram_save_iterate
#9 qemu_savevm_state_iterate
#10 migration_iteration_run
#11 migration_thread
#12 qemu_thread_start

To avoid this VM crash during the migration, prevent the migration
when a known hardware poison exists on the VM.

Signed-off-by: William Roche <william.roche@oracle.com>
Link: https://lore.kernel.org/r/20240130190640.139364-2-william.roche@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/accel/kvm/kvm-all.c
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/ldst_common.c.inc
/qemu/accel/tcg/meson.build
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-accel-ops.h
/qemu/accel/tcg/translate-all.c
/qemu/audio/pwaudio.c
/qemu/backends/hostmem.c
/qemu/block.c
/qemu/block/blkio.c
/qemu/block/blklogwrites.c
/qemu/block/commit.c
/qemu/block/io.c
/qemu/block/io_uring.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/stream.c
/qemu/blockdev.c
/qemu/bsd-user/main.c
/qemu/bsd-user/signal.c
/qemu/cpu-target.c
/qemu/disas/riscv-xthead.c
/qemu/disas/riscv-xventana.c
/qemu/disas/riscv.h
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/colo-proxy.txt
/qemu/docs/devel/docs.rst
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/interop/bitmaps.rst
/qemu/docs/interop/qemu-ga.rst
/qemu/docs/specs/fsi.rst
/qemu/docs/specs/index.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/sphinx/hxtool.py
/qemu/docs/system/arm/bananapi_m2u.rst
/qemu/docs/system/arm/raspi.rst
/qemu/docs/system/arm/virt.rst
/qemu/docs/system/i386/xen.rst
/qemu/docs/system/keys.rst.inc
/qemu/docs/user/main.rst
/qemu/dump/dump-hmp-cmds.c
/qemu/hmp-commands.hx
/qemu/hw/Kconfig
/qemu/hw/alpha/dp264.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/allwinner-a10.c
/qemu/hw/arm/allwinner-h3.c
/qemu/hw/arm/allwinner-r40.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2400.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/aspeed_eeprom.c
/qemu/hw/arm/aspeed_eeprom.h
/qemu/hw/arm/aspeed_soc_common.c
/qemu/hw/arm/bcm2835_peripherals.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/collie.c
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/exynos4_boards.c
/qemu/hw/arm/fsl-imx25.c
/qemu/hw/arm/fsl-imx31.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/fsl-imx6ul.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/highbank.c
/qemu/hw/arm/integratorcp.c
/qemu/hw/arm/kzm.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/mps2.c
/qemu/hw/arm/msf2-soc.c
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/musca.c
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/npcm7xx_boards.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/omap_sx1.c
/qemu/hw/arm/palm.c
/qemu/hw/arm/realview.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/spitz.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/strongarm.c
/qemu/hw/arm/trace-events
/qemu/hw/arm/versatilepb.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xen_arm.c
/qemu/hw/arm/xilinx_zynq.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/arm/xlnx-versal.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/arm/z2.c
/qemu/hw/block/block.c
/qemu/hw/block/dataplane/meson.build
/qemu/hw/block/m25p80.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/pflash_cfi02.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/imx_serial.c
/qemu/hw/core/bus.c
/qemu/hw/core/loader.c
/qemu/hw/core/qdev.c
/qemu/hw/cpu/a15mpcore.c
/qemu/hw/cpu/a9mpcore.c
/qemu/hw/cpu/meson.build
/qemu/hw/cris/axis_dev88.c
/qemu/hw/cxl/cxl-events.c
/qemu/hw/fsi/Kconfig
/qemu/hw/fsi/aspeed_apb2opb.c
/qemu/hw/fsi/cfam.c
/qemu/hw/fsi/fsi-master.c
/qemu/hw/fsi/fsi.c
/qemu/hw/fsi/lbus.c
/qemu/hw/fsi/meson.build
/qemu/hw/fsi/trace-events
/qemu/hw/fsi/trace.h
/qemu/hw/hppa/machine.c
/qemu/hw/hyperv/hv-balloon-internal.h
/qemu/hw/hyperv/hv-balloon-our_range_memslots.c
/qemu/hw/hyperv/hv-balloon-our_range_memslots.h
/qemu/hw/hyperv/hv-balloon-page_range_tree.c
/qemu/hw/hyperv/hv-balloon-page_range_tree.h
/qemu/hw/hyperv/hv-balloon.c
/qemu/hw/hyperv/hyperv.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/input/adb.c
/qemu/hw/intc/xics.c
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/mcf5208.c
/qemu/hw/m68k/q800.c
/qemu/hw/meson.build
/qemu/hw/microblaze/petalogix_ml605_mmu.c
/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/qemu/hw/mips/fuloong2e.c
/qemu/hw/mips/jazz.c
/qemu/hw/mips/loongson3_virt.c
/qemu/hw/mips/malta.c
/qemu/hw/mips/mipssim.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/xlnx-versal-crl.c
/qemu/hw/net/etraxfs_eth.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/lasi_i82596.c
/qemu/hw/net/meson.build
/qemu/hw/net/npcm_gmac.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/trace-events
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg-acpi.c
/qemu/hw/openrisc/openrisc_sim.c
/qemu/hw/pci-host/designware.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/spapr.c
/qemu/hw/riscv/microchip_pfsoc.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/sh4/r2d.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/ssi/Kconfig
/qemu/hw/ssi/bcm2835_spi.c
/qemu/hw/ssi/meson.build
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/virtio-acpi.c
/qemu/hw/xen/trace-events
/qemu/hw/xen/xen-bus.c
/qemu/hw/xen/xen-hvm-common.c
/qemu/hw/xen/xen-mapcache.c
/qemu/hw/xen/xen_devconfig.c
/qemu/hw/xenpv/xen_machine_pv.c
/qemu/hw/xtensa/virt.c
/qemu/hw/xtensa/xtfpga.c
/qemu/include/block/block-global-state.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/translation-block.h
/qemu/include/exec/translator.h
/qemu/include/exec/vaddr.h
/qemu/include/hw/arm/allwinner-r40.h
/qemu/include/hw/arm/aspeed_soc.h
/qemu/include/hw/arm/bcm2835_peripherals.h
/qemu/include/hw/arm/fsl-imx6.h
/qemu/include/hw/arm/fsl-imx6ul.h
/qemu/include/hw/arm/msf2-soc.h
/qemu/include/hw/arm/npcm7xx.h
/qemu/include/hw/arm/raspberrypi-fw-defs.h
/qemu/include/hw/arm/xlnx-versal.h
/qemu/include/hw/audio/asc.h
/qemu/include/hw/block/block.h
/qemu/include/hw/char/imx_serial.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/cris/etraxfs.h
/qemu/include/hw/fsi/aspeed_apb2opb.h
/qemu/include/hw/fsi/cfam.h
/qemu/include/hw/fsi/fsi-master.h
/qemu/include/hw/fsi/fsi.h
/qemu/include/hw/fsi/lbus.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/armv7m_nvic.h
/qemu/include/hw/m68k/q800-glue.h
/qemu/include/hw/mem/memory-device.h
/qemu/include/hw/misc/xlnx-versal-crl.h
/qemu/include/hw/net/lan9118.h
/qemu/include/hw/net/lasi_82596.h
/qemu/include/hw/net/ne2000-isa.h
/qemu/include/hw/net/npcm_gmac.h
/qemu/include/hw/net/smc91c111.h
/qemu/include/hw/nvram/fw_cfg_acpi.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/ppc/spapr_nested.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/s390x/s390-pci-bus.h
/qemu/include/hw/ssi/bcm2835_spi.h
/qemu/include/hw/virtio/virtio-acpi.h
/qemu/include/hw/virtio/virtio-blk.h
/qemu/include/hw/xen/xen-bus.h
/qemu/include/hw/xen/xen-hvm-common.h
/qemu/include/hw/xen/xen-legacy-backend.h
/qemu/include/net/net.h
/qemu/include/qapi/visitor.h
/qemu/include/qemu/bswap.h
/qemu/include/qemu/qtree.h
/qemu/include/qemu/typedefs.h
/qemu/include/qemu/uri.h
/qemu/include/qemu/yank.h
kvm.h
/qemu/include/tcg/debuginfo.h
/qemu/include/tcg/perf.h
/qemu/include/ui/rect.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-user/aarch64/vdso-be.so
/qemu/linux-user/aarch64/vdso-le.so
/qemu/linux-user/aarch64/vdso.S
/qemu/linux-user/elfload.c
/qemu/linux-user/exit.c
/qemu/linux-user/main.c
/qemu/linux-user/riscv/vdso-32.so
/qemu/linux-user/riscv/vdso-64.so
/qemu/linux-user/riscv/vdso.S
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/cpu_loop.c
/qemu/linux-user/sparc/signal.c
/qemu/meson.build
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/savevm.c
/qemu/migration/yank_functions.c
/qemu/monitor/qmp.c
/qemu/net/af-xdp.c
/qemu/net/net.c
/qemu/plugins/core.c
/qemu/plugins/loader.c
/qemu/qapi/block-core.json
/qemu/qapi/block-export.json
/qemu/qapi/char.json
/qemu/qapi/introspect.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-util.c
/qemu/qapi/qdev.json
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/qom.json
/qemu/qapi/run-state.json
/qemu/qapi/string-output-visitor.c
/qemu/qapi/yank.json
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/main.c
/qemu/qga/qapi-schema.json
/qemu/scripts/analyze-migration.py
/qemu/scripts/clean-includes
/qemu/scripts/qapi/parser.py
/qemu/semihosting/uaccess.c
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/system/globals.c
/qemu/system/physmem.c
/qemu/system/runstate.c
/qemu/system/vl.c
/qemu/target/alpha/cpu.c
/qemu/target/alpha/cpu.h
/qemu/target/alpha/translate.c
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/cpregs.h
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu-qom.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/gtimer.h
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/machine.c
/qemu/target/arm/multiprocessing.h
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/mte_helper.c
/qemu/target/arm/tcg/psci.c
/qemu/target/arm/tcg/sve_helper.c
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/avr/cpu.c
/qemu/target/avr/cpu.h
/qemu/target/avr/translate.c
/qemu/target/cris/cpu.c
/qemu/target/cris/cpu.h
/qemu/target/cris/translate.c
/qemu/target/cris/translate_v10.c.inc
/qemu/target/hexagon/README
/qemu/target/hexagon/attribs_def.h.inc
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/cpu.h
/qemu/target/hexagon/decode.c
/qemu/target/hexagon/decode.h
/qemu/target/hexagon/gen_analyze_funcs.py
/qemu/target/hexagon/gen_decodetree.py
/qemu/target/hexagon/gen_dectree_import.c
/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_regs.py
/qemu/target/hexagon/gen_tcg.h
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/gen_trans_funcs.py
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/idef-parser/parser-helpers.c
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/meson.build
/qemu/target/hexagon/mmvec/decode_ext_mmvec.c
/qemu/target/hexagon/opcodes.c
/qemu/target/hexagon/opcodes.h
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/tcg/helper-tcg.h
/qemu/target/i386/tcg/sysemu/seg_helper.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/cpu_helper.c
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/tcg/insn_trans/trans_privileged.c.inc
/qemu/target/loongarch/tcg/tlb_helper.c
/qemu/target/loongarch/tcg/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/meson.build
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/mmu.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu.c
/qemu/target/mips/cpu.h
/qemu/target/mips/sysemu/physaddr.c
/qemu/target/mips/tcg/msa_helper.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/mips/tcg/sysemu/tlb_helper.c
/qemu/target/mips/tcg/translate.c
/qemu/target/mips/tcg/translate.h
/qemu/target/nios2/cpu.c
/qemu/target/nios2/cpu.h
/qemu/target/nios2/translate.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/cpu.h
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/mem_helper.c
/qemu/target/ppc/mmu_common.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/op_helper.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/riscv/vector_internals.c
/qemu/target/riscv/vector_internals.h
/qemu/target/rx/cpu.c
/qemu/target/rx/cpu.h
/qemu/target/rx/translate.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/fop_helper.c
/qemu/target/sparc/gdbstub.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/machine.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/sparc/translate.c
/qemu/target/target-common.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/helper.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/mmu_helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/debuginfo.c
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/meson.build
/qemu/tcg/perf.c
/qemu/tcg/region.c
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/docker/dockerfiles/debian-hexagon-cross.docker
/qemu/tests/guest-debug/run-test.py
/qemu/tests/guest-debug/test_gdbstub.py
/qemu/tests/qemu-iotests/060.out
/qemu/tests/qemu-iotests/071.out
/qemu/tests/qemu-iotests/081.out
/qemu/tests/qemu-iotests/087.out
/qemu/tests/qemu-iotests/108.out
/qemu/tests/qemu-iotests/109
/qemu/tests/qemu-iotests/109.out
/qemu/tests/qemu-iotests/117.out
/qemu/tests/qemu-iotests/120.out
/qemu/tests/qemu-iotests/127.out
/qemu/tests/qemu-iotests/140.out
/qemu/tests/qemu-iotests/141
/qemu/tests/qemu-iotests/141.out
/qemu/tests/qemu-iotests/143.out
/qemu/tests/qemu-iotests/156.out
/qemu/tests/qemu-iotests/176.out
/qemu/tests/qemu-iotests/182.out
/qemu/tests/qemu-iotests/183.out
/qemu/tests/qemu-iotests/184.out
/qemu/tests/qemu-iotests/185
/qemu/tests/qemu-iotests/185.out
/qemu/tests/qemu-iotests/191.out
/qemu/tests/qemu-iotests/195.out
/qemu/tests/qemu-iotests/223.out
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/234.out
/qemu/tests/qemu-iotests/247.out
/qemu/tests/qemu-iotests/262.out
/qemu/tests/qemu-iotests/264
/qemu/tests/qemu-iotests/273.out
/qemu/tests/qemu-iotests/277
/qemu/tests/qemu-iotests/280.out
/qemu/tests/qemu-iotests/308
/qemu/tests/qemu-iotests/308.out
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/qemu-iotests/tests/file-io-error
/qemu/tests/qemu-iotests/tests/iothreads-resize.out
/qemu/tests/qemu-iotests/tests/iothreads-stream
/qemu/tests/qemu-iotests/tests/qsd-jobs.out
/qemu/tests/qtest/aspeed_fsi-test.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/qtest/npcm_gmac-test.c
/qemu/tests/qtest/qtest_aspeed.h
/qemu/tests/qtest/test-hmp.c
/qemu/tests/qtest/xlnx-versal-trng-test.c
/qemu/tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
/qemu/tests/tcg/aarch64/gdbstub/test-sve.py
/qemu/tests/tcg/aarch64/sysregs.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/gdbstub/interrupt.py
/qemu/tests/tcg/multiarch/gdbstub/memory.py
/qemu/tests/tcg/multiarch/gdbstub/prot-none.py
/qemu/tests/tcg/multiarch/gdbstub/registers.py
/qemu/tests/tcg/multiarch/gdbstub/sha1.py
/qemu/tests/tcg/multiarch/gdbstub/test-proc-mappings.py
/qemu/tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py
/qemu/tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
/qemu/tests/tcg/multiarch/prot-none.c
/qemu/tests/tcg/s390x/gdbstub/test-signals-s390x.py
/qemu/tests/tcg/s390x/gdbstub/test-svc.py
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-iov.c
/qemu/tests/unit/test-qga.c
/qemu/tests/vm/netbsd
/qemu/util/coroutine-ucontext.c
/qemu/util/uri.c
/qemu/util/userfaultfd.c
/qemu/util/yank.c
16ad978805-Jan-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

system/replay: Restrict icount to system emulation

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

system/replay: Restrict icount to system emulation

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

show more ...

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

system/cpu-timers: Introduce ICountMode enumerator

Rather than having to lookup for what the 0, 1, 2, ...
icount values are, use a enum definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@lin

system/cpu-timers: Introduce ICountMode enumerator

Rather than having to lookup for what the 0, 1, 2, ...
icount values are, use a enum definition.

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

show more ...

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

system/cpu-timers: Have icount_configure() return a boolean

Following the example documented since commit e3fe3988d7 ("error:
Document Error API usage rules"), have icount_configure()
return a boole

system/cpu-timers: Have icount_configure() return a boolean

Following the example documented since commit e3fe3988d7 ("error:
Document Error API usage rules"), have icount_configure()
return a boolean indicating whether an error is set or not.

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

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.readthedocs.yml
/qemu/MAINTAINERS
/qemu/accel/accel-blocker.c
/qemu/accel/dummy-cpus.c
/qemu/accel/hvf/hvf-accel-ops.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/icount-common.c
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/tcg-accel-ops-icount.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translate-all.c
/qemu/audio/coreaudio.m
/qemu/backends/cryptodev.c
/qemu/chardev/char-fe.c
/qemu/chardev/char.c
/qemu/configs/devices/arm-softmmu/default.mak
/qemu/cpu-common.c
/qemu/cpu-target.c
/qemu/disas/riscv.c
/qemu/docs/devel/docs.rst
/qemu/docs/devel/index-build.rst
/qemu/docs/devel/index-internals.rst
/qemu/docs/devel/migration/best-practices.rst
/qemu/docs/devel/migration/compatibility.rst
/qemu/docs/devel/migration/dirty-limit.rst
/qemu/docs/devel/migration/features.rst
/qemu/docs/devel/migration/index.rst
/qemu/docs/devel/migration/main.rst
/qemu/docs/devel/migration/postcopy.rst
/qemu/docs/devel/migration/vfio.rst
/qemu/docs/devel/migration/virtio.rst
/qemu/docs/devel/multi-thread-tcg.rst
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/replay.rst
/qemu/docs/devel/reset.rst
/qemu/docs/requirements.txt
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/arm/stm32.rst
/qemu/docs/system/arm/virt.rst
/qemu/docs/system/riscv/sifive_u.rst
/qemu/docs/system/riscv/virt.rst
/qemu/docs/system/target-arm.rst
/qemu/dump/dump.c
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hw/arm/Kconfig
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/b-l475e-iot01a.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/netduino2.c
/qemu/hw/arm/netduinoplus2.c
/qemu/hw/arm/olimex-stm32-h405.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32f100_soc.c
/qemu/hw/arm/stm32f205_soc.c
/qemu/hw/arm/stm32f405_soc.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/stm32vldiscovery.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/machine.c
/qemu/hw/display/qxl.h
/qemu/hw/display/virtio-gpu.c
/qemu/hw/hppa/machine.c
/qemu/hw/i386/acpi-microvm.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvm/xen_gnttab.c
/qemu/hw/i386/kvm/xen_overlay.c
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/loongarch_ipi.c
/qemu/hw/intc/s390_flic.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/q800.c
/qemu/hw/mips/mips_int.c
/qemu/hw/misc/Kconfig
/qemu/hw/misc/edu.c
/qemu/hw/misc/imx6_src.c
/qemu/hw/misc/imx7_src.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/stm32l4x5_exti.c
/qemu/hw/misc/stm32l4x5_syscfg.c
/qemu/hw/misc/trace-events
/qemu/hw/net/xen_nic.c
/qemu/hw/nvram/fw_cfg-acpi.c
/qemu/hw/nvram/meson.build
/qemu/hw/pci-host/astro.c
/qemu/hw/pci-host/gpex-acpi.c
/qemu/hw/pci-host/gpex.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_rng.c
/qemu/hw/ppc/spapr_softmmu.c
/qemu/hw/remote/mpqemu-link.c
/qemu/hw/remote/vfio-user-obj.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/virt-acpi-build.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/ipl.h
/qemu/hw/s390x/s390-ccw.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/timer/hpet.c
/qemu/hw/timer/trace-events
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/virtio-acpi.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/blockjob.h
/qemu/include/chardev/char-fe.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/memory.h
/qemu/include/exec/ramblock.h
/qemu/include/exec/translate-all.h
/qemu/include/hw/arm/armv7m.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/intc/loongarch_extioi.h
/qemu/include/hw/intc/loongarch_ipi.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/m68k/q800.h
/qemu/include/hw/misc/stm32l4x5_exti.h
/qemu/include/hw/misc/stm32l4x5_syscfg.h
/qemu/include/hw/nvram/fw_cfg_acpi.h
/qemu/include/hw/pci-host/gpex.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/virtio/virtio-acpi.h
/qemu/include/io/task.h
/qemu/include/migration/register.h
/qemu/include/qemu/coroutine-core.h
/qemu/include/qemu/coroutine.h
/qemu/include/qemu/fifo8.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread.h
/qemu/include/standard-headers/drm/drm_fourcc.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_config.h
/qemu/include/standard-headers/linux/virtio_pci.h
cpu-timers.h
/qemu/iothread.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-loongarch/bitsperlong.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-headers/asm-loongarch/mman.h
/qemu/linux-headers/asm-loongarch/unistd.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/ptrace.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/iommufd.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/stddef.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
/qemu/memory_ldst.c.inc
/qemu/meson.build
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/dirtyrate.c
/qemu/migration/migration.c
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/net/stream.c
/qemu/net/tap.c
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/pc-bios/hppa-firmware.img
/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
/qemu/qemu-img-cmds.hx
/qemu/qemu-options.hx
/qemu/replay/replay-internal.c
/qemu/roms/edk2
/qemu/roms/edk2-build.config
/qemu/roms/opensbi
/qemu/roms/seabios-hppa
/qemu/scripts/checkpatch.pl
/qemu/scripts/mtest2make.py
/qemu/scripts/update-linux-headers.sh
/qemu/semihosting/console.c
/qemu/stubs/icount.c
/qemu/stubs/iothread-lock.c
/qemu/system/cpu-throttle.c
/qemu/system/cpus.c
/qemu/system/dirtylimit.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/runstate.c
/qemu/system/vl.c
/qemu/system/watchpoint.c
/qemu/target/alpha/clk_helper.c
/qemu/target/alpha/meson.build
/qemu/target/alpha/sys_helper.c
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/cpregs.h
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/debug_helper.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/ptw.c
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/m_helper.c
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/psci.c
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.h
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/hvf/README.md
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/xen-emu.c
/qemu/target/i386/nvmm/nvmm-accel-ops.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/sysemu/fpu_helper.c
/qemu/target/i386/tcg/sysemu/misc_helper.c
/qemu/target/i386/whpx/whpx-accel-ops.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/loongarch/kvm/kvm_loongarch.h
/qemu/target/loongarch/kvm/meson.build
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/tcg/csr_helper.c
/qemu/target/loongarch/tcg/iocsr_helper.c
/qemu/target/loongarch/trace-events
/qemu/target/loongarch/trace.h
/qemu/target/mips/kvm.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/openrisc/sys_helper.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/timebase_helper.c
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvzacas.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
/qemu/target/s390x/tcg/misc_helper.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sparc/int32_helper.c
/qemu/target/sparc/int64_helper.c
/qemu/target/sparc/win_helper.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/dbg_helper.c
/qemu/target/xtensa/exc_helper.c
/qemu/target/xtensa/helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target-con-set.h
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/avocado/acpi-bits.py
/qemu/tests/avocado/kvm_xen_guest.py
/qemu/tests/avocado/machine_microblaze.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/data/acpi/virt/SSDT.memhp
/qemu/tests/fp/meson.build
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/netdev-socket.c
/qemu/tests/qtest/npcm7xx_watchdog_timer-test.c
/qemu/tests/qtest/stm32l4x5_exti-test.c
/qemu/tests/qtest/stm32l4x5_syscfg-test.c
/qemu/tests/qtest/virtio-ccw-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/lae.c
/qemu/tests/tcg/xtensa/test_break.S
/qemu/tests/unit/meson.build
/qemu/ui/cocoa.m
/qemu/ui/spice-core.c
/qemu/util/aio-posix.c
/qemu/util/aio-win32.c
/qemu/util/async.c
/qemu/util/cpuinfo-ppc.c
/qemu/util/fifo8.c
/qemu/util/main-loop.c
/qemu/util/qsp.c
/qemu/util/rcu.c
aef158b021-Oct-2023 Daan De Meyer <daan.j.demeyer@gmail.com>

Add class property to configure KVM device node to use

This allows passing the KVM device node to use as a file
descriptor via /dev/fdset/XX. Passing the device node to
use as a file descriptor allo

Add class property to configure KVM device node to use

This allows passing the KVM device node to use as a file
descriptor via /dev/fdset/XX. Passing the device node to
use as a file descriptor allows running qemu unprivileged
even when the user running qemu is not in the kvm group
on distributions where access to /dev/kvm is gated behind
membership of the kvm group (as long as the process invoking
qemu is able to open /dev/kvm and passes the file descriptor
to qemu).

Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com>
Message-ID: <20231021134015.1119597-1-daan.j.demeyer@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.readthedocs.yml
/qemu/MAINTAINERS
/qemu/accel/accel-blocker.c
/qemu/accel/dummy-cpus.c
/qemu/accel/hvf/hvf-accel-ops.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tcg-accel-ops-icount.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translate-all.c
/qemu/audio/coreaudio.m
/qemu/chardev/char-fe.c
/qemu/chardev/char.c
/qemu/configs/devices/arm-softmmu/default.mak
/qemu/cpu-common.c
/qemu/disas/riscv.c
/qemu/docs/devel/multi-thread-tcg.rst
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/replay.rst
/qemu/docs/devel/reset.rst
/qemu/docs/requirements.txt
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/arm/stm32.rst
/qemu/docs/system/riscv/sifive_u.rst
/qemu/docs/system/riscv/virt.rst
/qemu/docs/system/target-arm.rst
/qemu/dump/dump.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/b-l475e-iot01a.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/netduino2.c
/qemu/hw/arm/netduinoplus2.c
/qemu/hw/arm/olimex-stm32-h405.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32f100_soc.c
/qemu/hw/arm/stm32f205_soc.c
/qemu/hw/arm/stm32f405_soc.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/stm32vldiscovery.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/machine.c
/qemu/hw/display/cirrus_vga.c
/qemu/hw/display/qxl.h
/qemu/hw/display/vga-helpers.h
/qemu/hw/display/vga.c
/qemu/hw/display/vga_int.h
/qemu/hw/display/vga_regs.h
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/acpi-microvm.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvm/xen_gnttab.c
/qemu/hw/i386/kvm/xen_overlay.c
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/loongarch_ipi.c
/qemu/hw/intc/s390_flic.c
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/q800.c
/qemu/hw/mips/mips_int.c
/qemu/hw/misc/edu.c
/qemu/hw/misc/imx6_src.c
/qemu/hw/misc/imx7_src.c
/qemu/hw/net/xen_nic.c
/qemu/hw/nvram/fw_cfg-acpi.c
/qemu/hw/nvram/meson.build
/qemu/hw/pci-host/gpex-acpi.c
/qemu/hw/pci-host/gpex.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_rng.c
/qemu/hw/ppc/spapr_softmmu.c
/qemu/hw/remote/mpqemu-link.c
/qemu/hw/remote/vfio-user-obj.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/virt-acpi-build.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/ipl.h
/qemu/hw/s390x/s390-ccw.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/virtio-acpi.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/blockjob.h
/qemu/include/chardev/char-fe.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/ramblock.h
/qemu/include/hw/arm/armv7m.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/intc/loongarch_extioi.h
/qemu/include/hw/intc/loongarch_ipi.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/m68k/q800.h
/qemu/include/hw/nvram/fw_cfg_acpi.h
/qemu/include/hw/pci-host/gpex.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/virtio/virtio-acpi.h
/qemu/include/io/task.h
/qemu/include/migration/register.h
/qemu/include/qemu/coroutine-core.h
/qemu/include/qemu/coroutine.h
/qemu/include/qemu/fifo8.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread.h
/qemu/include/standard-headers/drm/drm_fourcc.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_config.h
/qemu/include/standard-headers/linux/virtio_pci.h
kvm_int.h
/qemu/iothread.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-loongarch/bitsperlong.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-headers/asm-loongarch/mman.h
/qemu/linux-headers/asm-loongarch/unistd.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/ptrace.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/iommufd.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/stddef.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
/qemu/memory_ldst.c.inc
/qemu/meson.build
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/dirtyrate.c
/qemu/migration/migration.c
/qemu/migration/ram.c
/qemu/net/stream.c
/qemu/net/tap.c
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
/qemu/qemu-options.hx
/qemu/replay/replay-internal.c
/qemu/roms/edk2
/qemu/roms/edk2-build.config
/qemu/roms/opensbi
/qemu/scripts/checkpatch.pl
/qemu/scripts/mtest2make.py
/qemu/scripts/update-linux-headers.sh
/qemu/semihosting/console.c
/qemu/stubs/iothread-lock.c
/qemu/system/cpu-throttle.c
/qemu/system/cpus.c
/qemu/system/dirtylimit.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/runstate.c
/qemu/system/watchpoint.c
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/cpregs.h
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/debug_helper.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/ptw.c
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/m_helper.c
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/psci.c
/qemu/target/arm/tcg/tlb_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.h
/qemu/target/hppa/int_helper.c
/qemu/target/i386/hvf/README.md
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/xen-emu.c
/qemu/target/i386/nvmm/nvmm-accel-ops.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/sysemu/fpu_helper.c
/qemu/target/i386/tcg/sysemu/misc_helper.c
/qemu/target/i386/whpx/whpx-accel-ops.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/kvm/kvm.c
/qemu/target/loongarch/kvm/kvm_loongarch.h
/qemu/target/loongarch/kvm/meson.build
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/tcg/csr_helper.c
/qemu/target/loongarch/tcg/iocsr_helper.c
/qemu/target/loongarch/trace-events
/qemu/target/loongarch/trace.h
/qemu/target/mips/kvm.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/openrisc/sys_helper.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/timebase_helper.c
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvzacas.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
/qemu/target/s390x/tcg/misc_helper.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sparc/int32_helper.c
/qemu/target/sparc/int64_helper.c
/qemu/target/sparc/win_helper.c
/qemu/target/xtensa/exc_helper.c
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target-con-set.h
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/avocado/kvm_xen_guest.py
/qemu/tests/avocado/machine_microblaze.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/data/acpi/virt/SSDT.memhp
/qemu/tests/fp/meson.build
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/netdev-socket.c
/qemu/tests/qtest/virtio-ccw-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/lae.c
/qemu/tests/unit/meson.build
/qemu/ui/cocoa.m
/qemu/ui/spice-core.c
/qemu/util/aio-posix.c
/qemu/util/aio-win32.c
/qemu/util/async.c
/qemu/util/cpuinfo-ppc.c
/qemu/util/fifo8.c
/qemu/util/main-loop.c
/qemu/util/qsp.c
/qemu/util/rcu.c

12