[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 09/19] qtest/ahci: Demagic ahci tests.
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 09/19] qtest/ahci: Demagic ahci tests. |
Date: |
Thu, 5 Feb 2015 13:22:04 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Feb 03, 2015 at 04:46:29PM -0500, John Snow wrote:
> Add human-readable command names and other miscellaneous #defines
> to help make the code more readable.
>
> Some of these definitions are not yet used in this current series,
> but for convenience and sanity they have been lumped together here,
> as it's more trouble than it is worth in a test suite to hand-pick,
> one-by-one, which preprocessor definitions are useful per-each test.
>
> These definitions include:
>
> ATA Command Mnemonics
> Current expected AHCI sector size
> FIS magic bytes
> REG_H2D_FIS flags
> Command Header flags
>
> Signed-off-by: John Snow <address@hidden>
> ---
> tests/ahci-test.c | 12 ++++++------
> tests/libqos/ahci.h | 53
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 59 insertions(+), 6 deletions(-)
I have not checked all the constants against the spec, but the patch
looks reasonable.
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgpx73TaVPkLI.pgp
Description: PGP signature
- Re: [Qemu-devel] [PATCH v2 10/19] qtest/ahci: add ahci_write_fis, (continued)
- [Qemu-devel] [PATCH v2 05/19] libqos/ahci: Add ahci_port_check_error helper, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helpers, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 11/19] libqos/ahci: Add ide cmd properties, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 07/19] libqos/ahci: Add port_check_nonbusy helper, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 14/19] libqos/ahci: add ahci command size setters, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 09/19] qtest/ahci: Demagic ahci tests., John Snow, 2015/02/03
- Re: [Qemu-devel] [PATCH v2 09/19] qtest/ahci: Demagic ahci tests.,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v2 08/19] libqos/ahci: Add cmd response sanity check helpers, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 15/19] libqos/ahci: Add ahci_guest_io, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 06/19] libqos/ahci: Add ahci_port_check_interrupts helper, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 13/19] libqos/ahci: add ahci command verify, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 12/19] libqos/ahci: add ahci command functions, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 16/19] libqos/ahci: add ahci_io, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 17/19] libqos/ahci: Add ahci_clean_mem, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 18/19] qtest/ahci: Assert sector size in identify test, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 19/19] qtest/ahci: Adding simple dma read-write test, John Snow, 2015/02/03