From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWV9x-0001Kk-8N for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:22:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWV9w-0001mI-79 for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:22:13 -0400 From: John Snow Date: Fri, 13 Mar 2015 15:22:01 -0400 Message-Id: <1426274523-22661-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] ahci: test varying sector offsets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, John Snow , qemu-devel@nongnu.org, stefanha@redhat.com 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(-) -- 1.9.3