diff options
author | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:05 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:05 -0400 |
commit | dd6282217d8fee36e3854eab2635bec9cc5d5236 (patch) | |
tree | a17a4c1b21ecad8f0f069eab55a5f9ce3ed1fa2a /qemu-io.c | |
parent | 684d50132fdd68f4c2cba9e65b50f9b8ef4c5164 (diff) | |
download | hqemu-dd6282217d8fee36e3854eab2635bec9cc5d5236.zip hqemu-dd6282217d8fee36e3854eab2635bec9cc5d5236.tar.gz |
ahci: Do not map cmd_fis to generate response
The Register D2H FIS should copy the current values of
the registers instead of just parroting back the same
values the guest sent back to it.
In this case, the SECTOR COUNT variables are actually
not generally meaningful in terms of standard commands
(See ATA8-AC3 Section 9.2 Normal Outputs), so it actually
probably doesn't matter what we put in here.
Meanwhile, we do need to use the Register update FIS from
the NCQ pathways (in error cases), so getting rid of
references to cur_cmd here is a win for AHCI concurrency.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435767578-32743-14-git-send-email-jsnow@redhat.com
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions