1. 21 8月, 2011 1 次提交
  2. 08 8月, 2011 1 次提交
  3. 19 5月, 2011 1 次提交
    • A
      ahci: Fix non-NCQ accesses for LBA > 16bits · 1fddfba1
      Alexander Graf 提交于
      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: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      1fddfba1
  4. 18 5月, 2011 1 次提交
  5. 07 4月, 2011 1 次提交
  6. 07 2月, 2011 5 次提交
  7. 31 1月, 2011 2 次提交
  8. 19 12月, 2010 1 次提交
    • B
      ahci: delete write-only variables (v2) · cdfe17df
      Blue Swirl 提交于
      Avoid these warnings with GCC 4.6.0:
      /src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port':
      /src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used [-Werror=unused-but-set-variable]
      /src/qemu/hw/ide/ahci.c: In function 'handle_cmd':
      /src/qemu/hw/ide/ahci.c:1103:19: error: variable 'pr' set but not used [-Werror=unused-but-set-variable]
      
      In the tfd variable case, fix the logic also.
      
      CC: Alexander Graf <agraf@suse.de>
      CC: Kevin Wolf <kwolf@redhat.com>
      Acked-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      cdfe17df
  9. 17 12月, 2010 2 次提交