History log of /qemu/hw/display/ (Results 1 – 25 of 1164)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c771f88324-Apr-2024 Inès Varhol <ines.varhol@telecom-paris.fr>

hw/display : Add device DM163

This device implements the IM120417002 colors shield v1.1 for Arduino
(which relies on the DM163 8x3-channel led driving logic) and features
a simple display of an 8x8

hw/display : Add device DM163

This device implements the IM120417002 colors shield v1.1 for Arduino
(which relies on the DM163 8x3-channel led driving logic) and features
a simple display of an 8x8 RGB matrix. The columns of the matrix are
driven by the DM163 and the rows are driven externally.

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240424200929.240921-2-ines.varhol@telecom-paris.fr
[PMM: updated to new reset hold method prototype]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/bsd-user/freebsd/target_os_elf.h
/qemu/bsd-user/freebsd/target_os_stack.h
/qemu/bsd-user/main.c
/qemu/bsd-user/netbsd/target_os_elf.h
/qemu/bsd-user/openbsd/target_os_elf.h
/qemu/bsd-user/signal.c
/qemu/bsd-user/strace.c
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/hw/arm/npcm7xx.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/core/clock.c
/qemu/hw/core/machine.c
Kconfig
dm163.c
meson.build
trace-events
/qemu/hw/dma/xlnx_dpdma.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/include/exec/abi_ptr.h
/qemu/include/exec/breakpoint.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/cputlb.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/mmu-access-type.h
/qemu/include/exec/translator.h
/qemu/include/exec/user/abitypes.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/display/dm163.h
/qemu/include/hw/watchdog/sbsa_gwdt.h
/qemu/include/qemu/plugin.h
/qemu/include/user/guest-base.h
/qemu/include/user/tswap-target.h
/qemu/linux-user/elfload.c
/qemu/linux-user/i386/signal.c
/qemu/linux-user/main.c
/qemu/linux-user/ppc/signal.c
/qemu/nbd/client.c
/qemu/nbd/common.c
/qemu/nbd/nbd-internal.h
/qemu/nbd/server.c
/qemu/net/slirp.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/ppc/internal.h
/qemu/target/riscv/debug.h
/qemu/tcg/tcg.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
4250826112-Dec-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

exec: Declare target_words_bigendian() in 'exec/tswap.h'

We usually check target endianess before swapping values,
so target_words_bigendian() declaration makes sense in
"exec/tswap.h" with the targ

exec: Declare target_words_bigendian() in 'exec/tswap.h'

We usually check target endianess before swapping values,
so target_words_bigendian() declaration makes sense in
"exec/tswap.h" with the target swapping helpers.

Remove "hw/core/cpu.h" when it was only included to get
the target_words_bigendian() declaration.

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

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/container-core.yml
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/accel/hvf/hvf-accel-ops.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/ldst_atomicity.c.inc
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translator.c
/qemu/accel/tcg/user-exec.c
/qemu/accel/tcg/user-retaddr.h
/qemu/bsd-user/elfload.c
/qemu/cpu-target.c
/qemu/disas/disas.c
/qemu/docs/devel/reset.rst
/qemu/docs/devel/submitting-a-patch.rst
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/target-i386-desc.rst.inc
/qemu/gdbstub/gdbstub.c
/qemu/host/include/aarch64/host/load-extract-al16-al8.h.inc
/qemu/host/include/aarch64/host/store-insert-al16.h.inc
/qemu/host/include/generic/host/load-extract-al16-al8.h.inc
/qemu/host/include/generic/host/store-insert-al16.h.inc
/qemu/host/include/loongarch64/host/load-extract-al16-al8.h.inc
/qemu/host/include/loongarch64/host/store-insert-al16.h.inc
/qemu/host/include/x86_64/host/load-extract-al16-al8.h.inc
/qemu/hw/Kconfig
/qemu/hw/arm/Kconfig
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/char/Kconfig
/qemu/hw/char/meson.build
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/char/trace-events
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/core/generic-loader.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/reset.c
/qemu/hw/core/resettable.c
/qemu/hw/cpu/Kconfig
/qemu/hw/cpu/meson.build
/qemu/hw/cxl/cxl-cdat.c
vga.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/applesmc.c
/qemu/hw/misc/imx25_ccm.c
/qemu/hw/misc/imx31_ccm.c
/qemu/hw/misc/imx6_ccm.c
/qemu/hw/misc/imx6_src.c
/qemu/hw/misc/imx6ul_ccm.c
/qemu/hw/misc/imx7_src.c
/qemu/hw/misc/stm32l4x5_exti.c
/qemu/hw/net/imx_fec.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-hcall.h
/qemu/hw/ssi/imx_spi.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xtensa/bootparam.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/helper-gen.h.inc
/qemu/include/exec/helper-head.h.inc
/qemu/include/exec/helper-info.c.inc
/qemu/include/exec/helper-proto.h.inc
/qemu/include/exec/memop.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/tswap.h
/qemu/include/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/resettable.h
/qemu/include/qemu/osdep.h
/qemu/include/semihosting/uaccess.h
/qemu/include/sysemu/hvf.h
/qemu/include/sysemu/hvf_int.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/nvmm.h
/qemu/include/sysemu/whpx.h
/qemu/include/sysemu/xen.h
/qemu/linux-user/elfload.c
/qemu/meson.build
/qemu/page-target.c
/qemu/python/qemu/machine/machine.py
/qemu/qapi/machine.json
/qemu/qom/qom-qmp-cmds.c
/qemu/scripts/analyze-inclusions
/qemu/scripts/compare-machine-types.py
/qemu/semihosting/guestfd.c
/qemu/system/physmem.c
/qemu/system/vl.c
/qemu/target/alpha/cpu-param.h
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.h
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/kvm-consts.h
/qemu/target/avr/cpu-param.h
/qemu/target/avr/cpu.h
/qemu/target/avr/gdbstub.c
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/cpu.h
/qemu/target/i386/cpu-apic.c
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu-sysemu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/meson.build
/qemu/target/i386/monitor.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/s390x/cpu_models.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
/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
ad80e36712-Apr-2024 Peter Maydell <peter.maydell@linaro.org>

hw, target: Add ResetType argument to hold and exit phase methods

We pass a ResetType argument to the Resettable class enter
phase method, but we don't pass it to hold and exit, even though
the call

hw, target: Add ResetType argument to hold and exit phase methods

We pass a ResetType argument to the Resettable class enter
phase method, but we don't pass it to hold and exit, even though
the callsites have it readily available. This means that if
a device cared about the ResetType it would need to record it
in the enter phase method to use later on. Pass the type to
all three of the phase methods to avoid having to do that.

Commit created with

for dir in hw target include; do \
spatch --macro-file scripts/cocci-macro-file.h \
--sp-file scripts/coccinelle/reset-type.cocci \
--keep-comments --smpl-spacing --in-place \
--include-headers --dir $dir; done

