diff options
author | John Snow <jsnow@redhat.com> | 2020-07-24 01:23:00 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2020-10-01 13:04:16 -0400 |
commit | 55adb3c45620c31f29978f209e2a44a08d34e2da (patch) | |
tree | f3f9f8d417e8b2fc3ed2d0ddbca69cdf20e4361b /hw/mips | |
parent | 6f52e69f468f3b75db0292be3ee479db699a9a57 (diff) |
ide: cancel pending callbacks on SRST
The SRST implementation did not keep up with the rest of IDE; it is
possible to perform a weak reset on an IDE device to remove the BSY/DRQ
bits, and then issue writes to the control/device registers which can
cause chaos with the state machine.
Fix that by actually performing a real reset.
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Fixes: https://bugs.launchpad.net/qemu/+bug/1878253
Fixes: https://bugs.launchpad.net/qemu/+bug/1887303
Fixes: https://bugs.launchpad.net/qemu/+bug/1887309
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/mips')
0 files changed, 0 insertions, 0 deletions