ahci: clean up initial d2h semantics
commite47f9eb148fc3b9a67d318951ebceb834205f94c
authorJohn Snow <jsnow@redhat.com>
Tue, 1 Sep 2015 20:50:41 +0000 (1 16:50 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Sep 2015 14:58:56 +0000 (18 10:58 -0400)
tree3e90032215182aff601f93061d987488754f1370
parent28ee82557cdbf3d9023b58f7229b0d0fd1a3d776
ahci: clean up initial d2h semantics

with write_fis_d2h and signature generation tidied up,
let's adjust the initial d2h semantics to make more sense.

The initial d2h is considered delivered if there is guest
memory to save it to.

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