Commit d1aadaaa55 for qemu.org
commit d1aadaaa557b41d63a4ebadfb6d7b70ba8f0c7f9
Merge: 539bc31553 be1ee6a8f6
Author: Richard Henderson <richard.henderson@linaro.org>
Date: Fri Aug 14 08:43:15 2026 -0700
Merge tag 'pull-ide-2026-08-13' of https://gitlab.com/dlunev/qemu into staging
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 <den@openvz.org>
CC: Richard Henderson <richard.henderson@linaro.org>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEC66qh9MCCtwRUOUfXgdxtstmbKsFAmp+FQIACgkQXgdxtstm
# bKuM9A/9HcPhTCHlS+kmZO7XofHtTcLDfU4srvMFtGwf0v9uZ5v8hD38vs1RShEv
# NXwY0ENjXxkuNy+lJEwLqBIJga6l4UrmO0aSoGdWN2vbVAKA0KAkdozYQCihstxE
# qlJhXoqwaPTfbT1EMCbYdaNohDatlyZQA8AsXszuU7SX4sYzPBqO3F3nWSzqqYtM
# uP/nlbsEflvjCIO0P/orcwnNchEGqaIGyeeIfiR4JgqYLkz3qQ/m9ay11M8TBl4i
# 97Oh8Xn/0Bs+qWNoU5JugzF0YgMl+M4aDvq15hRvcn8yYtWp2xIpIAyCE69VCoLM
# U6CvBh5DzaJ+zkiPvUrVms6qfSWfjJ3C9PDKf8jEVy6iEmmHNyVpGg/VM09WApnX
# jxxZuT/O0WsHGCITxtpaxoNHXYBcxj6L3gbs0jyTuWBenCLSxT9jyeDgbcG8sK6x
# scIKAkVb9W+0pSsJcMiHVMN3gS1Jak1wf9nU2v2Ij0E6coD0cN84miD1iGybnVDa
# uT4B5bZ6VxR42B64qwSiOcp/2wkxXE5RTxpMK+/M4G7S70uUaXr3rMkONJ8JVfbq
# 3mAxxwwLUM0UmYmKtymzyM1yD9c2G0qMvTQ4OWM1wssRHWY1Pdb9hM/Nhu7+NiXt
# JUQGPp2/RC7BP6X7/LmEyYWaLo1frFAcRKaVgDXzCyoO4vTh+Xc=
# =emKZ
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 13 Aug 2026 12:03:30 PM PDT
# gpg: using RSA key 0BAEAA87D3020ADC1150E51F5E0771B6CB666CAB
# gpg: Good signature from "Denis V. Lunev <den@openvz.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 0BAE AA87 D302 0ADC 1150 E51F 5E07 71B6 CB66 6CAB
* tag 'pull-ide-2026-08-13' of https://gitlab.com/dlunev/qemu:
tests/qtest/ahci: regression test for ATAPI read vs. drain
hw/ide/atapi: read the whole elementary transfer asynchronously
tests/qtest/ahci: cover raw (2352-byte) ATAPI CD reads
tests/qtest/libqos/ahci: support raw (2352-byte) READ CD
tests/qtest/ide-test: cover raw (2352-byte) ATAPI CD reads
tests/qtest/ide-test: add a multi-sector ATAPI DMA read test
tests/qtest/ide-test: parametrize the ATAPI CD-ROM read test
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>