[PULL v3 0/7] IDE patches
"Denis V. Lunev" <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu,gmane.comp.emulators.qemu.block |
|---|---|
| Message-ID | <[email protected]> |
The following changes since commit 539bc315538afe036a4b99088659aa82e3b489f2: Merge tag 'pull-loongarch-20260813' of https://github.com/bibo-mao/qemu into staging (2026-08-13 07:16:25 -0700) are available in the Git repository at: https://gitlab.com/dlunev/qemu tags/pull-ide-2026-08-13 for you to fetch changes up to be1ee6a8f6e3b7192d57e900497b81a048f8d193: tests/qtest/ahci: regression test for ATAPI read vs. drain (2026-08-13 20:59:49 +0200) ---------------------------------------------------------------- IDE patches - fix a main-loop deadlock when an ATAPI PIO read spanning several sectors is in flight while a drain starts: the nested sector fetch was issued synchronously from inside the completion of the first read and queued behind the drain, which then never finished - read the whole ATAPI elementary transfer in one asynchronous request instead, removing cd_read_sector_sync() - extend the IDE/AHCI qtest coverage of ATAPI CD reads: parametrized read helper, multi-sector DMA, raw 2352-byte READ CD on both delivery paths, and a regression test for the deadlock above Changes since v2: - resend: the v2 tag was never pushed, so the tree advertised in that pull request could not be fetched - rebased onto current master, no code changes Changes since v1: - MAINTAINERS patch dropped - spare blank line no longer added and removed within the series NOTE: 'hw/ide: Don't divide by zero if guest specifies 0 sectors requires' is not ready for me, skipped from this submission. Signed-off-by: Denis V. Lunev <[email protected]> CC: Richard Henderson <[email protected]> CC: Stefan Hajnoczi <[email protected]> CC: Philippe Mathieu-Daudé <[email protected]> ---------------------------------------------------------------- Denis V. Lunev (7): tests/qtest/ide-test: parametrize the ATAPI CD-ROM read test tests/qtest/ide-test: add a multi-sector ATAPI DMA read test tests/qtest/ide-test: cover raw (2352-byte) ATAPI CD reads tests/qtest/libqos/ahci: support raw (2352-byte) READ CD tests/qtest/ahci: cover raw (2352-byte) ATAPI CD reads hw/ide/atapi: read the whole elementary transfer asynchronously tests/qtest/ahci: regression test for ATAPI read vs. drain hw/ide/atapi.c | 180 +++++++++++++++----------------- tests/qtest/ahci-test.c | 134 ++++++++++++++++++++++++ tests/qtest/ide-test.c | 211 ++++++++++++++++++++++++-------------- tests/qtest/libqos/ahci.c | 5 + tests/qtest/libqos/ahci.h | 2 + 5 files changed, 360 insertions(+), 172 deletions(-) -- 2.53.0