ahci: stash ncq command
commit4614619ee4ad96d2715dc41f9430fb43335c15d2
authorJohn Snow <jsnow@redhat.com>
Sat, 4 Jul 2015 06:06:04 +0000 (4 02:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Sat, 4 Jul 2015 06:06:04 +0000 (4 02:06 -0400)
treeb73ebe441895cc5cfb0162827d1c8c6532bb1f6a
parenta718978ed58abc1ad92567a9c17525136be02a71
ahci: stash ncq command

For migration and werror=stop/rerror=stop resume purposes,
it will be convenient to have the command handy inside of
ncq_tfs.

Eventually, we'd like to avoid reading from the FIS entirely
after the initial read, so this is a byte (hah!) sized step
in that direction.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435767578-32743-3-git-send-email-jsnow@redhat.com
hw/ide/ahci.c
hw/ide/ahci.h