aboutsummaryrefslogtreecommitdiff
path: root/target-s390x
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-05-19 11:57:09 +0200
committerKevin Wolf <kwolf@redhat.com>2011-05-19 12:08:28 +0200
commit1fddfba129f5435c80eda14e8bc23fdb888c7187 (patch)
treee179e02b5a2943002a43dbe06334ffdc0d890e49 /target-s390x
parent8d278467ff698de351a136e71f352e611e728579 (diff)
ahci: Fix non-NCQ accesses for LBA > 16bits
AHCI provides two ways of reading/writing data: 1) NCQ 2) ATA commands with the LBA in the command FIS In the second code path, we didn't handle any LBAs that were bigger than 16 bits, so whenever a guest that used high LBA numbers wanted to access data, the LBA got truncated down to 16 bits, giving the guest garbage. This patch adds support for LBAs higher than 16 bits. I've tested that it works just fine with SeaBIOS and Linux guests. This patch also unbreaks the often reported grub errors people have seen with AHCI. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-s390x')
0 files changed, 0 insertions, 0 deletions