Re: [Qemu-devel] [PATCH 09/19] qtest/ahci: Demagic ahci tests.

2015-02-02 Thread Paolo Bonzini
On 30/01/2015 19:42, John Snow wrote: > memset(&cmd, 0x00, sizeof(cmd)); > -cmd.flags = 5; /* reg_h2d_fis is 5 double-words long */ > -cmd.flags = 0x400; /* clear PxTFD.STS.BSY when done */ > -cmd.prdtl = 1; /* One PRD table entry. */ > +cmd.flags = 5;/* r

[Qemu-devel] [PATCH 09/19] qtest/ahci: Demagic ahci tests.

2015-01-30 Thread John Snow
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 han