diff --git a/hw/ide/core.c b/hw/ide/core.c index d09cb8d8fc..1477935270 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -532,9 +532,9 @@ BlockAIOCB *ide_issue_trim( void ide_abort_command(IDEState *s) { - ide_transfer_stop(s); s->status = READY_STAT | ERR_STAT; s->error = ABRT_ERR; + ide_transfer_stop(s); } static void ide_set_retry(IDEState *s)