History log of /qemu/tests/qtest/ (Results 1 – 25 of 1230)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
969ce22103-May-2024 Paolo Bonzini <pbonzini@redhat.com>

tests/qtest: skip m48t59-test if the machine is absent

Together with the series at https://patchew.org/QEMU/20240423131612.28362-1-pbonzini@redhat.com/,
this allows adding sparc-softmmu to the targe

tests/qtest: skip m48t59-test if the machine is absent

Together with the series at https://patchew.org/QEMU/20240423131612.28362-1-pbonzini@redhat.com/,
this allows adding sparc-softmmu to the target list of the
build-without-defaults CI job.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

a0c325c424-Apr-2024 Inès Varhol <ines.varhol@telecom-paris.fr>

tests/qtest : Add testcase for DM163

`test_dm163_bank()`
Checks that the pin "sout" of the DM163 led driver outputs the values
received on pin "sin" with the expected latency (depending on the bank)

tests/qtest : Add testcase for DM163

`test_dm163_bank()`
Checks that the pin "sout" of the DM163 led driver outputs the values
received on pin "sin" with the expected latency (depending on the bank).

`test_dm163_gpio_connection()`
Check that changes to relevant STM32L4x5 GPIO pins are propagated to the
DM163 device.

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240424200929.240921-6-ines.varhol@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

5b5b014b24-Apr-2024 Inès Varhol <ines.varhol@telecom-paris.fr>

hw/arm : Pass STM32L4x5 SYSCFG gpios to STM32L4x5 SoC

