ahci: Implement HBA reset
commit760c3e44d3a1d8a7e9d22f0429b1805d1c688178
authorAlexander Graf <agraf@suse.de>
Tue, 1 Feb 2011 14:51:30 +0000 (1 15:51 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Feb 2011 10:38:57 +0000 (7 11:38 +0100)
tree1d21499b67afd2bad54fac97072d59d447535368
parent87e62065bb5e0e544e45e6935e3ac2b053fe446e
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>
hw/ide/ahci.c