qemu-devel
[Top][All Lists]
Advanced

[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>

Attachment: pgpx73TaVPkLI.pgp
Description: PGP signature


reply via email to

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