diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-04-19 14:00:24 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-04-19 15:27:20 +0200 |
commit | 80624c938d2d9d2b2cca56326876f213c31e1202 (patch) | |
tree | f5c2531ba2994ba2e06e64cd1296b98184511abe /net.h | |
parent | b8aba8d7e3031ee3411a8e5eb07ac61f5b18f045 (diff) | |
download | qemu-80624c938d2d9d2b2cca56326876f213c31e1202.tar.gz qemu-80624c938d2d9d2b2cca56326876f213c31e1202.tar.bz2 qemu-80624c938d2d9d2b2cca56326876f213c31e1202.zip |
scsi: make code more homogeneous in AIO callback functions
First scsi_flush_complete, like scsi_dma_complete, is always called with
an active AIOCB.
Second, always test for "ret < 0" to check for errors.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net.h')
0 files changed, 0 insertions, 0 deletions