and no manual edits.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Message-id: 20240412160809.1260625-5-peter.maydell@linaro.org

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/crossbuild-template.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.mailmap
/qemu/Kconfig.host
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/trace-events
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/tcg/icount-common.c
/qemu/backends/hostmem-file.c
/qemu/backends/hostmem-memfd.c
/qemu/backends/hostmem-ram.c
/qemu/backends/hostmem.c
/qemu/backends/iommufd.c
/qemu/block/gluster.c
/qemu/block/snapshot.c
/qemu/blockdev.c
/qemu/bsd-user/qemu.h
/qemu/chardev/char-fe.c
/qemu/configs/targets/aarch64-softmmu.mak
/qemu/configs/targets/i386-softmmu.mak
/qemu/configs/targets/ppc-softmmu.mak
/qemu/configs/targets/ppc64-softmmu.mak
/qemu/configs/targets/s390x-softmmu.mak
/qemu/configs/targets/x86_64-softmmu.mak
/qemu/configure
/qemu/disas/meson.build
/qemu/docs/about/deprecated.rst
/qemu/docs/about/emulation.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/requirements.txt
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/device-url-syntax.rst.inc
/qemu/docs/system/loongarch/virt.rst
/qemu/docs/system/qemu-block-drivers.rst.inc
/qemu/docs/system/replay.rst
/qemu/docs/user/main.rst
/qemu/fpu/softfloat-specialize.c.inc
/qemu/hmp-commands-info.hx
/qemu/hw/Kconfig
/qemu/hw/adc/npcm7xx_adc.c
/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/virt.c
/qemu/hw/audio/asc.c
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/sifive_uart.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/machine-qmp-cmds.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/core/qdev.c
/qemu/hw/core/reset.c
/qemu/hw/core/resettable.c
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/acpi-common.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/input/adb.c
/qemu/hw/input/ps2.c
/qemu/hw/intc/Kconfig
/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/meson.build
/qemu/hw/intc/trace-events
/qemu/hw/intc/xics.c
/qemu/hw/m68k/q800-glue.c
/qemu/hw/m68k/virt.c
/qemu/hw/meson.build
/qemu/hw/misc/djmemc.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/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/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-host/q35.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/pef.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/rtc/mc146818rtc.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/s390-stattrib-kvm.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-ccw.c
/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/npcm7xx_fiu.c
/qemu/hw/timer/Kconfig
/qemu/hw/timer/etraxfs_timer.c
/qemu/hw/timer/meson.build
/qemu/hw/timer/npcm7xx_timer.c
/qemu/hw/usb/hcd-dwc2.c
/qemu/hw/usb/xlnx-versal-usb2-ctrl-regs.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/disas/dis-asm.h
/qemu/include/exec/confidential-guest-support.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/poison.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/ramblock.h
/qemu/include/exec/user/abitypes.h
/qemu/include/hw/boards.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/arm_gic_common.h
/qemu/include/hw/intc/arm_gicv3_common.h
/qemu/include/hw/pci-host/q35.h
/qemu/include/hw/resettable.h
/qemu/include/hw/s390x/storage-attributes.h
/qemu/include/migration/register.h
/qemu/include/monitor/hmp.h
/qemu/include/qapi/qmp/qerror.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/asm-x86/kvm_para.h
/qemu/include/standard-headers/asm-x86/setup_data.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/fuse.h
/qemu/include/standard-headers/linux/input-event-codes.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_snd.h
/qemu/include/sysemu/arch_init.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/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/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/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/dirtyrate.c
/qemu/migration/migration.c
/qemu/migration/multifd-zero-page.c
/qemu/migration/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/savevm.c
/qemu/migration/savevm.h
/qemu/monitor/qmp-cmds.c
/qemu/pythondeps.toml
/qemu/qapi/machine.json
/qemu/qapi/meson.build
/qemu/qapi/opts-visitor.c
/qemu/qapi/qapi-schema.json
/qemu/qapi/qobject-input-visitor.c
/qemu/qapi/qom.json
/qemu/qapi/string-input-visitor.c
/qemu/qemu-options.hx
/qemu/qom/object.c
/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/qemu/scripts/coccinelle/reset-type.cocci
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/gensyscalls.sh
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/probe-gdb-support.py
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qapi/mypy.ini
/qemu/scripts/qapi/parser.py
/qemu/scripts/qapi/pylintrc
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/visit.py
/qemu/scripts/update-linux-headers.sh
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/rtc.c
/qemu/system/runstate.c
/qemu/target/Kconfig
/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.c
/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/confidential-guest.c
/qemu/target/i386/confidential-guest.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/host-cpu.c
/qemu/target/i386/kvm/kvm-cpu.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/kvm/meson.build
/qemu/target/i386/meson.build
/qemu/target/i386/sev.c
/qemu/target/i386/sev.h
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/kvm/kvm.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/meson.build
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/mips/kvm.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/kvm.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/pv.c
/qemu/target/s390x/kvm/pv.h
/qemu/target/sh4/cpu.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/docker/Makefile.include
/qemu/tests/qtest/machine-none-test.c
/qemu/tests/qtest/migration-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/util/qemu-option.c
f89761d302-Apr-2024 Paolo Bonzini <pbonzini@redhat.com>

vga: move dirty memory region code together

Take into account split screen mode close to wrap around, which is the
other special case for dirty memory region computation.

Signed-off-by: Paolo Bonzi

vga: move dirty memory region code together

Take into account split screen mode close to wrap around, which is the
other special case for dirty memory region computation.

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

show more ...

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

vga: optimize computation of dirty memory region

The depth == 0 and depth == 15 have to be special cased because
width * depth / 8 does not provide the correct scanline length.
However, thanks to th

vga: optimize computation of dirty memory region

The depth == 0 and depth == 15 have to be special cased because
width * depth / 8 does not provide the correct scanline length.
However, thanks to the recent reorganization of vga_draw_graphic()
the correct value of VRAM bits per pixel is available in "bits".

Use it (via the same "bwidth" computation that is used later in
the function), thus restricting the slow path to the wraparound case.

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

show more ...

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

ramfb: move stubs out of stubs/

Since the ramfb stubs are needed exactly when the Kconfig symbols are not
needed, move them to hw/display/ and compile them when ramfb.c is absent.

Signed-off-by: Pa

ramfb: move stubs out of stubs/

Since the ramfb stubs are needed exactly when the Kconfig symbols are not
needed, move them to hw/display/ and compile them when ramfb.c is absent.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240408155330.522792-14-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/qemu/Makefile
/qemu/VERSION
/qemu/accel/tcg/translator.c
/qemu/backends/cryptodev-builtin.c
/qemu/ebpf/meson.build
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/nand.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/core/meson.build
meson.build
ramfb-stubs.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/misc/applesmc.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/sd/sdhci.c
/qemu/hw/usb/bus-stub.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/usb/meson.build
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-md-stubs.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/exec/translator.h
/qemu/include/qemu/config-file.h
/qemu/include/sysemu/sysemu.h
/qemu/include/tcg/tcg.h
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
/qemu/linux-user/syscall.c
/qemu/meson.build
/qemu/monitor/meson.build
/qemu/monitor/qemu-config-qmp.c
/qemu/qemu-options.hx
/qemu/semihosting/meson.build
/qemu/semihosting/stubs-all.c
/qemu/semihosting/stubs-system.c
/qemu/stubs/hotplug-stubs.c
/qemu/stubs/meson.build
/qemu/stubs/monitor-core.c
/qemu/stubs/qdev.c
/qemu/stubs/qtest.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/tcg/translate.h
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/tcg/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/fpu_helper.c
/qemu/target/m68k/helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/translate.c
/qemu/target/microblaze/translate.c
/qemu/target/riscv/translate.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.h
/qemu/target/sh4/op_helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/helper.h
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/translate.c
/qemu/tcg/optimize.c
/qemu/tcg/tcg.c
/qemu/tests/meson.build
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/test-2150.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/util/meson.build
/qemu/util/qemu-config.c
ba28e0ff04-Apr-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

hw/display/virtio-gpu: Protect from DMA re-entrancy bugs

