diff options
| author | John Snow | 2020-07-24 07:23:00 +0200 |
|---|---|---|
| committer | John Snow | 2020-10-01 19:04:16 +0200 |
| commit | 55adb3c45620c31f29978f209e2a44a08d34e2da (patch) | |
| tree | f3f9f8d417e8b2fc3ed2d0ddbca69cdf20e4361b /include | |
| parent | ide: clear interrupt on command write (diff) | |
| download | qemu-55adb3c45620c31f29978f209e2a44a08d34e2da.tar.gz qemu-55adb3c45620c31f29978f209e2a44a08d34e2da.tar.xz qemu-55adb3c45620c31f29978f209e2a44a08d34e2da.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
