[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH v2 0/2] ahci: test varying sector offsets

From: John Snow
Subject: [Qemu-block] [PATCH v2 0/2] ahci: test varying sector offsets
Date: Fri, 13 Mar 2015 15:22:01 -0400

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.

- 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().

- 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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]