[Qemu-devel] [PATCH] AHCI read/write corruption with int13h

2014-07-30 Thread Eniac Zhang
The AHCI controller code in Qemu has a bug that it will use the wrong LBA address when Seabios tries to access LBA>128GB (aka 127.5GB limit http://www.hardwaresecrets.com/printpage/Hard-Disk-Drives-Capacity-Limits/482). When we needs to access the LBA>0xfff, 28bit LBA is not sufficient thu

[Qemu-devel] [PATCH] AHCI read/write corruption with int13h

2014-07-30 Thread Eniac Zhang
The AHCI controller code in Qemu has a bug that it will use the wrong LBA address when Seabios tries to access LBA>128GB (aka 127.5GB limit http://www.hardwaresecrets.com/printpage/Hard-Disk-Drives-Capacity-Limits/482). When we needs to access the LBA>0xfff, 28bit LBA is not sufficient thu