[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/22] hw/ide: restore replay support of IDE
From: |
Alex Bennée |
Subject: |
[PULL 03/22] hw/ide: restore replay support of IDE |
Date: |
Fri, 9 Oct 2020 17:31:28 +0100 |
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>
diff --git a/hw/ide/core.c b/hw/ide/core.c
index 0e32abd779..693b352d5e 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -2289,8 +2289,8 @@ void ide_ctrl_write(void *opaque, uint32_t addr, uint32_t
val)
s = &bus->ifs[i];
s->status |= BUSY_STAT;
}
- aio_bh_schedule_oneshot(qemu_get_aio_context(),
- ide_bus_perform_srst, bus);
+ replay_bh_schedule_oneshot_event(qemu_get_aio_context(),
+ ide_bus_perform_srst, bus);
}
bus->cmd = val;
--
2.20.1
- [PULL 00/22] acceptance regressions, testing, gitdm, plugins, Alex Bennée, 2020/10/09
- [PULL 02/22] hw/misc/mips_cpc: Start vCPU when powered on, Alex Bennée, 2020/10/09
- [PULL 03/22] hw/ide: restore replay support of IDE,
Alex Bennée <=
- [PULL 01/22] configure: fix performance regression due to PIC objects, Alex Bennée, 2020/10/09
- [PULL 05/22] cirrus: msys2/mingw speed is up, add excluded target back, Alex Bennée, 2020/10/09
- [PULL 07/22] contrib/gitdm: Add more academic domains, Alex Bennée, 2020/10/09
- [PULL 06/22] tests/docker: Add genisoimage to the docker file, Alex Bennée, 2020/10/09
- [PULL 04/22] cirrus: Fixing and speedup the msys2/mingw CI, Alex Bennée, 2020/10/09
- [PULL 08/22] contrib/gitdm: Add more individual contributors, Alex Bennée, 2020/10/09
- [PULL 10/22] contrib/gitdm: Add ByteDance to the domain map, Alex Bennée, 2020/10/09
- [PULL 09/22] contrib/gitdm: Add Baidu to the domain map, Alex Bennée, 2020/10/09
- [PULL 14/22] contrib/gitdm: Add Nir Soffer to Red Hat domain, Alex Bennée, 2020/10/09
- [PULL 12/22] contrib/gitdm: Add Nuvia to the domain map, Alex Bennée, 2020/10/09