diff options
author | John Snow <jsnow@redhat.com> | 2018-06-06 15:09:49 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2018-06-08 13:17:59 -0400 |
commit | 27e4648ce98f8172c2c2449896430e87652818d1 (patch) | |
tree | ead0d39618c863ce029795f4f17290c795d13051 /hw | |
parent | edc35b3dc25a71f226ce9a0e6517a9ee26a023ff (diff) | |
download | qemu-27e4648ce98f8172c2c2449896430e87652818d1.zip qemu-27e4648ce98f8172c2c2449896430e87652818d1.tar.gz qemu-27e4648ce98f8172c2c2449896430e87652818d1.tar.bz2 |
libqos/ahci: track sector size
It's not always 512, and it does wind up mattering for PIO tranfers,
because this means DRQ blocks are four times as big for ATAPI.
Replace an instance of 2048 with the correct define, too.
This patch by itself winds changing no behavior. fis->count is ignored
for CMD_PACKET, and sect_count only gets used in non-ATAPI cases.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180606190955.20845-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions