]> git.ipfire.org Git - thirdparty/qemu.git/commit
ahci: Implement HBA reset
authorAlexander Graf <agraf@suse.de>
Tue, 1 Feb 2011 14:51:30 +0000 (15:51 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Feb 2011 11:55:24 +0000 (12:55 +0100)
commitc3a965c943c97ea659b56c8bade53481f4effcf4
tree77ad142e0c4b898bdcc4e5fd71c10eeacfa13c07
parentabc99974161813754ecf5fd5f8bbb95d11abd10e
ahci: Implement HBA reset

The ahci code was missing its soft reset functionality. This wasn't really an
issue for Linux guests, but Windows gets confused when the controller doesn't
reset when it tells it so.

Using this patch I can now successfully boot Windows 7 from AHCI using AHCI
enabled SeaBIOS.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 760c3e44d3a1d8a7e9d22f0429b1805d1c688178)
hw/ide/ahci.c