Re: [Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helpers

2015-02-05 Thread Stefan Hajnoczi
On Tue, Feb 03, 2015 at 04:46:24PM -0500, John Snow wrote: > @@ -432,5 +433,11 @@ void start_ahci_device(AHCIQState *ahci); > void ahci_hba_enable(AHCIQState *ahci); > unsigned ahci_port_select(AHCIQState *ahci); > void ahci_port_clear(AHCIQState *ahci, uint8_t px); > +void ahci_get_command_head

[Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helpers

2015-02-03 Thread John Snow
Adds command header helper functions: -ahci_command_header_set -ahci_command_header_get, -ahci_command_destroy, and -ahci_cmd_pick These helpers help to quickly manage the command header information in the AHCI device. ahci_command_header_set and get will store or retrieve an AHCI command header,