Files
qemu-esp-boards/hw
Paolo Bonzini 9e55d58806 megasas: clean up and fix request completion/cancellation
megasas_command_cancel is a callback; it should report the abort in
the frame, not try another abort!  Compare for instance with
mptsas_request_cancelled.

So extract the common bits for request completion in a new function
megasas_complete_command, call it from both the .complete and .cancel
callbacks, and remove duplicate pieces from the DCMD path.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20161110152751.4267-2-pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-11-28 15:11:17 +01:00
..
2016-10-04 13:28:07 +01:00
2016-10-24 15:46:10 +02:00
2016-06-17 16:33:48 +10:00
2016-10-28 15:51:27 +01:00
2016-05-18 15:04:27 +03:00
2016-10-24 15:27:20 +02:00
2016-07-29 00:07:09 +03:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-29 11:43:22 +08:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2016-10-24 15:27:20 +02:00
2016-10-04 13:28:07 +01:00