Replace qemu_bh_new_guarded() by virtio_bh_new_guarded()
so the bus and device use the same guard. Otherwise the
DMA-reentrancy protection ca

hw/display/virtio-gpu: Protect from DMA re-entrancy bugs

Replace qemu_bh_new_guarded() by virtio_bh_new_guarded()
so the bus and device use the same guard. Otherwise the
DMA-reentrancy protection can be bypassed:

$ cat << EOF | qemu-system-i386 -display none -nodefaults \
-machine q35,accel=qtest \
-m 512M \
-device virtio-gpu \
-qtest stdio
outl 0xcf8 0x80000820
outl 0xcfc 0xe0004000
outl 0xcf8 0x80000804
outw 0xcfc 0x06
write 0xe0004030 0x4 0x024000e0
write 0xe0004028 0x1 0xff
write 0xe0004020 0x4 0x00009300
write 0xe000401c 0x1 0x01
write 0x101 0x1 0x04
write 0x103 0x1 0x1c
write 0x9301c8 0x1 0x18
write 0x105 0x1 0x1c
write 0x107 0x1 0x1c
write 0x109 0x1 0x1c
write 0x10b 0x1 0x00
write 0x10d 0x1 0x00
write 0x10f 0x1 0x00
write 0x111 0x1 0x00
write 0x113 0x1 0x00
write 0x115 0x1 0x00
write 0x117 0x1 0x00
write 0x119 0x1 0x00
write 0x11b 0x1 0x00
write 0x11d 0x1 0x00
write 0x11f 0x1 0x00
write 0x121 0x1 0x00
write 0x123 0x1 0x00
write 0x125 0x1 0x00
write 0x127 0x1 0x00
write 0x129 0x1 0x00
write 0x12b 0x1 0x00
write 0x12d 0x1 0x00
write 0x12f 0x1 0x00
write 0x131 0x1 0x00
write 0x133 0x1 0x00
write 0x135 0x1 0x00
write 0x137 0x1 0x00
write 0x139 0x1 0x00
write 0xe0007003 0x1 0x00
EOF
...
=================================================================
==276099==ERROR: AddressSanitizer: heap-use-after-free on address 0x60d000011178
at pc 0x562cc3b736c7 bp 0x7ffed49dee60 sp 0x7ffed49dee58
READ of size 8 at 0x60d000011178 thread T0
#0 0x562cc3b736c6 in virtio_gpu_ctrl_response hw/display/virtio-gpu.c:180:42
#1 0x562cc3b7c40b in virtio_gpu_ctrl_response_nodata hw/display/virtio-gpu.c:192:5
#2 0x562cc3b7c40b in virtio_gpu_simple_process_cmd hw/display/virtio-gpu.c:1015:13
#3 0x562cc3b82873 in virtio_gpu_process_cmdq hw/display/virtio-gpu.c:1050:9
#4 0x562cc4a85514 in aio_bh_call util/async.c:169:5
#5 0x562cc4a85c52 in aio_bh_poll util/async.c:216:13
#6 0x562cc4a1a79b in aio_dispatch util/aio-posix.c:423:5
#7 0x562cc4a8a2da in aio_ctx_dispatch util/async.c:358:5
#8 0x7f36840547a8 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x547a8)
#9 0x562cc4a8b753 in glib_pollfds_poll util/main-loop.c:290:9
#10 0x562cc4a8b753 in os_host_main_loop_wait util/main-loop.c:313:5
#11 0x562cc4a8b753 in main_loop_wait util/main-loop.c:592:11
#12 0x562cc3938186 in qemu_main_loop system/runstate.c:782:9
#13 0x562cc43b7af5 in qemu_default_main system/main.c:37:14
#14 0x7f3683a6c189 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#15 0x7f3683a6c244 in __libc_start_main csu/../csu/libc-start.c:381:3
#16 0x562cc2a58ac0 in _start (qemu-system-i386+0x231bac0)

0x60d000011178 is located 56 bytes inside of 136-byte region [0x60d000011140,0x60d0000111c8)
freed by thread T0 here:
#0 0x562cc2adb662 in __interceptor_free (qemu-system-i386+0x239e662)
#1 0x562cc3b86b21 in virtio_gpu_reset hw/display/virtio-gpu.c:1524:9
#2 0x562cc416e20e in virtio_reset hw/virtio/virtio.c:2145:9
#3 0x562cc37c5644 in virtio_pci_reset hw/virtio/virtio-pci.c:2249:5
#4 0x562cc4233758 in memory_region_write_accessor system/memory.c:497:5
#5 0x562cc4232eea in access_with_adjusted_size system/memory.c:573:18

previously allocated by thread T0 here:
#0 0x562cc2adb90e in malloc (qemu-system-i386+0x239e90e)
#1 0x7f368405a678 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5a678)
#2 0x562cc4163ffc in virtqueue_split_pop hw/virtio/virtio.c:1612:12
#3 0x562cc4163ffc in virtqueue_pop hw/virtio/virtio.c:1783:16
#4 0x562cc3b91a95 in virtio_gpu_handle_ctrl hw/display/virtio-gpu.c:1112:15
#5 0x562cc4a85514 in aio_bh_call util/async.c:169:5
#6 0x562cc4a85c52 in aio_bh_poll util/async.c:216:13
#7 0x562cc4a1a79b in aio_dispatch util/aio-posix.c:423:5

SUMMARY: AddressSanitizer: heap-use-after-free hw/display/virtio-gpu.c:180:42 in virtio_gpu_ctrl_response

With this change, the same reproducer triggers:

qemu-system-i386: warning: Blocked re-entrant IO on MemoryRegion: virtio-pci-common-virtio-gpu at addr: 0x6

Fixes: CVE-2024-3446
Cc: qemu-stable@nongnu.org
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Reported-by: Yongkang Jia <kangel@zju.edu.cn>
Reported-by: Xiao Lei <nop.leixiao@gmail.com>
Reported-by: Yiming Tao <taoym@zju.edu.cn>
Buglink: https://bugs.launchpad.net/qemu/+bug/1888606
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20240409105537.18308-3-philmd@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/plugin-gen.c
/qemu/block/io.c
/qemu/disas/nanomips.c
/qemu/docs/devel/atomics.rst
/qemu/docs/devel/ci-jobs.rst.inc
/qemu/docs/devel/clocks.rst
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/i386/sgx.rst
/qemu/fpu/softfloat-specialize.c.inc
/qemu/gdbstub/internals.h
/qemu/gdbstub/system.c
/qemu/hmp-commands.hx
/qemu/hw/arm/smmu-common.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
virtio-gpu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/include/hw/audio/virtio-snd.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/migration/savevm.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/qom.json
/qemu/roms/Makefile
/qemu/roms/edk2-version
/qemu/system/qdev-monitor.c
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/i386/hvf/hvf.c
/qemu/target/ppc/cpu_init.c
/qemu/tests/qtest/libqos/ahci.c
/qemu/tests/qtest/libqos/ahci.h
1d1ee7e002-Apr-2024 Paolo Bonzini <pbonzini@redhat.com>

vga: do not treat horiz pel panning value of 8 as "enabled"

Horizontal pel panning bit 3 is only used in text mode. In graphics
mode, it can be treated as if it was zero, thus not extending the
dir

vga: do not treat horiz pel panning value of 8 as "enabled"

Horizontal pel panning bit 3 is only used in text mode. In graphics
mode, it can be treated as if it was zero, thus not extending the
dirty memory region.

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

show more ...

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

