hw/ide: restore replay support of IDE
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 7 Oct 2020 16:00:19 +0000 (17:00 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 9 Oct 2020 16:27:55 +0000 (17:27 +0100)
commitde00b8b3768c2f854065ab1269bd6d68af3d2263
tree76b2f9db1d88ee73fb28331865845503b04ca6aa
parent42a052333a6d31fa74b3f8c152bc433d869e09c4
hw/ide: restore replay support of IDE

A recent change to weak reset handling broke replay due to the use of
aio_bh_schedule_oneshot instead of the replay aware
replay_bh_schedule_oneshot_event.

Fixes: 55adb3c456 ("ide: cancel pending callbacks on SRST")
Suggested-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20201007160038.26953-4-alex.bennee@linaro.org>
hw/ide/core.c