Re: [Qemu-devel] [PATCH v3 32/32] ahci: Add test_identify case to ahci-test.

2014-08-14 Thread Stefan Hajnoczi
On Wed, Aug 13, 2014 at 05:56:15PM -0400, John Snow wrote: > +/* Copy the existing Command #0 structure from the CLB into local memory, > + * and build a new command #0. */ > +memread(clb, &cmd, sizeof(cmd)); > +cmd.b1 = 5;/* reg_h2d_fis is 5 double-words long */ > +cmd.b2 =

[Qemu-devel] [PATCH v3 32/32] ahci: Add test_identify case to ahci-test.

2014-08-13 Thread John Snow
Utilizing all of the bring-up code in pci_enable and hba_enable, this test issues a simple IDENTIFY command via the HBA and retrieves the response via the PIO receive mechanisms of the HBA. Bugs: The DPS interrupt (Descriptor Processed Status) does not currently get set. This will need to be adjus