ide/atapi: Fix START STOP UNIT command completion
commit03441c3a4a42beb25460dd11592539030337d0f8
authorKevin Wolf <kwolf@redhat.com>
Mon, 27 Jul 2015 03:42:53 +0000 (26 23:42 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Jul 2015 03:42:53 +0000 (26 23:42 -0400)
tree5c1d4295d5644656ede50367180519b930431cba
parentd2ff85854512574e7209f295e87b0835d5b032c6
ide/atapi: Fix START STOP UNIT command completion

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 <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
hw/ide/atapi.c