qemu/tests/qtest
Fiona Ebner 07c2a9c0fa tests/qtest: ahci-test: add test exposing reset issue with pending callback
Before commit "hw/ide: reset: cancel async DMA operation before
resetting state", this test would fail, because a reset with a
pending write operation would lead to an unsolicited write to the
first sector of the disk.

The test writes a pattern to the beginning of the disk and verifies
that it is still intact after a reset with a pending operation. It
also checks that the pending operation actually completes correctly.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20230906130922.142845-2-f.ebner@proxmox.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit cc610857bbd3551f4b86ae2299336b5d9aa0db2b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-11-19 21:15:06 +03:00
..
fuzz tests/qtests: clean-up and fix leak in generic_fuzz 2023-07-03 12:51:26 +01:00
libqos hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 2023-09-21 19:35:19 +03:00
ac97-test.c tests/qtest/ac97-test: add up-/downsampling tests 2023-05-26 09:10:49 +02:00
acpi-utils.c
acpi-utils.h
adm1272-test.c
ahci-test.c tests/qtest: ahci-test: add test exposing reset issue with pending callback 2023-11-19 21:15:06 +03:00
am53c974-test.c
arm-cpu-features.c
aspeed_gpio-test.c
aspeed_hace-test.c
aspeed_smc-test.c
bcm2835-dma-test.c
bios-tables-test-allowed-diff.h tests/acpi/bios-tables-test: update acpi blob q35/DSDT.noacpihp 2023-07-10 18:59:32 -04:00
bios-tables-test.c tests/acpi/bios-tables-test: use the correct slot on the pcie-root-port 2023-07-10 18:59:32 -04:00
boot-order-test.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2023-05-16 09:14:18 +02:00
boot-sector.c
boot-sector.h
boot-serial-test.c
cdrom-test.c tests/qtest: Check for virtio-blk before using -cdrom with the arm virt machine 2023-05-26 09:10:49 +02:00
cmsdk-apb-dualtimer-test.c
cmsdk-apb-timer-test.c
cmsdk-apb-watchdog-test.c
cpu-plug-test.c
cxl-test.c tests/qtest/cxl-test: Clean up temporary directories after testing 2023-06-26 09:01:33 +02:00
dbus-display-test.c tests: make dbus-display-test work on win32 2023-06-27 17:08:56 +02:00
dbus-vmstate-test.c
device-introspect-test.c
device-plug-test.c target/ppc: Add POWER9 DD2.2 model 2023-05-28 13:25:11 -03:00
display-vga-test.c
drive_del-test.c
ds1338-test.c
e1000-test.c
e1000e-test.c
eepro100-test.c
emc141x-test.c
endianness-test.c
erst-test.c
es1370-test.c
fdc-test.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2023-05-16 09:14:18 +02:00
fuzz-e1000e-test.c
fuzz-lsi53c895a-test.c hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller (CVE-2023-0330) 2023-05-26 09:37:04 +02:00
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
hd-geo-test.c tests/qtest/hd-geo-test: fix incorrect pcie-root-port usage and simplify test 2023-07-10 18:59:32 -04:00
hexloader-test.c
i440fx-test.c
i82801b11-test.c
ide-test.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2023-05-16 09:14:18 +02:00
igb-test.c
intel-hda-test.c
ioh3420-test.c
ipmi-bt-test.c
ipmi-kcs-test.c
ipoctal232-test.c
isl_pmbus_vr-test.c
ivshmem-test.c
libqmp.c
libqmp.h
libqtest-single.h
libqtest.c tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest 2023-07-10 15:34:57 +02:00
libqtest.h tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest 2023-07-10 15:34:57 +02:00
lpc-ich9-test.c
lsm303dlhc-mag-test.c
m48t59-test.c
machine-none-test.c
max34451-test.c
megasas-test.c
meson.build tests/qtest: sifive-e-aon-watchdog-test.c: Add QTest of watchdog of sifive_e 2023-07-10 22:29:15 +10:00
microbit-test.c
migration-helpers.c tests/qtest: capture RESUME events during migration 2023-06-02 11:46:19 +02:00
migration-helpers.h tests/qtest: capture RESUME events during migration 2023-06-02 11:46:19 +02:00
migration-test.c qtest/migration-tests.c: use "-incoming defer" for postcopy tests 2023-07-26 10:55:56 +02:00
modules-test.c
ne2000-test.c
netdev-socket.c net: stream: test reconnect option with an unix socket 2023-05-16 09:14:18 +02:00
npcm7xx_adc-test.c
npcm7xx_emc-test.c
npcm7xx_gpio-test.c
npcm7xx_pwm-test.c
npcm7xx_rng-test.c
npcm7xx_sdhci-test.c
npcm7xx_smbus-test.c
npcm7xx_timer-test.c
npcm7xx_watchdog_timer-test.c
numa-test.c
nvme-test.c
pca9552-test.c
pci-test.c
pcnet-test.c
pflash-cfi02-test.c
pnv-xscom-test.c tests/qtest: Add xscom tests for powernv10 machine 2023-07-07 04:49:06 -03:00
prom-env-test.c
pvpanic-pci-test.c
pvpanic-test.c
pxe-test.c
q35-test.c
qmp-cmd-test.c accel/tcg: remove CONFIG_PROFILER 2023-06-26 17:33:00 +02:00
qmp-test.c
qom-test.c
qos-test.c
qtest_aspeed.c
qtest_aspeed.h
readconfig-test.c tests/qtest/readconfig: Test the docs/config/q35-*.cfg files 2023-07-10 15:34:57 +02:00
rtas-test.c
rtc-test.c
rtl8139-test.c tests/qtest/rtl8139-test: Check whether the rtl8139 device is available 2023-05-26 09:10:49 +02:00
sdhci-test.c
sifive-e-aon-watchdog-test.c tests/qtest: sifive-e-aon-watchdog-test.c: Add QTest of watchdog of sifive_e 2023-07-10 22:29:15 +10:00
spapr-phb-test.c
sse-timer-test.c
tco-test.c
test-arm-mptimer.c
test-filter-mirror.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2023-05-16 09:14:18 +02:00
test-filter-redirector.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2023-05-16 09:14:18 +02:00
test-hmp.c docs tests: Fix use of migrate_set_parameter 2023-09-21 19:35:19 +03:00
test-netfilter.c
test-x86-cpuid-compat.c
tmp105-test.c
tpm-crb-swtpm-test.c
tpm-crb-test.c
tpm-emu.c
tpm-emu.h
tpm-tests.c
tpm-tests.h
tpm-tis-device-swtpm-test.c
tpm-tis-device-test.c
tpm-tis-i2c-test.c
tpm-tis-swtpm-test.c
tpm-tis-test.c
tpm-tis-util.c
tpm-tis-util.h
tpm-util.c
tpm-util.h
tulip-test.c
usb-hcd-ehci-test.c tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before using them 2023-05-26 09:10:49 +02:00
usb-hcd-ohci-test.c
usb-hcd-uhci-test.c tests/qtest/usb-hcd-uhci-test: Check whether "usb-storage" is available 2023-05-26 09:10:49 +02:00
usb-hcd-xhci-test.c
vhost-user-blk-test.c
vhost-user-test.c tests/qtest: enable tests for virtio-scmi 2023-07-10 16:17:08 -04:00
virtio-9p-test.c
virtio-blk-test.c tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success 2023-05-16 09:14:18 +02:00
virtio-ccw-test.c tests/qtest: Check for the availability of virtio-ccw devices before using them 2023-05-22 09:44:48 +02:00
virtio-iommu-test.c
virtio-net-failover.c
virtio-net-test.c
virtio-rng-test.c
virtio-scsi-test.c
virtio-serial-test.c
virtio-test.c
vmgenid-test.c
vmxnet3-test.c
vnc-display-test.c
wdt_ib700-test.c
xlnx-can-test.c
xlnx-canfd-test.c tests/qtest: xlnx-canfd-test: Fix code coverity issues 2023-07-06 13:26:43 +01:00