Exposing SYSCFG inputs to the SoC is practical in order to wire the SoC
to the optional DM163 display from the board code (GPIOs outputs need
to

hw/arm : Pass STM32L4x5 SYSCFG gpios to STM32L4x5 SoC

Exposing SYSCFG inputs to the SoC is practical in order to wire the SoC
to the optional DM163 display from the board code (GPIOs outputs need
to be connected to both SYSCFG inputs and DM163 inputs).

STM32L4x5 SYSCFG in-irq interception needed to be changed accordingly.

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-3-ines.varhol@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/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/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/cpu-target.c
/qemu/disas/disas.c
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/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/arm/npcm7xx.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/core/clock.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/core/generic-loader.c
/qemu/hw/core/machine.c
/qemu/hw/display/Kconfig
/qemu/hw/display/dm163.c
/qemu/hw/display/meson.build
/qemu/hw/display/trace-events
/qemu/hw/display/vga.c
/qemu/hw/dma/xlnx_dpdma.c
/qemu/hw/virtio/virtio.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-defs.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/cputlb.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/mmu-access-type.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/translator.h
/qemu/include/exec/tswap.h
/qemu/include/exec/user/abitypes.h
/qemu/include/gdbstub/helpers.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/osdep.h
/qemu/include/qemu/plugin.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/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/meson.build
/qemu/nbd/client.c
/qemu/nbd/common.c
/qemu/nbd/nbd-internal.h
/qemu/nbd/server.c
/qemu/net/slirp.c
/qemu/page-target.c
/qemu/scripts/analyze-inclusions
/qemu/semihosting/guestfd.c
/qemu/system/physmem.c
/qemu/target/alpha/cpu-param.h
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.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-consts.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/avr/cpu-param.h
/qemu/target/avr/cpu.h
/qemu/target/avr/gdbstub.c
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/cpu.h
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu-param.h
/qemu/target/loongarch/cpu.h
/qemu/target/meson.build
/qemu/target/microblaze/cpu-param.h
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu-param.h
/qemu/target/mips/cpu.h
/qemu/target/openrisc/cpu-param.h
/qemu/target/openrisc/cpu.h
/qemu/target/ppc/cpu-param.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/internal.h
/qemu/target/riscv/cpu-param.h
/qemu/target/riscv/cpu.h
/qemu/target/riscv/debug.h
/qemu/target/s390x/cpu-param.h
/qemu/target/s390x/cpu.h
/qemu/target/sparc/cpu-param.h
/qemu/target/sparc/cpu.h
/qemu/target/sparc/gdbstub.c
/qemu/target/tricore/gdbstub.c
/qemu/target/xtensa/cpu-param.h
/qemu/target/xtensa/cpu.h
/qemu/tcg/tcg.c
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
stm32l4x5_gpio-test.c
stm32l4x5_syscfg-test.c
622f8eb110-Oct-2022 Lev Kujawski <lkujaw@mailbox.org>

tests/qtest/ide-test: Verify READ NATIVE MAX ADDRESS is not limited

Verify that the ATA command READ NATIVE MAX ADDRESS returns the last
valid CHS tuple for the native device rather than any limit
e

tests/qtest/ide-test: Verify READ NATIVE MAX ADDRESS is not limited

Verify that the ATA command READ NATIVE MAX ADDRESS returns the last
valid CHS tuple for the native device rather than any limit
established by INITIALIZE DEVICE PARAMETERS.

Signed-off-by: Lev Kujawski <lkujaw@mailbox.org>
Message-ID: <20221010085229.2431276-2-lkujaw@mailbox.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.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/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/cpu-target.c
/qemu/disas/disas.c
/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/audio/virtio-snd.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/core/generic-loader.c
/qemu/hw/display/vga.c
/qemu/hw/ide/core.c
/qemu/hw/misc/edu.c
/qemu/hw/virtio/virtio.c
/qemu/include/exec/abi_ptr.h
/qemu/include/exec/breakpoint.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/cpu_ldst.h
/qemu/include/exec/cputlb.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/mmu-access-type.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/translator.h
/qemu/include/exec/tswap.h
/qemu/include/exec/user/abitypes.h
/qemu/include/gdbstub/helpers.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/plugin.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/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/meson.build
/qemu/nbd/client.c
/qemu/nbd/common.c
/qemu/nbd/nbd-internal.h
/qemu/nbd/server.c
/qemu/net/slirp.c
/qemu/page-target.c
/qemu/qga/meson.build
/qemu/scripts/analyze-inclusions
/qemu/scripts/ci/setup/build-environment.yml
/qemu/semihosting/guestfd.c
/qemu/stubs/meson.build
/qemu/system/physmem.c
/qemu/target/alpha/cpu-param.h
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.h
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/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-param.h
/qemu/target/i386/cpu.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu-param.h
/qemu/target/loongarch/cpu.h
/qemu/target/meson.build
/qemu/target/microblaze/cpu-param.h
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu-param.h
/qemu/target/mips/cpu.h
/qemu/target/openrisc/cpu-param.h
/qemu/target/openrisc/cpu.h
/qemu/target/ppc/cpu-param.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/internal.h
/qemu/target/riscv/cpu-param.h
/qemu/target/riscv/cpu.h
/qemu/target/riscv/debug.h
/qemu/target/s390x/cpu-param.h
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models.h
/qemu/target/s390x/cpu_models_sysemu.c
/qemu/target/s390x/kvm/kvm.c
/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/tcg/tcg.c
ide-test.c
214652da29-Mar-2024 Arnaud Minier <arnaud.minier@telecom-paris.fr>

tests/qtest: Add tests for the STM32L4x5 USART

Test:
- read/write from/to the usart registers
- send/receive a character/string over the serial port

Signed-off-by: Arnaud Minier <arnaud.minier@tele

tests/qtest: Add tests for the STM32L4x5 USART

Test:
- read/write from/to the usart registers
- send/receive a character/string over the serial port

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240329174402.60382-6-arnaud.minier@telecom-paris.fr
[PMM: fix checkpatch nits, remove commented out code]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/bsd-user/qemu.h
/qemu/docs/devel/reset.rst
/qemu/docs/system/arm/b-l475e-iot01a.rst
/qemu/docs/system/arm/emulation.rst
/qemu/hw/adc/npcm7xx_adc.c
/qemu/hw/arm/Kconfig
/qemu/hw/arm/pxa2xx_pic.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/smmuv3.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32l4x5_soc.c
/qemu/hw/arm/virt.c
/qemu/hw/audio/asc.c
/qemu/hw/char/Kconfig
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/meson.build
/qemu/hw/char/sifive_uart.c
/qemu/hw/char/stm32l4x5_usart.c
/qemu/hw/char/trace-events
/qemu/hw/core/cpu-common.c
/qemu/hw/core/qdev.c
/qemu/hw/core/reset.c
/qemu/hw/core/resettable.c
/qemu/hw/display/virtio-vga.c
/qemu/hw/dma/soc_dma.c
/qemu/hw/gpio/npcm7xx_gpio.c
/qemu/hw/gpio/pl061.c
/qemu/hw/gpio/stm32l4x5_gpio.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i2c/allwinner-i2c.c
/qemu/hw/i2c/npcm7xx_smbus.c
/qemu/hw/input/adb.c
/qemu/hw/input/ps2.c
/qemu/hw/intc/arm_gic_common.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3.c
/qemu/hw/intc/arm_gicv3_common.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/arm_gicv3_dist.c
/qemu/hw/intc/arm_gicv3_its.c
/qemu/hw/intc/arm_gicv3_its_common.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/arm_gicv3_redist.c
/qemu/hw/intc/gicv3_internal.h
/qemu/hw/intc/trace-events
/qemu/hw/intc/xics.c
/qemu/hw/m68k/q800-glue.c
/qemu/hw/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/pci.c
/qemu/hw/rtc/mc146818rtc.c
/qemu/hw/s390x/css-bridge.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/etraxfs_timer.c
/qemu/hw/timer/npcm7xx_timer.c
/qemu/hw/usb/hcd-dwc2.c
/qemu/hw/usb/xlnx-versal-usb2-ctrl-regs.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/hw/arm/stm32l4x5_soc.h
/qemu/include/hw/char/stm32l4x5_usart.h
/qemu/include/hw/intc/arm_gic_common.h
/qemu/include/hw/intc/arm_gicv3_common.h
/qemu/include/hw/resettable.h
/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/scripts/coccinelle/reset-type.cocci
/qemu/scripts/meson-buildoptions.sh
/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/tcg/a64.decode
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/helper-a64.h
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/avr/cpu.c
/qemu/target/cris/cpu.c
/qemu/target/hexagon/cpu.c
/qemu/target/i386/cpu.c
/qemu/target/loongarch/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/cpu.c
/qemu/target/rx/cpu.c
/qemu/target/sh4/cpu.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
meson.build
stm32l4x5_usart-test.c
236e939718-Mar-2024 Maksim Davydov <davydov-max@yandex-team.ru>

qmp: add dump machine type compatibility properties

To control that creating new machine type doesn't affect the previous
types (their compat_props) and to check complex compat_props inheritance
we

qmp: add dump machine type compatibility properties

To control that creating new machine type doesn't affect the previous
types (their compat_props) and to check complex compat_props inheritance
we need qmp command to print machine type compatibility properties.
This patch adds the ability to get list of all the compat_props of the
corresponding supported machines for their comparison via new optional
argument of "query-machines" command. Since information on compatibility
properties can increase the command output by a factor of 40, add an
argument to enable it, default off.

Signed-off-by: Maksim Davydov <davydov-max@yandex-team.ru>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240318213550.155573-3-davydov-max@yandex-team.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

5804518614-Apr-2024 Inès Varhol <ines.varhol@telecom-paris.fr>

tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint`

The messages for assertions using hexadecimal numbers will be
easier to understand with `g_assert_cmphex`.

Cases changed : "cmpuint

tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint`

The messages for assertions using hexadecimal numbers will be
easier to understand with `g_assert_cmphex`.

Cases changed : "cmpuint.*0x", "cmpuint.*<<"

Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
Message-ID: <20240414173349.31194-1-ines.varhol@telecom-paris.fr>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

6c30148527-Mar-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

target/nios2: Remove the deprecated Nios II target

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

Remove:
- Buildsys / CI inf

target/nios2: Remove the deprecated Nios II target

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

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

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

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/crossbuild-template.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/translator.c
/qemu/backends/cryptodev-builtin.c
/qemu/block/io.c
/qemu/configure
/qemu/disas/meson.build
/qemu/disas/nanomips.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/emulation.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/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/docs/system/replay.rst
/qemu/docs/user/main.rst
/qemu/fpu/softfloat-specialize.c.inc
/qemu/hmp-commands.hx
/qemu/hw/Kconfig
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/nand.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/intc/Kconfig
/qemu/hw/intc/meson.build
/qemu/hw/isa/vt82c686.c
/qemu/hw/meson.build
/qemu/hw/misc/applesmc.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/sd/sdhci.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/include/disas/dis-asm.h
/qemu/include/exec/poison.h
/qemu/include/exec/translator.h
/qemu/include/exec/user/abitypes.h
/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/include/sysemu/arch_init.h
/qemu/include/tcg/tcg.h
/qemu/linux-user/elfload.c
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/meson.build
/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/machine.json
/qemu/qapi/qom.json
/qemu/qemu-options.hx
/qemu/roms/Makefile
/qemu/roms/edk2-version
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/gensyscalls.sh
/qemu/scripts/probe-gdb-support.py
/qemu/system/qdev-monitor.c
/qemu/target/Kconfig
/qemu/target/arm/helper.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/meson.build
/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/avocado/boot_linux_console.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/docker/Makefile.include
machine-none-test.c
/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
fe3ba17b19-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Fix typo for vsock in SocketAddress_to_str

Signed-off-by: Het Gala <het.gala@nutanix.com>
Link: https://lore.kernel.org/r/20240319204840.211632-2-het.gala@nutanix.com
Signed-o

tests/qtest/migration: Fix typo for vsock in SocketAddress_to_str

Signed-off-by: Het Gala <het.gala@nutanix.com>
Link: https://lore.kernel.org/r/20240319204840.211632-2-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

bc6307a512-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Add negative tests to validate migration QAPIs

Migration QAPI arguments - uri and channels are mutually exhaustive.
Add negative validation tests, one with both arguments pres

tests/qtest/migration: Add negative tests to validate migration QAPIs

Migration QAPI arguments - uri and channels are mutually exhaustive.
Add negative validation tests, one with both arguments present and
one with none present.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-9-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

9d36d62c12-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Add multifd_tcp_plain test using list of channels instead of uri

Add a positive test to check multifd live migration but this time
using list of channels (restricted to 1) as

tests/qtest/migration: Add multifd_tcp_plain test using list of channels instead of uri

Add a positive test to check multifd live migration but this time
using list of channels (restricted to 1) as the starting point
instead of simple uri string.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-8-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

d5ee387d12-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Add channels parameter in migrate_qmp

Alter migrate_qmp() to allow use of channels parameter, but only
fill the uri with correct port number if there are no channels.
Here we

tests/qtest/migration: Add channels parameter in migrate_qmp

Alter migrate_qmp() to allow use of channels parameter, but only
fill the uri with correct port number if there are no channels.
Here we don't want to allow the wrong cases of having both or
none (ex: migrate_qmp_fail).

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-7-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

2a49e3c612-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Add migrate_set_ports into migrate_qmp to update migration port value

migrate_get_connect_qdict gets qdict with the dst QEMU parameters.

migrate_set_ports() from list of chan

tests/qtest/migration: Add migrate_set_ports into migrate_qmp to update migration port value

migrate_get_connect_qdict gets qdict with the dst QEMU parameters.

migrate_set_ports() from list of channels reads each QDict for port,
and fills the port with correct value in case it was 0 in the test.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-6-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

387dc40712-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Add channels parameter in migrate_qmp_fail

Alter migrate_qmp_fail() to allow both uri and channels
independently. For channels, convert string to a Dict.
No dealing with migra

tests/qtest/migration: Add channels parameter in migrate_qmp_fail

Alter migrate_qmp_fail() to allow both uri and channels
independently. For channels, convert string to a Dict.
No dealing with migrate_get_socket_address() here because
we will fail before starting the migration anyway.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-5-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

4f2f5b6912-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Replace migrate_get_connect_uri inplace of migrate_get_socket_address

Refactor migrate_get_socket_address to internally utilize 'socket-address'
parameter, reducing redundancy

tests/qtest/migration: Replace migrate_get_connect_uri inplace of migrate_get_socket_address

Refactor migrate_get_socket_address to internally utilize 'socket-address'
parameter, reducing redundancy in the function definition.

migrate_get_socket_address implicitly converts SocketAddress into str.
Move migrate_get_socket_address inside migrate_get_connect_uri which
should return the uri string instead.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-4-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

d1155fd412-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Replace connect_uri and move migrate_get_socket_address inside migrate_qmp

Move the calls to migrate_get_socket_address() into migrate_qmp().
Get rid of connect_uri and replac

tests/qtest/migration: Replace connect_uri and move migrate_get_socket_address inside migrate_qmp

Move the calls to migrate_get_socket_address() into migrate_qmp().
Get rid of connect_uri and replace it with args->connect_uri only
because 'to' object will help to generate connect_uri with the
correct port number.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-3-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

8c47168c12-Mar-2024 Het Gala <het.gala@nutanix.com>

tests/qtest/migration: Add 'to' object into migrate_qmp()

Add the 'to' object into migrate_qmp(), so we can use
migrate_get_socket_address() inside migrate_qmp() to get
the port value. This is not a

tests/qtest/migration: Add 'to' object into migrate_qmp()

Add the 'to' object into migrate_qmp(), so we can use
migrate_get_socket_address() inside migrate_qmp() to get
the port value. This is not applied to other migrate_qmp*
because they don't need the port.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-2-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/translator.c
/qemu/backends/cryptodev-builtin.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/hmp-commands.hx
/qemu/hw/audio/virtio-snd.c
/qemu/hw/block/nand.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/virtio-serial-bus.c
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_q35.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/net/virtio-net.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/pci-host/ppc440_pcix.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/sd/sdhci.c
/qemu/hw/usb/dev-audio.c
/qemu/hw/usb/dev-storage-classic.c
/qemu/hw/virtio/vdpa-dev.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/include/exec/translator.h
/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/include/tcg/tcg.h
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
/qemu/linux-user/syscall.c
/qemu/meson.build
/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/qemu-options.hx
/qemu/roms/Makefile
/qemu/roms/edk2-version
/qemu/system/qdev-monitor.c
/qemu/target/arm/helper.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
migration-helpers.c
migration-helpers.h
migration-test.c
/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
4fbb768713-Mar-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

qtest/libqos: Reduce size_to_prdtl() declaration scope

Since size_to_prdtl() is only used within ahci.c,
declare it statically. This removes the last use
of "inlined function with external linkage".

qtest/libqos: Reduce size_to_prdtl() declaration scope

Since size_to_prdtl() is only used within ahci.c,
declare it statically. This removes the last use
of "inlined function with external linkage". See
previous commit and commit 9de9fa5cf2 for rationale.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20240326171009.26696-4-philmd@linaro.org>

show more ...

27c335a429-Mar-2024 Cédric Le Goater <clg@redhat.com>

tests/qtest: Fix STM32L4x5 GPIO test on 32-bit

The test mangles the GPIO address and the pin number in the
qtest_add_data_func data parameter. Doing so, it assumes that the host
pointer size is alwa

tests/qtest: Fix STM32L4x5 GPIO test on 32-bit

The test mangles the GPIO address and the pin number in the
qtest_add_data_func data parameter. Doing so, it assumes that the host
pointer size is always 64-bit, which breaks on 32-bit :

../tests/qtest/stm32l4x5_gpio-test.c: In function ‘test_gpio_output_mode’:
../tests/qtest/stm32l4x5_gpio-test.c:272:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
272 | unsigned int pin = ((uint64_t)data) & 0xF;
| ^
../tests/qtest/stm32l4x5_gpio-test.c:273:22: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
273 | uint32_t gpio = ((uint64_t)data) >> 32;
| ^

To fix, improve the mangling of the GPIO address and pin number fields
by using GPIO_SIZE so that the resulting value fits in a 32-bit pointer.
While at it, include some helpers to hide the details.

Cc: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Cc: Inès Varhol <ines.varhol@telecom-paris.fr>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Message-id: 20240329092747.298259-1-clg@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

dcae75fb27-Mar-2024 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

qtest/virtio-9p-test.c: remove g_test_slow() gate

Commit 558f5c42ef gated the local tests with g_test_slow() to skip them
in 'make check'. The reported issue back then was this following CI
problem:

qtest/virtio-9p-test.c: remove g_test_slow() gate

Commit 558f5c42ef gated the local tests with g_test_slow() to skip them
in 'make check'. The reported issue back then was this following CI
problem:

https://lists.nongnu.org/archive/html/qemu-devel/2020-11/msg05510.html

This problem ended up being fixed after it was detected with the
recently added risc-v machine nodes [1]. virtio-9p-test.c is now
creating and removing temporary dirs for each test run, instead of
creating a single dir for the entire qos-test scope.

We're now able to run these tests with 'make check' in the CI, so let's
go ahead and re-enable them.

This reverts commit 558f5c42efded3e0d0b20a90bce2a9a14580d824.

[1] https://mail.gnu.org/archive/html/qemu-devel/2024-03/msg05807.html

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20240327142011.805728-3-dbarboza@ventanamicro.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>

show more ...

981eb10627-Mar-2024 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

qtest/virtio-9p-test.c: create/remove temp dirs after each test

The local 9p driver in virtio-9p-test.c its temporary dir right at the
start of qos-test (via virtio_9p_create_local_test_dir()) and o

qtest/virtio-9p-test.c: create/remove temp dirs after each test

The local 9p driver in virtio-9p-test.c its temporary dir right at the
start of qos-test (via virtio_9p_create_local_test_dir()) and only
deletes it after qos-test is finished (via
virtio_9p_remove_local_test_dir()).

This means that any qos-test machine that ends up running virtio-9p-test
local tests more than once will end up re-using the same temp dir. This
is what's happening in [1] after we introduced the riscv machine nodes:
if we enable slow tests with the '-m slow' flag using
qemu-system-riscv64, this is what happens:

- a temp dir is created;

- virtio-9p-device tests will run virtio-9p-test successfully;

- virtio-9p-pci tests will run virtio-9p-test, and fail right at the
first slow test at fs_create_dir() because the "01" file was already
created by fs_create_dir() test when running with the virtio-9p-device.

The root cause is that we're creating a single temporary dir, via the
construct/destruct callbacks, and this temp dir is kept for the entire
qos-test run.

We can change each test to clean after themselves. This approach would
make the 'create' tests obsolete since we would need to create and
delete dirs/files/symlinks for the cleanup, turning them into the
'unlinkat' tests that comes right after.

We chose a different approach that handles the root cause: do not use
constructor/destructor to create the temp dir. Create one temp dir for
each test, and remove it after the test is complete. This is the
approach taken for other qtests like vhost-user-test.c where each test
requires a setup() and a subsequent cleanup(), all of those instantiated
in the .before callback.

[1] https://mail.gnu.org/archive/html/qemu-devel/2024-03/msg05807.html

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20240327142011.805728-2-dbarboza@ventanamicro.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>

show more ...

fe3e383925-Mar-2024 Peter Maydell <peter.maydell@linaro.org>

tests/qtest/libqtest.c: Check for g_setenv() failure

Coverity points out that g_setenv() can fail and we don't
check for this in qtest_inproc_init(). In practice this will
only fail if a memory allo

tests/qtest/libqtest.c: Check for g_setenv() failure

Coverity points out that g_setenv() can fail and we don't
check for this in qtest_inproc_init(). In practice this will
only fail if a memory allocation failed in setenv() or if
the caller passed an invalid architecture name (e.g. one
with an '=' in it), so rather than requiring the callsite
to check for failure, make g_setenv() failure fatal here,
similarly to what we did in commit aca68d95c515.

Resolves: Coverity CID 1497485
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240312183810.557768-8-peter.maydell@linaro.org

show more ...

66e4118820-Mar-2024 Zheyu Ma <zheyuma97@gmail.com>

libqos/virtio.c: Correct 'flags' reading in qvirtqueue_kick

In qvirtqueue_kick(), the 'flags' were previously being incorrectly read from
vq->avail instead of the correct vq->used location. This upd

libqos/virtio.c: Correct 'flags' reading in qvirtqueue_kick

In qvirtqueue_kick(), the 'flags' were previously being incorrectly read from
vq->avail instead of the correct vq->used location. This update ensures 'flags'
are read from the correct location as per the virtio standard.

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20240320090442.267525-1-zheyuma97@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

6328d8ff25-Mar-2024 Cédric Le Goater <clg@redhat.com>

misc/pca955*: Move models under hw/gpio

The PCA9552 and PCA9554 devices are both I2C GPIO controllers and the
PCA9552 also can drive LEDs. Do all the necessary adjustments to move
the models under h

misc/pca955*: Move models under hw/gpio

The PCA9552 and PCA9554 devices are both I2C GPIO controllers and the
PCA9552 also can drive LEDs. Do all the necessary adjustments to move
the models under hw/gpio.

Cc: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Message-ID: <20240325134833.1484265-1-clg@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@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/custom-runners.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/block/mirror.c
/qemu/block/qapi.c
/qemu/blockdev.c
/qemu/chardev/char-io.c
/qemu/chardev/char-socket.c
/qemu/contrib/plugins/howvec.c
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/docs/devel/migration/CPR.rst
/qemu/docs/devel/migration/features.rst
/qemu/docs/system/introduction.rst
/qemu/docs/system/s390x/cpu-topology.rst
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast10x0.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/block/m25p80.c
/qemu/hw/gpio/meson.build
/qemu/hw/gpio/pca9552.c
/qemu/hw/gpio/pca9554.c
/qemu/hw/gpio/trace-events
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/trace-events
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/riscv/virt.c
/qemu/hw/smbios/smbios_legacy.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/vfio/iommufd.c
/qemu/include/exec/exec-all.h
/qemu/include/exec/ram_addr.h
/qemu/include/hw/block/flash.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/io/channel-file.h
/qemu/include/qemu/job.h
/qemu/include/ui/console.h
/qemu/include/ui/kbd-state.h
/qemu/io/channel-file.c
/qemu/meson.build
/qemu/migration/block.c
/qemu/migration/fd.c
/qemu/migration/file.c
/qemu/migration/file.h
/qemu/migration/migration.c
/qemu/nbd/server.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/roms/Makefile
/qemu/roms/edk2-build.config
/qemu/system/physmem.c
/qemu/system/qemu-seccomp.c
/qemu/system/vl.c
/qemu/target/hppa/insns.decode
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/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/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/sparc/cpu.c
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/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/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/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
pca9552-test.c
pnv-host-i2c-test.c
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-crypto-cipher.c
/qemu/ui/cocoa.m
/qemu/ui/console-priv.h
/qemu/ui/console-vc-stubs.c
/qemu/ui/console-vc.c
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/kbd-state.c
/qemu/ui/meson.build
/qemu/ui/vnc.c
/qemu/util/qemu-coroutine.c
80e9791a25-Mar-2024 Peter Maydell <peter.maydell@linaro.org>

tests/qtest/npcm7xx_emc_test: Don't leak cmd_line

In test_rx() and test_tx() we allocate a GString *cmd_line
but never free it. This is pretty harmless in a test case, but
Coverity spotted it.

Reso

tests/qtest/npcm7xx_emc_test: Don't leak cmd_line

In test_rx() and test_tx() we allocate a GString *cmd_line
but never free it. This is pretty harmless in a test case, but
Coverity spotted it.

Resolves: Coverity CID 1507122
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20240312183810.557768-2-peter.maydell@linaro.org

show more ...


/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/buildtest-template.yml
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/.travis.yml
/qemu/VERSION
/qemu/block/mirror.c
/qemu/block/qapi.c
/qemu/blockdev.c
/qemu/chardev/char-io.c
/qemu/chardev/char-socket.c
/qemu/contrib/plugins/howvec.c
/qemu/crypto/cipher-gcrypt.c.inc
/qemu/docs/devel/migration/CPR.rst
/qemu/docs/devel/migration/features.rst
/qemu/docs/system/introduction.rst
/qemu/docs/system/s390x/cpu-topology.rst
/qemu/hw/arm/xlnx-versal-virt.c
/qemu/hw/block/m25p80.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/riscv/virt.c
/qemu/hw/smbios/smbios_legacy.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/vfio/iommufd.c
/qemu/include/exec/exec-all.h
/qemu/include/exec/ram_addr.h
/qemu/include/hw/block/flash.h
/qemu/include/io/channel-file.h
/qemu/include/qemu/job.h
/qemu/include/ui/console.h
/qemu/include/ui/kbd-state.h
/qemu/io/channel-file.c
/qemu/meson.build
/qemu/migration/block.c
/qemu/migration/fd.c
/qemu/migration/file.c
/qemu/migration/file.h
/qemu/migration/migration.c
/qemu/nbd/server.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/roms/Makefile
/qemu/roms/edk2-build.config
/qemu/system/physmem.c
/qemu/system/qemu-seccomp.c
/qemu/system/vl.c
/qemu/target/hppa/insns.decode
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/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/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/sparc/cpu.c
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/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/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/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
npcm7xx_emc-test.c
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-crypto-cipher.c
/qemu/ui/cocoa.m
/qemu/ui/console-priv.h
/qemu/ui/console-vc-stubs.c
/qemu/ui/console-vc.c
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/kbd-state.c
/qemu/ui/meson.build
/qemu/ui/vnc.c
/qemu/util/qemu-coroutine.c

12345678910>>...50