vga: adjust dirty memory region if pel panning is active

When pel panning is active, one more byte is read from each of the VGA
memory planes. This has to be accounted in the computation of region_

vga: adjust dirty memory region if pel panning is active

When pel panning is active, one more byte is read from each of the VGA
memory planes. This has to be accounted in the computation of region_end,
otherwise vga_draw_graphic() fails an assertion:

qemu-system-i386: ../system/physmem.c:946: cpu_physical_memory_snapshot_get_dirty: Assertion `start + length <= snap->end' failed.

Reported-by: Helge Konetzka <hk@zapateado.de>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2244
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

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

vga: move computation of dirty memory region later

Move the computation of region_start and region_end after the value of
"bits" is known. This makes it possible to distinguish modes that
support h

vga: move computation of dirty memory region later

Move the computation of region_start and region_end after the value of
"bits" is known. This makes it possible to distinguish modes that
support horizontal pel panning from modes that do not.

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

show more ...

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

vga: merge conditionals on shift control register

There are two sets of conditionals using the shift control bits: one to
verify the palette and adjust disp_width, one to compute the "v" and
"bits"

vga: merge conditionals on shift control register

There are two sets of conditionals using the shift control bits: one to
verify the palette and adjust disp_width, one to compute the "v" and
"bits" variables. Merge them into one, with the extra benefit that
we now have the "bits" value available early and can use it to
compute region_end.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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/VERSION
/qemu/accel/tcg/translate-all.c
/qemu/block/block-backend.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/qapi.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/plugins/execlog.c
/qemu/contrib/plugins/howvec.c
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/disas/disas-mon.c
/qemu/disas/disas.c
/qemu/docs/about/deprecated.rst
/qemu/docs/devel/clocks.rst
/qemu/docs/devel/migration/CPR.rst
/qemu/docs/devel/migration/features.rst
/qemu/docs/devel/nested-papr.txt
/qemu/docs/devel/tracing.rst
/qemu/docs/interop/vhost-user.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/devices/vdpa-net.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_rss.c
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/user.c
/qemu/hw/acpi/acpi_generic_initiator.c
/qemu/hw/acpi/hmat.c
/qemu/hw/acpi/meson.build
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/raspi4b.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/m25p80.c
/qemu/hw/core/clock.c
/qemu/hw/core/machine.c
/qemu/hw/core/numa.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cxl/cxl-component-utils.c
vga.c
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/pca9552.c
/qemu/hw/gpio/pca9554.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/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/loongarch/virt.c
/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/stm32l4x5_rcc.c
/qemu/hw/misc/trace-events
/qemu/hw/net/igb.c
/qemu/hw/net/net_tx_pkt.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/pci_expander_bridge.c
/qemu/hw/pci/pci.c
/qemu/hw/pci/pcie.c
/qemu/hw/pci/pcie_sriov.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/ppc.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/scsi/scsi-generic.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/ssi/aspeed_smc.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/vhost.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_config_init.c
/qemu/include/exec/exec-all.h
/qemu/include/exec/ram_addr.h
/qemu/include/gdbstub/user.h
/qemu/include/hw/acpi/acpi_generic_initiator.h
/qemu/include/hw/audio/virtio-snd.h
/qemu/include/hw/block/flash.h
/qemu/include/hw/clock.h
/qemu/include/hw/cxl/cxl_component.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/i386/pc.h
/qemu/include/hw/pci/pcie_regs.h
/qemu/include/hw/pci/pcie_sriov.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/virtio/vhost-vdpa.h
/qemu/include/hw/virtio/virtio-iommu.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/io/channel-file.h
/qemu/include/net/vhost_net.h
/qemu/include/qemu/job.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/sysemu/numa.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/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/fd.c
/qemu/migration/fd.h
/qemu/migration/file.c
/qemu/migration/file.h
/qemu/migration/migration.c
/qemu/migration/multifd.c
/qemu/monitor/hmp-cmds-target.c
/qemu/nbd/server.c
/qemu/net/af-xdp.c
/qemu/net/tap-win32.c
/qemu/net/tap.c
/qemu/net/trace-events
/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-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/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/migration.json
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/pragma.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/qapi-schema.json
/qemu/roms/Makefile
/qemu/roms/edk2-build.config
/qemu/scripts/tracetool.py
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/subprojects/libvhost-user/libvhost-user.h
/qemu/system/physmem.c
/qemu/system/qemu-seccomp.c
/qemu/system/vl.c
/qemu/target/arm/tcg/translate.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/loongarch/cpu-csr.h
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/tcg/insn_trans/trans_atomic.c.inc
/qemu/target/loongarch/tcg/tlb_helper.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/translate.c
/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/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/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/s390x/cpu_models.c
/qemu/target/s390x/tcg/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/helper.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/optimize.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/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/bios-tables-test.c
/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-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/unit/meson.build
/qemu/tests/unit/socket-helpers.c
/qemu/tests/unit/test-crypto-cipher.c
/qemu/tests/unit/test-throttle.c
/qemu/tests/vm/basevm.py
/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/kbd-state.c
/qemu/ui/meson.build
/qemu/ui/vnc.c
/qemu/util/qemu-coroutine.c
dfcf74fa15-Jan-2024 Marc-André Lureau <marcandre.lureau@redhat.com>

virtio-gpu: fix scanout migration post-load

The current post-loading code for scanout has a FIXME: it doesn't take
the resource region/rect into account. But there is more, when adding
blob migratio

virtio-gpu: fix scanout migration post-load

The current post-loading code for scanout has a FIXME: it doesn't take
the resource region/rect into account. But there is more, when adding
blob migration support in commit f66767f75c9, I didn't realize that blob
resources could be used for scanouts. This situationn leads to a crash
during post-load, as they don't have an associated res->image.

virtio_gpu_do_set_scanout() handle all cases, but requires the
associated virtio_gpu_framebuffer, which is currently not saved during
migration.

Add a v2 of "virtio-gpu-one-scanout" with the framebuffer fields, so we
can restore blob scanouts, as well as fixing the existing FIXME.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Sebastian Ott <sebott@redhat.com>

show more ...

cab47b2115-Jan-2024 Marc-André Lureau <marcandre.lureau@redhat.com>

virtio-gpu: remove needless condition

qemu_create_displaysurface_pixman() never returns NULL.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>


/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/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/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/conf.py
/qemu/docs/devel/acpi-bits.rst
/qemu/docs/devel/migration/main.rst
/qemu/docs/interop/firmware.json
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/hmp-commands-info.hx
/qemu/hw/acpi/aml-build.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/palm.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/tosa.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/xen_arm.c
/qemu/hw/arm/z2.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/machine-smp.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cxl/cxl-cdat.c
virtio-gpu.c
/qemu/hw/gpio/Kconfig
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/stm32l4x5_gpio.c
/qemu/hw/gpio/trace-events
/qemu/hw/hyperv/hv-balloon.c
/qemu/hw/hyperv/hyperv.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i386/meson.build
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/vapic.c
/qemu/hw/i386/xen/meson.build
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/intc/grlib_irqmp.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/m68k/mcf5208.c
/qemu/hw/m68k/virt.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/stm32l4x5_syscfg.c
/qemu/hw/net/xen_nic.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci/msi.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/remote/remote-obj.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/scsi/lsi53c895a.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/cpr.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-balloon.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-defs.h
/qemu/include/hw/acpi/aml-build.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/cxl/cxl_cdat.h
/qemu/include/hw/gpio/stm32l4x5_gpio.h
/qemu/include/hw/hyperv/dynmem-proto.h
/qemu/include/hw/hyperv/hyperv.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/misc/stm32l4x5_syscfg.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/rtc/sun4v-rtc.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/vfio/vfio-container-base.h
/qemu/include/hw/xen/xen-hvm-common.h
/qemu/include/hw/xen/xen_igd.h
/qemu/include/migration/client-options.h
/qemu/include/migration/misc.h
/qemu/include/migration/register.h
/qemu/include/qapi/qmp/qerror.h
/qemu/include/qemu/help-texts.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
/qemu/include/sysemu/xen-mapcache.h
/qemu/include/sysemu/xen.h
/qemu/io/channel-file.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/syscall.c
/qemu/migration/colo.c
/qemu/migration/file.c
/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/qemu-file.c
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/trace-events
/qemu/net/colo-compare.c
/qemu/net/vhost-vdpa.c
/qemu/qapi/migration.json
/qemu/qapi/ui.json
/qemu/qapi/virtio.json
/qemu/qga/commands-win32.c
/qemu/replay/replay.c
/qemu/scripts/coverity-scan/run-coverity-scan
/qemu/scripts/make-release
/qemu/stubs/colo.c
/qemu/stubs/xen-hw-stub.c
/qemu/system/dirtylimit.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/vl.c
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/meson.build
/qemu/target/arm/tcg/cpu-v7m.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/meson.build
/qemu/target/arm/tcg/sme_helper.c
/qemu/target/arm/trace-events
/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/target/loongarch/kvm/kvm.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/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/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/riscv-virt-machine.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/sme-smopa-1.c
/qemu/tests/tcg/aarch64/sme-smopa-2.c
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/unit/test-smp-parse.c
/qemu/tests/unit/test-vmstate.c
/qemu/ui/cocoa.m
/qemu/ui/dbus-listener.c
/qemu/ui/trace-events
/qemu/ui/vnc.c
ee1004bb29-Jan-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

bulk: Access existing variables initialized to &S->F when available

When a variable is initialized to &struct->field, use it
in place. Rationale: while this makes the code more concise,
this also he

bulk: Access existing variables initialized to &S->F when available

When a variable is initialized to &struct->field, use it
in place. Rationale: while this makes the code more concise,
this also helps static analyzers.

Mechanical change using the following Coccinelle spatch script:

@@
type S, F;
identifier s, m, v;
@@
S *s;
...
F *v = &s->m;
<+...
- &s->m
+ v
...+>

Inspired-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240129164514.73104-2-philmd@linaro.org>
Acked-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
[thuth: Dropped hunks that need a rebase, and fixed sizeof() in pmu_realize()]
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

d470fd6a23-Feb-2024 Zhao Liu <zhao1.liu@intel.com>

hw/display/macfb: Fix missing ERRP_GUARD() in macfb_nubus_realize()

As the comment in qapi/error, dereferencing @errp requires
ERRP_GUARD():

* = Why, when and how to use ERRP_GUARD() =
*
* Without

hw/display/macfb: Fix missing ERRP_GUARD() in macfb_nubus_realize()

As the comment in qapi/error, dereferencing @errp requires
ERRP_GUARD():

* = Why, when and how to use ERRP_GUARD() =
*
* Without ERRP_GUARD(), use of the @errp parameter is restricted:
* - It must not be dereferenced, because it may be null.
...
* ERRP_GUARD() lifts these restrictions.
*
* To use ERRP_GUARD(), add it right at the beginning of the function.
* @errp can then be used without worrying about the argument being
* NULL or &error_fatal.
*
* Using it when it's not needed is safe, but please avoid cluttering
* the source with useless code.

But in macfb_nubus_realize(), @errp is dereferenced without
ERRP_GUARD():

ndc->parent_realize(dev, errp);
if (*errp) {
return;
}

Here we check *errp, because the ndc->parent_realize(), as a
DeviceClass.realize() callback, returns void. And since
macfb_nubus_realize(), also as a DeviceClass.realize(), doesn't get the
NULL @errp parameter, it hasn't triggered the bug that dereferencing the
NULL @errp.

To follow the requirement of @errp, add missing ERRP_GUARD() in
macfb_nubus_realize().

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240223085653.1255438-3-zhao1.liu@linux.intel.com>
Signed-off-by: Thomas Huth <thuth@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/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/acpi-bits.rst
/qemu/docs/interop/firmware.json
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/hmp-commands-info.hx
/qemu/hw/acpi/aml-build.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/xen_arm.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/machine-smp.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cxl/cxl-cdat.c
/qemu/hw/cxl/cxl-host.c
macfb.c
/qemu/hw/gpio/Kconfig
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/stm32l4x5_gpio.c
/qemu/hw/gpio/trace-events
/qemu/hw/hyperv/hv-balloon.c
/qemu/hw/hyperv/hyperv.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i386/meson.build
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/vapic.c
/qemu/hw/i386/xen/meson.build
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/intc/grlib_irqmp.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/m68k/mcf5208.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/stm32l4x5_syscfg.c
/qemu/hw/net/xen_nic.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci/msi.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/remote/remote-obj.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/scsi/lsi53c895a.c
/qemu/hw/vfio/pci.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-defs.h
/qemu/include/hw/acpi/aml-build.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/cxl/cxl_cdat.h
/qemu/include/hw/gpio/stm32l4x5_gpio.h
/qemu/include/hw/hyperv/dynmem-proto.h
/qemu/include/hw/hyperv/hyperv.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/misc/stm32l4x5_syscfg.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/rtc/sun4v-rtc.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/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
/qemu/include/sysemu/xen-mapcache.h
/qemu/include/sysemu/xen.h
/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/syscall.c
/qemu/qapi/ui.json
/qemu/qapi/virtio.json
/qemu/replay/replay.c
/qemu/scripts/coverity-scan/run-coverity-scan
/qemu/scripts/make-release
/qemu/stubs/xen-hw-stub.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/vl.c
/qemu/target/arm/cpu-features.h
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/meson.build
/qemu/target/arm/tcg/cpu-v7m.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/meson.build
/qemu/target/arm/tcg/sme_helper.c
/qemu/target/arm/trace-events
/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/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/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/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/riscv-virt-machine.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/stm32l4x5_gpio-test.c
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/aarch64/sme-smopa-1.c
/qemu/tests/tcg/aarch64/sme-smopa-2.c
/qemu/tests/tcg/riscv64/Makefile.target
/qemu/tests/unit/test-smp-parse.c
/qemu/ui/cocoa.m
9ed7c6dd29-Jan-2024 Paolo Bonzini <pbonzini@redhat.com>

mips: do not list individual devices from configs/

Add new "select" and "imply" directives if needed. The resulting
config-devices.mak files are the same as before.
Builds without default devices w

mips: do not list individual devices from configs/

Add new "select" and "imply" directives if needed. The resulting
config-devices.mak files are the same as before.
Builds without default devices will become much smaller
than before, and qtests fail (as expected, though suboptimal)
for mips64-softmmu because most tests do not use -nodefaults,
so remove it from build-without-defaults

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

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/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/configs/devices/mips-softmmu/common.mak
/qemu/configs/devices/mips64el-softmmu/default.mak
/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/qom.rst
/qemu/docs/devel/reset.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/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/arm/Kconfig
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2400.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/aspeed_soc_common.c
/qemu/hw/arm/b-l475e-iot01a.c
/qemu/hw/arm/bcm2835_peripherals.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/bcm2838.c
/qemu/hw/arm/bcm2838_peripherals.c
/qemu/hw/arm/meson.build
/qemu/hw/arm/raspi.c
/qemu/hw/arm/raspi4b.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/trace-events
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/m25p80_sfdp.c
/qemu/hw/block/m25p80_sfdp.h
/qemu/hw/char/pl011.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/machine.c
/qemu/hw/core/meson.build
/qemu/hw/core/reset.c
/qemu/hw/core/resetcontainer.c
Kconfig
/qemu/hw/gpio/bcm2838_gpio.c
/qemu/hw/gpio/meson.build
/qemu/hw/i2c/Kconfig
/qemu/hw/i2c/bcm2835_i2c.c
/qemu/hw/i2c/meson.build
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/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/sgx.c
/qemu/hw/i386/x86-iommu.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/atapi.c
/qemu/hw/ide/cmd646.c
/qemu/hw/ide/core.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/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/intc/Kconfig
/qemu/hw/intc/apic.c
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/loongarch/virt.c
/qemu/hw/mips/Kconfig
/qemu/hw/misc/Kconfig
/qemu/hw/misc/bcm2835_property.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/stm32l4x5_rcc.c
/qemu/hw/misc/trace-events
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/rtc/m48t59.c
/qemu/hw/rtc/pl031.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/trace-events
/qemu/hw/ssi/xlnx-versal-ospi.c
/qemu/hw/timer/pxa2xx_timer.c
/qemu/hw/tpm/tpm_ppi.c
/qemu/hw/usb/bus.c
/qemu/hw/usb/meson.build
/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/arm/aspeed_soc.h
/qemu/include/hw/arm/bcm2835_peripherals.h
/qemu/include/hw/arm/bcm2836.h
/qemu/include/hw/arm/bcm2838.h
/qemu/include/hw/arm/bcm2838_peripherals.h
/qemu/include/hw/arm/raspberrypi-fw-defs.h
/qemu/include/hw/arm/raspi_platform.h
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/resetcontainer.h
/qemu/include/hw/display/bcm2835_fb.h
/qemu/include/hw/gpio/bcm2838_gpio.h
/qemu/include/hw/i2c/bcm2835_i2c.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/i386/x86.h
/qemu/include/hw/ide/ide-dev.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/misc/macio/macio.h
/qemu/include/hw/misc/stm32l4x5_rcc.h
/qemu/include/hw/misc/stm32l4x5_rcc_internals.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/qom/object.h
/qemu/include/sysemu/reset.h
/qemu/include/sysemu/sysemu.h
/qemu/include/user/safe-syscall.h
/qemu/io/channel-file.c
/qemu/io/channel.c
/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/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/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/roms/edk2
/qemu/scripts/feature_to_c.py
/qemu/scripts/qapi/parser.py
/qemu/semihosting/arm-compat-semi.c
/qemu/system/bootdevice.c
/qemu/system/globals.c
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/vl.c
/qemu/target/alpha/cpu-param.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/internals.h
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/translate.c
/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/i386/cpu.h
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/sysemu/misc_helper.c
/qemu/target/i386/tcg/sysemu/svm_helper.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/gdbstub.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/avocado/boot_linux_console.py
/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/qgraph.h
/qemu/tests/qtest/libqos/virtio.c
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/stm32l4x5_exti-test.c
/qemu/tests/qtest/stm32l4x5_rcc-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/semicall.h
/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/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/spice-core.c
/qemu/util/notify.c
/qemu/util/oslib-posix.c
15f07fb823-Feb-2024 Paolo Bonzini <pbonzini@redhat.com>

hw/usb: extract sysbus-ohci to a separate file

Split the sysbus version to a separate file so that it is not
included in PCI-only machines, and adjust Kconfig for machines
that do need sysbus-ohci.

hw/usb: extract sysbus-ohci to a separate file

Split the sysbus version to a separate file so that it is not
included in PCI-only machines, and adjust Kconfig for machines
that do need sysbus-ohci. The copyrights are based on the
time and employer of balrog and Paul Brook's contributions.

While adjusting the SM501 dependency, move it to the right place
instead of keeping it in the R4D machine.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-10-pbonzini@redhat.com>
[PMD: Rename some functions using 'ohci_sysbus_' prefix]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

6d73fff322-Sep-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

hw/display/exynos4210_fimd: Pass frame buffer memory region as link

Add the Exynos4210fimdState::'framebuffer-memory' property. Have
the board set it. We don't need to call sysbus_address_space()
an

hw/display/exynos4210_fimd: Pass frame buffer memory region as link

Add the Exynos4210fimdState::'framebuffer-memory' property. Have
the board set it. We don't need to call sysbus_address_space()
anymore.

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

show more ...

c209366022-Sep-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

hw/display/pl110: Pass frame buffer memory region as link property

Add the PL110::'framebuffer-memory' property. Have the different
ARM boards set it. We don't need to call sysbus_address_space()
an

hw/display/pl110: Pass frame buffer memory region as link property

Add the PL110::'framebuffer-memory' property. Have the different
ARM boards set it. We don't need to call sysbus_address_space()
anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240226173805.289-3-philmd@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/block.c
/qemu/block/crypto.c
/qemu/block/crypto.h
/qemu/block/qcow.c
/qemu/block/qcow2.c
/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/cpu-target.c
/qemu/crypto/block-luks.c
/qemu/crypto/block.c
/qemu/crypto/blockpriv.h
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/crypto/cipher-nettle.c.inc
/qemu/crypto/cipher.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/qapi-code-gen.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/cpu-models-x86-abi.csv
/qemu/docs/system/cpu-models-x86.rst.inc
/qemu/docs/system/devices/canokey.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/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/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/block/tc58128.c
/qemu/hw/char/grlib_apbuart.c
/qemu/hw/core/sysbus.c
pl110.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-common.c
/qemu/hw/i386/acpi-common.h
/qemu/hw/i386/fw_cfg.c
/qemu/hw/i386/fw_cfg.h
/qemu/hw/i386/kvm/ioapic.c
/qemu/hw/i386/kvmvapic.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/ide/Kconfig
/qemu/hw/ide/ahci-allwinner.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/cf.c
/qemu/hw/ide/cmd646.c
/qemu/hw/ide/ich.c
/qemu/hw/ide/ide-bus.c
/qemu/hw/ide/ide-dev.c
/qemu/hw/ide/meson.build
/qemu/hw/ide/pci.c
/qemu/hw/ide/piix.c
/qemu/hw/ide/sii3112.c
/qemu/hw/ide/via.c
/qemu/hw/input/pckbd.c
/qemu/hw/intc/grlib_irqmp.c
/qemu/hw/intc/s390_flic_kvm.c
/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/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/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/nvram/fw_cfg.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/meson.build
/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/rx/rx-gdbsim.c
/qemu/hw/rx/rx62n.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/trace-events
/qemu/hw/sh4/r2d.c
/qemu/hw/sh4/sh7750_regs.h
/qemu/hw/sparc/leon3.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/sparc64.c
/qemu/hw/timer/grlib_gptimer.c
/qemu/hw/timer/hpet.c
/qemu/hw/tricore/tricore_testboard.c
/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-uhci.c
/qemu/hw/usb/hcd-uhci.h
/qemu/include/crypto/block.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/virt.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/char/grlib_uart.h
/qemu/include/hw/cxl/cxl_device.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/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/internal.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/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/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-vsock-common.h
/qemu/include/net/filter.h
/qemu/include/qemu/osdep.h
/qemu/include/sysemu/os-posix.h
/qemu/include/sysemu/os-win32.h
/qemu/include/tcg/tcg.h
/qemu/include/user/syscall-trace.h
/qemu/io/channel-tls.c
/qemu/io/trace-events
/qemu/iothread.c
/qemu/linux-user/aarch64/target_prctl.h
/qemu/meson.build
/qemu/monitor/hmp-cmds-target.c
/qemu/os-posix.c
/qemu/pc-bios/README
/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/roms/seabios-hppa
/qemu/scripts/ci/gitlab-pipeline-status
/qemu/scripts/cpu-x86-uarch-abi.py
/qemu/scripts/qapi/parser.py
/qemu/scripts/qapi/schema.py
/qemu/scripts/qapi/source.py
/qemu/system/memory_ldst.c.inc
/qemu/system/physmem.c
/qemu/system/vl.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/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.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/monitor.c
/qemu/target/i386/tcg/translate.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/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/qemu-iotests/210.out
/qemu/tests/qemu-iotests/tests/luks-detached-header
/qemu/tests/qemu-iotests/tests/luks-detached-header.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/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/tests/unit/test-crypto-block.c
/qemu/tests/unit/test-crypto-cipher.c
/qemu/ui/clipboard.c
/qemu/ui/console.c
/qemu/ui/meson.build
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/util/qemu-sockets.c
588a09da30-Jan-2024 Manos Pitsidianakis <manos.pitsidianakis@linaro.org>

virtio-gpu-rutabaga.c: override resource_destroy method

When the Rutabaga GPU device frees resources, it calls
rutabaga_resource_unref for that resource_id. However, when the generic
VirtIOGPU funct

virtio-gpu-rutabaga.c: override resource_destroy method

When the Rutabaga GPU device frees resources, it calls
rutabaga_resource_unref for that resource_id. However, when the generic
VirtIOGPU functions destroys resources, it only removes the
virtio_gpu_simple_resource from the device's VirtIOGPU->reslist list.
The rutabaga resource associated with that resource_id is then leaked.

This commit overrides the resource_destroy class method introduced in
the previous commit to fix this.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <e3778e44c98a35839de2f4938e5355449fa3aa14.1706626470.git.manos.pitsidianakis@linaro.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

330399bd30-Jan-2024 Manos Pitsidianakis <manos.pitsidianakis@linaro.org>

virtio-gpu.c: add resource_destroy class method

When destroying/unrefing resources, devices such as virtio-gpu-rutabaga
need to do their own bookkeeping (free rutabaga resources that are
associated

virtio-gpu.c: add resource_destroy class method

When destroying/unrefing resources, devices such as virtio-gpu-rutabaga
need to do their own bookkeeping (free rutabaga resources that are
associated with the virtio_gpu_simple_resource).

This commit adds a class method so that virtio-gpu-rutabaga can override
it in the next commit.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <b0a86630c4d601f3a269fd7e08cfefc13bd4e219.1706626470.git.manos.pitsidianakis@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

8b16208230-Jan-2024 Manos Pitsidianakis <manos.pitsidianakis@linaro.org>

hw/display/virtio-gpu.c: use reset_bh class method

While the VirtioGPU type has a reset_bh field to specify a reset
callback, it's never used. virtio_gpu_reset() calls the general
virtio_gpu_reset_b

hw/display/virtio-gpu.c: use reset_bh class method

While the VirtioGPU type has a reset_bh field to specify a reset
callback, it's never used. virtio_gpu_reset() calls the general
virtio_gpu_reset_bh() function for all devices that inherit from
VirtioGPU.

While no devices override reset_bh at the moment, a device reset might
require special logic for implementations in the future.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <87fb4fa72ce5b341a6f957513a00dcb79fd5997f.1706626470.git.manos.pitsidianakis@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

574b64aa29-Jan-2024 Dmitry Osipenko <dmitry.osipenko@collabora.com>

virtio-gpu: Correct virgl_renderer_resource_get_info() error check

virgl_renderer_resource_get_info() returns errno and not -1 on error.
Correct the return-value check.

Reviewed-by: Marc-André Lure

virtio-gpu: Correct virgl_renderer_resource_get_info() error check

virgl_renderer_resource_get_info() returns errno and not -1 on error.
Correct the return-value check.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Message-Id: <20240129073921.446869-1-dmitry.osipenko@collabora.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/accel/accel-system.c
/qemu/accel/accel-system.h
/qemu/accel/accel-target.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/stubs/kvm-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/icount-common.c
/qemu/accel/tcg/ldst_common.c.inc
/qemu/accel/tcg/meson.build
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tb-maint.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/tcg-accel-ops.h
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/watchpoint.c
/qemu/audio/pwaudio.c
/qemu/backends/cryptodev.c
/qemu/backends/hostmem.c
/qemu/block.c
/qemu/block/blkio.c
/qemu/block/blklogwrites.c
/qemu/block/block-backend.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/configure
/qemu/contrib/vhost-user-gpu/virgl.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/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/qapi-code-gen.rst
/qemu/docs/devel/tcg-ops.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/interop/bitmaps.rst
/qemu/docs/interop/qemu-ga.rst
/qemu/docs/interop/vhost-user.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/b-l475e-iot01a.rst
/qemu/docs/system/arm/bananapi_m2u.rst
/qemu/docs/system/arm/raspi.rst
/qemu/docs/system/arm/virt.rst
/qemu/docs/system/device-emulation.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/i386/xen.rst
/qemu/docs/system/keys.rst.inc
/qemu/docs/user/main.rst
/qemu/dump/dump-hmp-cmds.c
/qemu/hmp-commands-info.hx
/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/smmu-common.c
/qemu/hw/arm/smmuv3-internal.h
/qemu/hw/arm/spitz.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32l4x5_soc.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/fdc-internal.h
/qemu/hw/block/fdc-isa.c
/qemu/hw/block/fdc-sysbus.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/pflash_cfi02.c
/qemu/hw/block/tc58128.c
/qemu/hw/block/trace-events
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/imx_serial.c
/qemu/hw/char/parallel-isa.c
/qemu/hw/char/parallel.c
/qemu/hw/char/serial-isa.c
/qemu/hw/core/bus.c
/qemu/hw/core/cpu-common.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-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
virtio-gpu-virgl.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/amd_iommu-stub.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/amd_iommu.h
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/apic.c
/qemu/hw/i386/meson.build
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/i386/xen/xen_apic.c
/qemu/hw/input/adb.c
/qemu/hw/input/meson.build
/qemu/hw/intc/apic.c
/qemu/hw/intc/apic_common.c
/qemu/hw/intc/trace-events
/qemu/hw/intc/xics.c
/qemu/hw/isa/vt82c686.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/cxl_type3.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/Kconfig
/qemu/hw/misc/meson.build
/qemu/hw/misc/stm32l4x5_exti.c
/qemu/hw/misc/stm32l4x5_syscfg.c
/qemu/hw/misc/trace-events
/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-bridge/cxl_downstream.c
/qemu/hw/pci-bridge/cxl_root_port.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-host/astro.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/pegasos2.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/Kconfig
/qemu/hw/riscv/boot.c
/qemu/hw/riscv/microchip_pfsoc.c
/qemu/hw/riscv/numa.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/riscv/virt-acpi-build.c
/qemu/hw/riscv/virt.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/s390x/sclpcpu.c
/qemu/hw/scsi/esp-pci.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/sh4/r2d.c
/qemu/hw/sh4/shix.c
/qemu/hw/smbios/smbios.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/timer/hpet.c
/qemu/hw/timer/trace-events
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci.c
/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-acpi.c
/qemu/hw/virtio/virtio-iommu.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/virtio/virtio.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/aio.h
/qemu/include/block/block-global-state.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/block/raw-aio.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/ioport.h
/qemu/include/exec/translate-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/stm32l4x5_soc.h
/qemu/include/hw/arm/xlnx-versal.h
/qemu/include/hw/audio/asc.h
/qemu/include/hw/block/block.h
/qemu/include/hw/block/fdc.h
/qemu/include/hw/char/imx_serial.h
/qemu/include/hw/char/parallel-isa.h
/qemu/include/hw/char/parallel.h
/qemu/include/hw/char/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/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/elf_ops.h
/qemu/include/hw/firmware/smbios.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/apic.h
/qemu/include/hw/i386/apic_internal.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/stm32l4x5_exti.h
/qemu/include/hw/misc/stm32l4x5_syscfg.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/scsi/scsi.h
/qemu/include/hw/ssi/bcm2835_spi.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/virtio-acpi.h
/qemu/include/hw/virtio/virtio-blk.h
/qemu/include/hw/virtio/virtio-input.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
/qemu/include/sysemu/cpu-timers.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
/qemu/include/sysemu/replay.h
/qemu/include/tcg/debuginfo.h
/qemu/include/tcg/perf.h
/qemu/include/tcg/tcg-cond.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/multifd-zlib.c
/qemu/migration/multifd-zstd.c
/qemu/migration/multifd.c
/qemu/migration/multifd.h
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/trace-events
/qemu/migration/yank_functions.c
/qemu/monitor/qmp.c
/qemu/net/af-xdp.c
/qemu/net/net.c
/qemu/pc-bios/hppa-firmware.img
/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-img-cmds.hx
/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/roms/seabios-hppa
/qemu/scripts/analyze-migration.py
/qemu/scripts/clean-includes
/qemu/scripts/qapi/parser.py
/qemu/semihosting/uaccess.c
/qemu/stubs/icount.c
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/system/cpu-timers.c
/qemu/system/globals.c
/qemu/system/ioport.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/cpu.c
/qemu/target/alpha/cpu.h
/qemu/target/alpha/meson.build
/qemu/target/alpha/sys_helper.c
/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/ptw.c
/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-sysemu.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/sev.c
/qemu/target/i386/tcg/helper-tcg.h
/qemu/target/i386/tcg/sysemu/misc_helper.c
/qemu/target/i386/tcg/sysemu/seg_helper.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-apic.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-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/debug.c
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/insn_trans/trans_rva.c.inc
/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/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/kvm/kvm_riscv.h
/qemu/target/riscv/machine.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/dbg_helper.c
/qemu/target/xtensa/helper.c
/qemu/target/xtensa/mmu_helper.c
/qemu/target/xtensa/translate.c
/qemu/tcg/aarch64/tcg-target-con-set.h
/qemu/tcg/aarch64/tcg-target-con-str.h
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/aarch64/tcg-target.h
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/arm/tcg-target.h
/qemu/tcg/debuginfo.c
/qemu/tcg/i386/tcg-target-con-set.h
/qemu/tcg/i386/tcg-target-con-str.h
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/i386/tcg-target.h
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tcg/meson.build
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/mips/tcg-target.h
/qemu/tcg/optimize.c
/qemu/tcg/perf.c
/qemu/tcg/ppc/tcg-target-con-set.h
/qemu/tcg/ppc/tcg-target-con-str.h
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target.h
/qemu/tcg/region.c
/qemu/tcg/riscv/tcg-target.c.inc
/qemu/tcg/riscv/tcg-target.h
/qemu/tcg/s390x/tcg-target-con-set.h
/qemu/tcg/s390x/tcg-target-con-str.h
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/s390x/tcg-target.h
/qemu/tcg/sparc64/tcg-target.c.inc
/qemu/tcg/sparc64/tcg-target.h
/qemu/tcg/tcg-internal.h
/qemu/tcg/tcg.c
/qemu/tcg/tci.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tcg/tci/tcg-target.h
/qemu/tests/avocado/acpi-bits.py
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/data/acpi/q35/DSDT.cxl
/qemu/tests/data/acpi/q35/IVRS.ivrs
/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/check
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/qemu-iotests/testenv.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-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/qtest/npcm7xx_watchdog_timer-test.c
/qemu/tests/qtest/npcm_gmac-test.c
/qemu/tests/qtest/qtest_aspeed.h
/qemu/tests/qtest/stm32l4x5_exti-test.c
/qemu/tests/qtest/stm32l4x5_syscfg-test.c
/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/aarch64/system/vtimer.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/tcg/xtensa/test_break.S
/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/unit/test-util-filemonitor.c
/qemu/tests/vm/basevm.py
/qemu/tests/vm/freebsd
/qemu/tests/vm/netbsd
/qemu/util/async.c
/qemu/util/coroutine-ucontext.c
/qemu/util/fdmon-io_uring.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
4352626029-Dec-2014 Paolo Bonzini <pbonzini@redhat.com>

vga: sort-of implement word and double-word access modes

Jazz Jackrabbit has a very unusual VGA setup, where it uses odd/even mode
with 256-color graphics. Probably, it wants to use fast VRAM-to-VR

vga: sort-of implement word and double-word access modes

Jazz Jackrabbit has a very unusual VGA setup, where it uses odd/even mode
with 256-color graphics. Probably, it wants to use fast VRAM-to-VRAM
copies without having to store 4 copies of the sprites as needed in mode
X, one for each mod-4 alignment; odd/even mode simplifies the code a
lot if it's okay to place on a 160-pixels horizontal grid.

At the same time, because it wants to use double buffering (a la "mode X")
it uses byte mode, not word mode as is the case in text modes. In order
to implement the combination of odd/even mode (plane number comes from
bit 0 of the address) and byte mode (use all bytes of VRAM, whereas word
mode only uses bytes 0, 2, 4,... on each of the four planes), we need
to separate the effect on the plane number from the effect on the address.

Implementing the modes properly is a mess in QEMU, because it would
change the layout of VRAM and break migration. As an approximation,
shift right when the CPU accesses memory instead of shifting left when
the CRT controller reads it. A hack is needed in order to write font data
properly (see comment in the code), but it works well enough for the game.

Because doubleword and chain4 modes are now independent, chain4 does not
assert anymore that the address is in range. Instead it just returns
all ones and discards writes, like other modes.

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

show more ...

3f83435030-Dec-2014 Paolo Bonzini <pbonzini@redhat.com>

vga: use latches in odd/even mode too

Jazz Jackrabbit uses odd/even mode with 256-color graphics. This is
probably so that it can do very fast blitting with a decent resolution
(two pixels, compare

vga: use latches in odd/even mode too

Jazz Jackrabbit uses odd/even mode with 256-color graphics. This is
probably so that it can do very fast blitting with a decent resolution
(two pixels, compared to four pixels for "regular" mode X).

Accesses still use all planes (reads go to the latches and the game uses
read mode 1 so that the CPU always gets 0xFF; writes use the plane mask
register because the game sets bit 2 of the sequencer's memory mode
register). For this to work, QEMU needs to use the code for latched
memory accesses in odd/even mode. The only difference between odd/even
mode and "regular" planar mode is how the plane is computed in read mode
0, and how the planes are masked if the aforementioned bit 2 is reset.

It is almost enough to fix the game. You also need to honor byte/word
mode selection, which is done in the next patch.

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

show more ...

12345678910>>...47