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 10:38:57 +0000 (11:38 +0100)
commit3d7fed93dd266354559dced66aa94c4e1c735c79
tree1d21499b67afd2bad54fac97072d59d447535368
parentdf0b8da629a9de824391f544bfdbd3dd7f07693d
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