Skip to content

ahci: test varying sector offsets

John Snow qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Patchew caught a pathing problem with the qemu-img binary; the relative path produced by the Makefile does not prepend "./", so I was relying on the /distro's/ qemu-img by accident. Fix that by using realpath().

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qtest/ahci: add qcow2 support to ahci-testtests/Makefile tests/ahci-test.c tests/libqos/libqos.c +1 more+53 -100 replies
2/2qtest/ahci: test different disk sectorstests/ahci-test.c tests/libqos/ahci.c tests/libqos/ahci.h+63 -190 replies

Reviews trailers per patch

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

PatchStefan Hajnoczi
SeriesA-b
1/2
2/2

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/2] ahci: test varying sector offsets

This is a re-send of patches 7 & 8 from an earlier series, "[PATCH v2 0/8] ahci: add more IO tests" which ultimately got bounced back because I used some glib functions that were too new.

v2:
- Patchew caught a pathing problem with the qemu-img binary; the relative path produced by the Makefile does not prepend "./", so I was relying on the /distro's/ qemu-img by accident. Fix that by using realpath().

v1:
- Removed "./" from the execution CLI. Now you can set an absolute or relative path for QTEST_QEMU_IMG and it will work either way. The default as generated by the Makefile will be a relative path.

- Removed the g_spawn_check_exit_status glib call from mkimg(). See the in-line comments in patch 1/2 for correctness justification.

John Snow (2):
qtest/ahci: add qcow2 support to ahci-test
qtest/ahci: test different disk sectors

 tests/Makefile        |  1 +
 tests/ahci-test.c     | 84 +++++++++++++++++++++++++++++++++++++--------------
 tests/libqos/ahci.c   | 10 +++---
 tests/libqos/ahci.h   |  4 +--
 tests/libqos/libqos.c | 44 +++++++++++++++++++++++++++
 tests/libqos/libqos.h |  2 ++
 6 files changed, 116 insertions(+), 29 deletions(-)
Signature · 1 line
1.9.3