ide: move transfer_start after variable modification
authorAlexander Graf <agraf@suse.de>
Tue, 14 Dec 2010 23:23:01 +0000 (00:23 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:01 +0000 (16:11 +0100)
commit2ff61ff1955cb5268a2604aba8f6aa0c4c658505
tree9e148a79fbaafbf29c1fc715352b3d559989755f
parent40a6238a20134a4687f67072d9be99cd97aab59a
ide: move transfer_start after variable modification

We hook into transfer_start and immediately call the end function
for ahci. This means that everything needs to be in place for the
end function when we start the transfer, so let's move the function
down to where all state is in place.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c