Skip to content

atapi: classify read_cd as conditionally returning data

John Snow qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my IDE tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesApplied
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- Actually applied the changes this time ...
- And added a test to the AHCI suite...
- ...Which revealed a few small issues in the suite.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3atapi: classify read_cd as conditionally returning datahw/ide/atapi.c+40 -110 replies
2/3ahci-test: Create smaller test ISO imagestests/ahci-test.c+2 -10 replies
3/3ahci-test: test atapi read_cd with bcl, nb_sectors = 0tests/ahci-test.c tests/libqos/ahci.c tests/libqos/ahci.h+59 -213 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin WolfHervé Poussineau
SeriesR-b T-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] atapi: classify read_cd as conditionally returning data

v2:
- Actually applied the changes this time ...
- And added a test to the AHCI suite...
- ...Which revealed a few small issues in the suite.

The AHCI test should be sufficient in terms of general proof for ATAPI regardless of the HBA used.

________________________________________________________________________________

For convenience, this branch is available at:
https://github.com/jnsnow/qemu.git branch ide-fix-read-cd
https://github.com/jnsnow/qemu/tree/ide-fix-read-cd

This version is tagged ide-fix-read-cd-v2:
https://github.com/jnsnow/qemu/releases/tag/ide-fix-read-cd-v2

John Snow (3):
atapi: classify read_cd as conditionally returning data
ahci-test: Create smaller test ISO images
ahci-test: test atapi read_cd with bcl,nb_sectors = 0

 hw/ide/atapi.c      | 51 ++++++++++++++++++++++++++++++++++++++++-----------
 tests/ahci-test.c   | 39 +++++++++++++++++++++++++++++++--------
 tests/libqos/ahci.c | 27 ++++++++++++++++++++-------
 tests/libqos/ahci.h | 17 ++++++++++-------
 4 files changed, 101 insertions(+), 33 deletions(-)
Signature · 1 line
2.7.4