[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 87ac25: ide: fix halted IO segfault at reset
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 87ac25: ide: fix halted IO segfault at reset |
Date: |
Fri, 29 Jul 2016 04:00:03 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 87ac25fd1fed05a30a93d27dbeb2a4c4b83ec95f
https://github.com/qemu/qemu/commit/87ac25fd1fed05a30a93d27dbeb2a4c4b83ec95f
Author: John Snow <address@hidden>
Date: 2016-07-28 (Thu, 28 Jul 2016)
Changed paths:
M hw/ide/core.c
Log Message:
-----------
ide: fix halted IO segfault at reset
If one attempts to perform a system_reset after a failed IO request
that causes the VM to enter a paused state, QEMU will segfault trying
to free up the pending IO requests.
These requests have already been completed and freed, though, so all
we need to do is NULL them before we enter the paused state.
Existing AHCI tests verify that halted requests are still resumed
successfully after a STOP event.
Analyzed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Signed-off-by: John Snow <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
Commit: aa2aac51f0f888b9a4a4fd461d5816ad84a1c448
https://github.com/qemu/qemu/commit/aa2aac51f0f888b9a4a4fd461d5816ad84a1c448
Author: Peter Maydell <address@hidden>
Date: 2016-07-29 (Fri, 29 Jul 2016)
Changed paths:
M hw/ide/core.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into
staging
# gpg: Signature made Thu 28 Jul 2016 23:50:37 BST
# gpg: using RSA key 0x7DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <address@hidden>"
# Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB
# Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390E
* remotes/jnsnow/tags/ide-pull-request:
ide: fix halted IO segfault at reset
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/21a21b853a1b...aa2aac51f0f8
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 87ac25: ide: fix halted IO segfault at reset,
GitHub <=