You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qtest
Richard Henderson abe80c8ae2 mem + migration pull for 10.2
- Fabiano's patch to fix snapshot crash by rejecting some caps
 - Marco's mapped-ram support on snapshot save/load
 - Steve's cpr maintainers entry update on retirement
 - Peter's coverity fixes
 - Chenyi's tdx fix on hugetlbfs regression
 - Peter's doc update on migrate resume flag
 - Peter's doc update on HMP set parameter for cpr-exec-command's char** parsing
 - Xiaoyao's guest-memfd fix for enabling shmem
 - Arun's fix on error_fatal regression for migration errors
 - Bin's fix on redundant error free for add block failures
 - Markus's cleanup around MigMode sets
 - Peter's two patches (out of loadvm threadify) to cleanup qio read peek process
 - Thomas's vmstate-static-checker update for possible deprecation of argparse use
 - Stefan's fix on windows deadlock by making unassigned MMIOs lockless
 -----BEGIN PGP SIGNATURE-----
 
 iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCaQkZPBIccGV0ZXJ4QHJl
 ZGhhdC5jb20ACgkQO1/MzfOr1wZhTgEA8eCBMpM7PusNSdzzeIygKnIp2A8I70ca
 eIJz3ZM+FiUBAPVDrIZ59EhZA6NPcJb8Ya9OY4lT63F4BxrvN+f+uG4N
 =GUBi
 -----END PGP SIGNATURE-----

Merge tag 'staging-pull-request' of https://gitlab.com/peterx/qemu into staging

mem + migration pull for 10.2

- Fabiano's patch to fix snapshot crash by rejecting some caps
- Marco's mapped-ram support on snapshot save/load
- Steve's cpr maintainers entry update on retirement
- Peter's coverity fixes
- Chenyi's tdx fix on hugetlbfs regression
- Peter's doc update on migrate resume flag
- Peter's doc update on HMP set parameter for cpr-exec-command's char** parsing
- Xiaoyao's guest-memfd fix for enabling shmem
- Arun's fix on error_fatal regression for migration errors
- Bin's fix on redundant error free for add block failures
- Markus's cleanup around MigMode sets
- Peter's two patches (out of loadvm threadify) to cleanup qio read peek process
- Thomas's vmstate-static-checker update for possible deprecation of argparse use
- Stefan's fix on windows deadlock by making unassigned MMIOs lockless

# -----BEGIN PGP SIGNATURE-----
#
# iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCaQkZPBIccGV0ZXJ4QHJl
# ZGhhdC5jb20ACgkQO1/MzfOr1wZhTgEA8eCBMpM7PusNSdzzeIygKnIp2A8I70ca
# eIJz3ZM+FiUBAPVDrIZ59EhZA6NPcJb8Ya9OY4lT63F4BxrvN+f+uG4N
# =GUBi
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 03 Nov 2025 10:06:04 PM CET
# gpg:                using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706
# gpg:                issuer "peterx@redhat.com"
# gpg: Good signature from "Peter Xu <xzpeter@gmail.com>" [unknown]
# gpg:                 aka "Peter Xu <peterx@redhat.com>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D  D1A9 3B5F CCCD F3AB D706

* tag 'staging-pull-request' of https://gitlab.com/peterx/qemu: (36 commits)
  migration: Introduce POSTCOPY_DEVICE state
  migration: Make postcopy listen thread joinable
  migration: Respect exit-on-error when migration fails before resuming
  migration: Refactor all incoming cleanup info migration_incoming_destroy()
  migration: Introduce postcopy incoming setup and cleanup functions
  migration: Move postcopy_ram_listen_thread() to postcopy-ram.c
  migration: Do not try to start VM if disk activation fails
  migration: Flush migration channel after sending data of CMD_PACKAGED
  system/physmem: mark io_mem_unassigned lockless
  scripts/vmstate-static-checker: Fix deprecation warnings with latest argparse
  migration: vmsd errp handlers: return bool
  migration/vmstate: stop reporting error number for new _errp APIs
  tmp_emulator: improve and fix use of errp
  migration: vmstate_save_state_v(): fix error path
  migration: Properly wait on G_IO_IN when peeking messages
  io: Add qio_channel_wait_cond() helper
  migration: Put Error **errp parameter last
  migration: Use bitset of MigMode instead of variable arguments
  migration: Use unsigned instead of int for bit set of MigMode
  migration: Don't free the reason after calling migrate_add_blocker
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
1 week ago
..
fuzz treewide: use qemu_set_blocking instead of g_unix_set_fd_nonblocking 2 months ago
libqos tests/libqos: extract qvirtqueue_set_avail_idx() 1 month ago
migration migration: Introduce POSTCOPY_DEVICE state 2 weeks ago
ac97-test.c tests/qtest/ac97-test: add up-/downsampling tests 3 years ago
acpi-utils.c tests/qtest: remove return after g_assert_not_reached() 1 year ago
acpi-utils.h
adm1266-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
adm1272-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
ahci-test.c cleanup: Drop pointless return at end of function 7 months ago
am53c974-test.c qtest/am53c974-test: add additional test for cmdfifo overflow 2 weeks ago
arm-cpu-features.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
aspeed-hace-utils.c test/qtest/hace: Support to validate 64-bit hmac key buffer addresses 6 months ago
aspeed-hace-utils.h test/qtest/hace: Support to validate 64-bit hmac key buffer addresses 6 months ago
aspeed-smc-utils.c test/qtest: Introduce a new aspeed-smc-utils.c to place common testcases 11 months ago
aspeed-smc-utils.h test/qtest: Introduce a new aspeed-smc-utils.c to place common testcases 11 months ago
aspeed_fsi-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
aspeed_gpio-test.c tests/qtest: Add qtest for for ASPEED GPIO gpio-set property 3 weeks ago
aspeed_hace-test.c test/qtest/hace: Support to validate 64-bit hmac key buffer addresses 6 months ago
aspeed_scu-test.c tests/qtest: Add test for ASPEED SCU 4 months ago
aspeed_smc-test.c hw/arm/aspeed: ast2600-evb: Use w25q512jv flash model 3 weeks ago
ast2700-gpio-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
ast2700-hace-test.c test/qtest/hace: Add tests for AST2700 6 months ago
ast2700-smc-test.c tests/qtest/ast2700-smc-test: Fix leak 6 months ago
bcm2835-dma-test.c tests/: spelling fixes 2 years ago
bcm2835-i2c-test.c hw/sensor/tmp105: Lower 4 bit of limit registers are always 0 1 year ago
bios-tables-test-allowed-diff.h tests/acpi: virt: update HEST and DSDT tables 1 month ago
bios-tables-test.c tests/qtest: Add missing checks for the availability of machines 1 month ago
boot-order-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
boot-sector.c
boot-sector.h
boot-serial-test.c tests: Add functional tests for HPPA machines 10 months ago
cdrom-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
cmsdk-apb-dualtimer-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
cmsdk-apb-timer-test.c
cmsdk-apb-watchdog-test.c cleanup: Re-run return_directly.cocci 7 months ago
cpu-plug-test.c tests/qtest: Add missing checks for the availability of machines 1 month ago
cxl-test.c qtest/cxl: Add aarch64 virt test for CXL 4 months ago
dbus-display-test.c tests: add basic -display dbus Map.Unix test 1 year ago
dbus-vmstate-test.c
device-introspect-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
device-plug-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
display-vga-test.c
dm163-test.c tests/qtest: Add missing qtest_quit() to stm32 tests 1 year ago
drive_del-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
ds1338-test.c tests/qtest/ds1338: Reuse from_bcd() 3 weeks ago
e1000-test.c
e1000e-test.c
eepro100-test.c
emc141x-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
endianness-test.c Revert "Remove the unused sh4eb target" 1 year ago
erst-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
es1370-test.c tests/qtest: Specify audiodev= and -audiodev 2 years ago
fdc-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
fuzz-e1000e-test.c
fuzz-lsi53c895a-test.c hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller (CVE-2023-0330) 3 years ago
fuzz-megasas-test.c
fuzz-sb16-test.c
fuzz-sdcard-test.c
fuzz-virtio-scsi-test.c
fuzz-xlnx-dp-test.c
fw_cfg-test.c qtest/fw-cfg: remove compiled out code 11 months ago
hd-geo-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
hexloader-test.c
i440fx-test.c
i82801b11-test.c
ide-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
igb-test.c
intel-hda-test.c tests/qtest: Specify audiodev= and -audiodev 2 years ago
intel-iommu-test.c tests/qtest: Add intel-iommu test 10 months ago
ioh3420-test.c
ipmi-bt-test.c chardev: finalize 'reconnect' deprecation 1 year ago
ipmi-kcs-test.c tests/qtest: replace assert(0) with g_assert_not_reached() 1 year ago
ipoctal232-test.c
isl_pmbus_vr-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
ivshmem-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
libqmp.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
libqmp.h qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
libqtest-single.h
libqtest.c tests/qtest: Use exit-with-parent=on in qtest invocations 2 weeks ago
libqtest.h tests/qtest: qtest_init_after_exec 1 month ago
lpc-ich9-test.c
lsm303dlhc-mag-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
m48t59-test.c ppc/ppc405: Remove tests 8 months ago
machine-none-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
max34451-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
megasas-test.c
meson.build tests/qtest/bios-tables-test: Add basic testing for LoongArch 4 months ago
microbit-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
migration-test.c tests/qtest/migration: Pick smoke tests 9 months ago
modules-test.c
ne2000-test.c
netdev-socket.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
npcm7xx_adc-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
npcm7xx_emc-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
npcm7xx_gpio-test.c
npcm7xx_pwm-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
npcm7xx_rng-test.c
npcm7xx_sdhci-test.c tests/qtest/npcm7xx_sdhci: Access the card using its published address 1 year ago
npcm7xx_smbus-test.c
npcm7xx_timer-test.c tests/qtest: don't step clock at start of npcm7xx periodic IRQ test 9 months ago
npcm7xx_watchdog_timer-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
npcm_gmac-test.c tests/qtest: Migrate GMAC test from 7xx to 8xx 6 months ago
numa-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
nvme-test.c misc: Use QEMU header path relative to include/ directory 2 years ago
pca9552-test.c misc/pca955*: Move models under hw/gpio 2 years ago
pci-test.c
pcnet-test.c
pflash-cfi02-test.c tests/qtest/pflash: Clean up local variable shadowing 2 years ago
pnv-host-i2c-test.c cleanup: Re-run return_directly.cocci 7 months ago
pnv-spi-seeprom-test.c hw/ssi/pnv_spi: Make bus names distinct for each controllers of a socket 8 months ago
pnv-xive2-common.c tests/qtest: Add XIVE tests for the powernv10 machine 1 year ago
pnv-xive2-common.h ppc/xive2: Add support for MMIO operations on the NVPG/NVC BAR 8 months ago
pnv-xive2-flush-sync.c qtest/xive: Change printf to g_test_message 8 months ago
pnv-xive2-nvpg_bar.c qtest/xive: Change printf to g_test_message 8 months ago
pnv-xive2-test.c qtest/xive: Add test of pool interrupts 8 months ago
pnv-xscom-test.c ppc/pnv: Test pnv i2c master and connected devices 2 years ago
pnv-xscom.h ppc/pnv: Update Power10's cfam id to use Power10 DD2 1 year ago
ppc-util.h tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 1 year ago
prom-env-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 1 year ago
pvpanic-pci-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
pvpanic-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
pxe-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 1 year ago
q35-test.c tests/qtest/q35-test: Remove the obsolete test_without_smram_base test 6 months ago
qmp-cmd-test.c hw/uefi: add query-firmware-log monitor command 3 weeks ago
qmp-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
qom-test.c qtest/qom-test: Don't bother to execute QMP command quit 2 months ago
qos-test.c Revert "tests/qtest: use qos_printf instead of g_test_message" 2 months ago
qtest_aspeed.c
qtest_aspeed.h aspeed: Clean up includes 2 years ago
readconfig-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
riscv-csr-test.c tests/qtest: Add missing checks for the availability of machines 1 month ago
riscv-iommu-test.c qtest/riscv-iommu-test: add init queues test 1 year ago
rs5c372-test.c hw/rtc: Add Ricoh RS5C372 RTC emulation 8 months ago
rtas-test.c
rtc-test.c
rtl8139-test.c tests/qtest: replace assert(0) with g_assert_not_reached() 1 year ago
sdhci-test.c
sifive-e-aon-watchdog-test.c tests/qtest: sifive-e-aon-watchdog-test.c: Add QTest of watchdog of sifive_e 2 years ago
spapr-phb-test.c
sse-timer-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
stm32l4x5.h tests/qtest: Check STM32L4x5 clock connections 1 year ago
stm32l4x5_exti-test.c tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests 1 year ago
stm32l4x5_gpio-test.c tests/qtest: Use qtest_system_reset() instead of open-coded versions 11 months ago
stm32l4x5_rcc-test.c tests/qtest/stm32l4x5_rcc-test.c: Add tests for the STM32L4x5_RCC 2 years ago
stm32l4x5_syscfg-test.c tests/qtest: Use qtest_system_reset() instead of open-coded versions 11 months ago
stm32l4x5_usart-test.c cleanup: Re-run return_directly.cocci 7 months ago
tco-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
test-arm-mptimer.c
test-filter-mirror.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
test-filter-redirector.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
test-hmp.c hmp: Remove deprecated 'singlestep' command 2 years ago
test-netfilter.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
test-x86-cpuid-compat.c hw/i386/pc: Remove deprecated pc-q35-2.4 and pc-i440fx-2.4 machines 6 months ago
tmp105-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
tpm-crb-swtpm-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 3 years ago
tpm-crb-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 3 years ago
tpm-emu.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
tpm-emu.h include: Rename sysemu/ -> system/ 11 months ago
tpm-tests.c tests: Wait for migration completion on destination QEMU to avoid failures 1 year ago
tpm-tests.h tests/: spelling fixes 2 years ago
tpm-tis-device-swtpm-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 3 years ago
tpm-tis-device-test.c
tpm-tis-i2c-test.c tests/: spelling fixes 2 years ago
tpm-tis-swtpm-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 3 years ago
tpm-tis-test.c
tpm-tis-util.c tests/: spelling fixes 2 years ago
tpm-tis-util.h qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 3 years ago
tpm-util.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
tpm-util.h qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 3 years ago
tulip-test.c
ufs-test.c tests/qtest/ufs-test: Add test code for the temperature feature 8 months ago
usb-hcd-ehci-test.c tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before using them 3 years ago
usb-hcd-ohci-test.c
usb-hcd-uhci-test.c tests/qtest/usb-hcd: Remove the empty "init" tests 2 years ago
usb-hcd-xhci-test.c tests/qtest/usb-hcd: Remove the empty "init" tests 2 years ago
vhost-user-blk-test.c tests/qtest/vhost-user-blk-test: use memory-backend-shm 1 year ago
vhost-user-test.c char: rename CharBackend->CharFrontend 2 weeks ago
virtio-9p-test.c tests/9p: Test `Tsetattr` can truncate unlinked file 6 months ago
virtio-balloon-test.c tests/qtest: add test for querying balloon guest stats 12 months ago
virtio-blk-test.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 3 years ago
virtio-ccw-test.c tests/qtest/virtio-ccw: Fix device presence checking 2 years ago
virtio-iommu-test.c tests/qtest/virtio-iommu-test: Don't pass uninitialized data into qtest_memwrite 11 months ago
virtio-net-failover.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
virtio-net-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
virtio-rng-test.c
virtio-scsi-test.c tests/virtio-scsi: add a virtio_error() IOThread test 1 month ago
virtio-serial-test.c
virtio-test.c
vmcoreinfo-test.c tests/qtest/vmcoreinfo: add a unit test to exercize basic vmcoreinfo function 9 months ago
vmgenid-test.c treewide: update docs file extensions (.txt -> .rst) in comments 4 months ago
vmxnet3-test.c
vnc-display-test.c
wdt_ib700-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
xlnx-can-test.c
xlnx-canfd-test.c tests/qtest: xlnx-canfd-test: Fix code coverity issues 2 years ago
xlnx-versal-trng-test.c tests/qtest/xlnx-versal-trng-test.c: Drop use of variable length array 2 years ago