diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-07-19 19:15:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-08-14 23:40:32 +0200 |
commit | fa0d653b06cec7b3188a733dc7394e030948018e (patch) | |
tree | 03f6ec3dfe73862d44aa429f47262d4fd839261c /hw/char | |
parent | 5fd2b563a7624959ae7f000202785a30279021f8 (diff) |
scsi-generic: identify AIO callbacks more clearly
Functions that are not callbacks should assert that aiocb is NULL and
have a SCSIGenericReq argument.
AIO callbacks should assert that aiocb is not NULL. They also have an
opaque argument.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions