aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-07-19 19:15:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-08-14 23:40:32 +0200
commit5fd2b563a7624959ae7f000202785a30279021f8 (patch)
treec356aa3f80506ecd9ee8605e0a93496d98b11b99 /po
parentd223c10453f1a7909349fd3e52a6047295d0e94f (diff)
downloadqemu-5fd2b563a7624959ae7f000202785a30279021f8.zip
qemu-5fd2b563a7624959ae7f000202785a30279021f8.tar.gz
qemu-5fd2b563a7624959ae7f000202785a30279021f8.tar.bz2
scsi-disk: identify AIO callbacks more clearly
Functions that are not callbacks should assert that aiocb is NULL and have a non-opaque argument (usually a pointer to SCSIDiskReq). AIO callbacks should assert that aiocb is not NULL and take care of calling block_acct done. They also have an opaque argument. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions