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
Stefan Hajnoczi b69801dd6b virtio,pc,pci: features, fixes, cleanups
Features:
 
 SR-IOV emulation for pci
 virtio-mem-pci support for s390
 interleave support for cxl
 big endian support for vdpa svq
 new QAPI events for vhost-user
 
 Also vIOMMU reset order fixups are in.
 Fixes, cleanups all over the place.
 
 Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAme4b8sPHG1zdEByZWRo
 YXQuY29tAAoJECgfDbjSjVRpHKcIAKPJsVqPdda2dJ7b7FdyRT0Q+uwezXqaGHd4
 7Lzih1wsxYNkwIAyPtEb76/21qiS7BluqlUCfCB66R9xWjP5/KfvAFj4/r4AEduE
 fxAgYzotNpv55zcRbcflMyvQ42WGiZZHC+o5Lp7vDXUP3pIyHrl0Ydh5WmcD+hwS
 BjXvda58TirQpPJ7rUL+sSfLih17zQkkDcfv5/AgorDy1wK09RBKwMx/gq7wG8yJ
 twy8eBY2CmfmFD7eTM+EKqBD2T0kwLEeLfS/F/tl5Fyg6lAiYgYtCbGLpAmWErsg
 XZvfZmwqL7CNzWexGvPFnnLyqwC33WUP0k0kT88Y5wh3/h98blw=
 =tej8
 -----END PGP SIGNATURE-----

Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging

virtio,pc,pci: features, fixes, cleanups

Features:

SR-IOV emulation for pci
virtio-mem-pci support for s390
interleave support for cxl
big endian support for vdpa svq
new QAPI events for vhost-user

Also vIOMMU reset order fixups are in.
Fixes, cleanups all over the place.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

 # -----BEGIN PGP SIGNATURE-----
 #
 # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAme4b8sPHG1zdEByZWRo
 # YXQuY29tAAoJECgfDbjSjVRpHKcIAKPJsVqPdda2dJ7b7FdyRT0Q+uwezXqaGHd4
 # 7Lzih1wsxYNkwIAyPtEb76/21qiS7BluqlUCfCB66R9xWjP5/KfvAFj4/r4AEduE
 # fxAgYzotNpv55zcRbcflMyvQ42WGiZZHC+o5Lp7vDXUP3pIyHrl0Ydh5WmcD+hwS
 # BjXvda58TirQpPJ7rUL+sSfLih17zQkkDcfv5/AgorDy1wK09RBKwMx/gq7wG8yJ
 # twy8eBY2CmfmFD7eTM+EKqBD2T0kwLEeLfS/F/tl5Fyg6lAiYgYtCbGLpAmWErsg
 # XZvfZmwqL7CNzWexGvPFnnLyqwC33WUP0k0kT88Y5wh3/h98blw=
 # =tej8
 # -----END PGP SIGNATURE-----
 # gpg: Signature made Fri 21 Feb 2025 20:21:31 HKT
 # gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
 # gpg:                issuer "mst@redhat.com"
 # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
 # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
 # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
 #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469

* tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu: (41 commits)
  docs/devel/reset: Document reset expectations for DMA and IOMMU
  hw/vfio/common: Add a trace point in vfio_reset_handler
  hw/arm/smmuv3: Move reset to exit phase
  hw/i386/intel-iommu: Migrate to 3-phase reset
  hw/virtio/virtio-iommu: Migrate to 3-phase reset
  vhost-user-snd: correct the calculation of config_size
  net: vhost-user: add QAPI events to report connection state
  hw/virtio/virtio-nsm: Respond with correct length
  vdpa: Fix endian bugs in shadow virtqueue
  MAINTAINERS: add more files to `vhost`
  cryptodev/vhost: allocate CryptoDevBackendVhost using g_mem0()
  vhost-iova-tree: Update documentation
  vhost-iova-tree, svq: Implement GPA->IOVA & partial IOVA->HVA trees
  vhost-iova-tree: Implement an IOVA-only tree
  amd_iommu: Use correct bitmask to set capability BAR
  amd_iommu: Use correct DTE field for interrupt passthrough
  hw/virtio: reset virtio balloon stats on machine reset
  mem/cxl_type3: support 3, 6, 12 and 16 interleave ways
  hw/mem/cxl_type3: Ensure errp is set on realization failure
  hw/mem/cxl_type3: Fix special_ops memory leak on msix_init_exclusive_bar() failure
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
20 hours ago
..
fuzz ui & main loop: Redesign of system-specific main thread event handling 2 months ago
libqos virtio,pc,pci: features, fixes, cleanups 20 hours ago
migration tests/qtest/migration: Add a cancel test 1 week ago
ac97-test.c tests/qtest/ac97-test: add up-/downsampling tests 2 years ago
acpi-utils.c tests/qtest: remove return after g_assert_not_reached() 5 months ago
acpi-utils.h
adm1266-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
adm1272-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
ahci-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
am53c974-test.c
arm-cpu-features.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
aspeed-smc-utils.c test/qtest: Introduce a new aspeed-smc-utils.c to place common testcases 2 months ago
aspeed-smc-utils.h test/qtest: Introduce a new aspeed-smc-utils.c to place common testcases 2 months ago
aspeed_fsi-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 10 months ago
aspeed_gpio-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
aspeed_hace-test.c
aspeed_smc-test.c test/qtest: Introduce a new aspeed-smc-utils.c to place common testcases 2 months ago
ast2700-gpio-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
ast2700-smc-test.c test/qtest/ast2700-smc-test: Support to test AST2700 2 months ago
bcm2835-dma-test.c tests/: spelling fixes 1 year ago
bcm2835-i2c-test.c hw/sensor/tmp105: Lower 4 bit of limit registers are always 0 5 months ago
bios-tables-test-allowed-diff.h tests: acpi: update expected blobs 1 month ago
bios-tables-test.c tests/qtest/bios-tables-test: Free tables at dump_aml_files 2 months ago
boot-order-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
boot-sector.c tests: boot_sector_test(): make it multi-shot 2 years ago
boot-sector.h
boot-serial-test.c tests: Add functional tests for HPPA machines 1 month ago
cdrom-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
cmsdk-apb-dualtimer-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 10 months ago
cmsdk-apb-timer-test.c
cmsdk-apb-watchdog-test.c tests/qtest/cmsdk-apb-watchdog-test: Test INTEN as counter enable 3 months ago
cpu-plug-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
cxl-test.c tests/qtest/cxl-test: Clean up temporary directories after testing 2 years ago
dbus-display-test.c tests: add basic -display dbus Map.Unix test 4 months ago
dbus-vmstate-test.c tests/qtest: Use EXIT_FAILURE instead of magic number 2 years ago
device-introspect-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
device-plug-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
display-vga-test.c tests/qtest/display-vga-test: Add proper checks if a device is available 2 years ago
dm163-test.c tests/qtest: Add missing qtest_quit() to stm32 tests 6 months ago
drive_del-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
ds1338-test.c tests/: spelling fixes 1 year ago
e1000-test.c tests: Fix error strings 2 years ago
e1000e-test.c tests/qtest/e1000e-test: Fabricate ethernet header 2 years ago
eepro100-test.c
emc141x-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
endianness-test.c Revert "Remove the unused sh4eb target" 4 months ago
erst-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 10 months ago
es1370-test.c tests/qtest: Specify audiodev= and -audiodev 1 year ago
fdc-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
fuzz-e1000e-test.c
fuzz-lsi53c895a-test.c hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller (CVE-2023-0330) 2 years ago
fuzz-megasas-test.c qtest: "-display none" is set in qtest_init() 2 years ago
fuzz-sb16-test.c qtest: "-display none" is set in qtest_init() 2 years ago
fuzz-sdcard-test.c qtest: "-display none" is set in qtest_init() 2 years ago
fuzz-virtio-scsi-test.c qtest: "-display none" is set in qtest_init() 2 years ago
fuzz-xlnx-dp-test.c qtest: "-display none" is set in qtest_init() 2 years ago
fw_cfg-test.c qtest/fw-cfg: remove compiled out code 2 months ago
hd-geo-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
hexloader-test.c cleanup: Tweak and re-run return_directly.cocci 2 years ago
i440fx-test.c tests/qtest: i440fx-test: Rewrite create_blob_file() to be portable 2 years ago
i82801b11-test.c
ide-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
igb-test.c igb: Introduce qtest for igb device 2 years ago
intel-hda-test.c tests/qtest: Specify audiodev= and -audiodev 1 year ago
intel-iommu-test.c tests/qtest: Add intel-iommu test 1 month ago
ioh3420-test.c
ipmi-bt-test.c chardev: finalize 'reconnect' deprecation 4 months ago
ipmi-kcs-test.c tests/qtest: replace assert(0) with g_assert_not_reached() 5 months ago
ipoctal232-test.c
isl_pmbus_vr-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
ivshmem-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 10 months ago
libqmp.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
libqmp.h qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
libqtest-single.h tests/qtest: libqtest: Adapt global_qtest declaration for win32 2 years ago
libqtest.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
libqtest.h qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
lpc-ich9-test.c
lsm303dlhc-mag-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
m48t59-test.c tests/qtest: skip m48t59-test if the machine is absent 10 months ago
machine-none-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
max34451-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
megasas-test.c
meson.build i386: enable rust hpet for pc when rust is enabled 1 week ago
microbit-test.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 10 months ago
migration-helpers.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
migration-test.c tests/qtest/migration: Pick smoke tests 2 weeks ago
modules-test.c blkio: add libblkio block driver 2 years ago
ne2000-test.c
netdev-socket.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
npcm7xx_adc-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
npcm7xx_emc-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
npcm7xx_gpio-test.c
npcm7xx_pwm-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
npcm7xx_rng-test.c
npcm7xx_sdhci-test.c tests/qtest/npcm7xx_sdhci: Access the card using its published address 8 months ago
npcm7xx_smbus-test.c
npcm7xx_timer-test.c tests/qtest: don't step clock at start of npcm7xx periodic IRQ test 2 weeks ago
npcm7xx_watchdog_timer-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
npcm_gmac-test.c tests/qtest: Fix GMAC test to run on a machine in upstream QEMU 1 year ago
numa-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
nvme-test.c misc: Use QEMU header path relative to include/ directory 10 months ago
pca9552-test.c misc/pca955*: Move models under hw/gpio 11 months ago
pci-test.c
pcnet-test.c
pflash-cfi02-test.c tests/qtest/pflash: Clean up local variable shadowing 1 year ago
pnv-host-i2c-test.c misc/pca955*: Move models under hw/gpio 11 months ago
pnv-spi-seeprom-test.c tests/qtest: Add pnv-spi-seeprom qtest 7 months ago
pnv-xive2-common.c tests/qtest: Add XIVE tests for the powernv10 machine 4 months ago
pnv-xive2-common.h tests/qtest: Add XIVE tests for the powernv10 machine 4 months ago
pnv-xive2-flush-sync.c tests/qtest: Add XIVE tests for the powernv10 machine 4 months ago
pnv-xive2-test.c tests/qtest: Add XIVE tests for the powernv10 machine 4 months ago
pnv-xscom-test.c ppc/pnv: Test pnv i2c master and connected devices 1 year ago
pnv-xscom.h ppc/pnv: Update Power10's cfam id to use Power10 DD2 7 months ago
ppc-util.h tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 8 months ago
prom-env-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 8 months ago
pvpanic-pci-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
pvpanic-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
pxe-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 8 months ago
q35-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qmp-cmd-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qmp-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qom-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qos-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qtest_aspeed.c qtest: Add functions for accessing devices on Aspeed I2C controller 2 years ago
qtest_aspeed.h aspeed: Clean up includes 1 year ago
readconfig-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
riscv-csr-test.c tests/qtest: QTest example for RISC-V CSR register 1 month ago
riscv-iommu-test.c qtest/riscv-iommu-test: add init queues test 4 months ago
rtas-test.c tests: add G_GNUC_PRINTF for various functions 2 years ago
rtc-test.c tests/qtest: Adapt {m48t59,rtc}-test cases for win32 3 years ago
rtl8139-test.c tests/qtest: replace assert(0) with g_assert_not_reached() 5 months 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` 10 months ago
stm32l4x5.h tests/qtest: Check STM32L4x5 clock connections 4 months ago
stm32l4x5_exti-test.c tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests 8 months ago
stm32l4x5_gpio-test.c tests/qtest: Use qtest_system_reset() instead of open-coded versions 2 months ago
stm32l4x5_rcc-test.c tests/qtest/stm32l4x5_rcc-test.c: Add tests for the STM32L4x5_RCC 12 months ago
stm32l4x5_syscfg-test.c tests/qtest: Use qtest_system_reset() instead of open-coded versions 2 months ago
stm32l4x5_usart-test.c tests/qtest: Check STM32L4x5 clock connections 4 months ago
tco-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
test-arm-mptimer.c
test-filter-mirror.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
test-filter-redirector.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
test-hmp.c hmp: Remove deprecated 'singlestep' command 1 year ago
test-netfilter.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
test-x86-cpuid-compat.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
tmp105-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
tpm-crb-swtpm-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 2 years ago
tpm-crb-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 2 years ago
tpm-emu.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
tpm-emu.h include: Rename sysemu/ -> system/ 2 months ago
tpm-tests.c tests: Wait for migration completion on destination QEMU to avoid failures 4 months ago
tpm-tests.h tests/: spelling fixes 1 year ago
tpm-tis-device-swtpm-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 2 years ago
tpm-tis-device-test.c
tpm-tis-i2c-test.c tests/: spelling fixes 1 year ago
tpm-tis-swtpm-test.c qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 2 years ago
tpm-tis-test.c
tpm-tis-util.c tests/: spelling fixes 1 year ago
tpm-tis-util.h qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 2 years ago
tpm-util.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
tpm-util.h qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it 2 years ago
tulip-test.c
ufs-test.c tests/qtest/ufs-test: Add test code for MCQ functionality 5 days ago
usb-hcd-ehci-test.c tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before using them 2 years ago
usb-hcd-ohci-test.c
usb-hcd-uhci-test.c tests/qtest/usb-hcd: Remove the empty "init" tests 1 year ago
usb-hcd-xhci-test.c tests/qtest/usb-hcd: Remove the empty "init" tests 1 year ago
vhost-user-blk-test.c tests/qtest/vhost-user-blk-test: use memory-backend-shm 8 months ago
vhost-user-test.c tests/qtest/vhost-user-test: Use modern virtio for vhost-user tests 1 day ago
virtio-9p-test.c tests/9p: also check 'Tgetattr' in 'use-after-unlink' test 3 months ago
virtio-balloon-test.c tests/qtest: add test for querying balloon guest stats 3 months ago
virtio-blk-test.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2 years ago
virtio-ccw-test.c tests/qtest/virtio-ccw: Fix device presence checking 1 year ago
virtio-iommu-test.c tests/qtest/virtio-iommu-test: Don't pass uninitialized data into qtest_memwrite 2 months ago
virtio-net-failover.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
virtio-net-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
virtio-rng-test.c
virtio-scsi-test.c tests/virtio-scsi: Clean up global variable shadowing 1 year ago
virtio-serial-test.c
virtio-test.c
vmcoreinfo-test.c tests/qtest/vmcoreinfo: add a unit test to exercize basic vmcoreinfo function 3 weeks ago
vmgenid-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
vmxnet3-test.c
vnc-display-test.c qtest: enable vnc-display test on win32 2 years ago
wdt_ib700-test.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks 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 1 year ago