[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/3] ide/atapi: Fix START STOP UNIT command completio
From: |
John Snow |
Subject: |
[Qemu-devel] [PULL 2/3] ide/atapi: Fix START STOP UNIT command completion |
Date: |
Mon, 27 Jul 2015 08:01:42 -0400 |
From: Kevin Wolf <address@hidden>
The command must be completed on all code paths. START STOP UNIT with
pwrcnd set should succeed without doing anything.
Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: John Snow <address@hidden>
---
hw/ide/atapi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c
index 950e311..79dd167 100644
--- a/hw/ide/atapi.c
+++ b/hw/ide/atapi.c
@@ -983,6 +983,7 @@ static void cmd_start_stop_unit(IDEState *s, uint8_t* buf)
if (pwrcnd) {
/* eject/load only happens for power condition == 0 */
+ ide_atapi_cmd_ok(s);
return;
}
--
2.1.0
- [Qemu-devel] [PULL 0/3] Cve 2015 5154 patches, John Snow, 2015/07/27
- [Qemu-devel] [PULL 2/3] ide/atapi: Fix START STOP UNIT command completion,
John Snow <=
- [Qemu-devel] [PULL 3/3] ide: Clear DRQ after handling all expected accesses, John Snow, 2015/07/27
- [Qemu-devel] [PULL 1/3] ide: Check array bounds before writing to io_buffer (CVE-2015-5154), John Snow, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, Stefan Priebe - Profihost AG, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, John Snow, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, John Snow, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, Stefan Priebe - Profihost AG, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, Kevin Wolf, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, Peter Lieven, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, Kevin Wolf, 2015/07/27
- Re: [Qemu-devel] [Qemu-stable] [PULL 0/3] Cve 2015 5154 patches, Peter Lieven, 2015/07/27