John Snow c82bd3c893 ahci: add cmd header to ncq transfer state
While the rest of the AHCI device can rely on a single bookmarked
pointer for the AHCI Command Header currently being processed, NCQ
is asynchronous and may have many commands in flight simultaneously.

Add a cmdh pointer to the ncq_tfs object and make the sglist prepare
function take an AHCICmdHeader pointer so we can be explicit about
where we'd like to build SGlists from.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435767578-32743-11-git-send-email-jsnow@redhat.com
2015-07-04 02:06:05 -04:00
..
2015-03-10 14:01:22 +00:00
2015-07-04 02:06:04 -04:00
2015-05-22 15:58:22 -04:00
2015-07-04 02:06:04 -04:00
2014-10-24 12:19:11 +01:00
2015-07-04 02:06:04 -04:00
2015-03-10 14:01:22 +00:00
2015-03-10 14:01:22 +00:00