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 | 5fd2b563a7624959ae7f000202785a30279021f8 (patch) | |
| tree | c356aa3f80506ecd9ee8605e0a93496d98b11b99 /scripts/qapi-commands.py | |
| parent | d223c10453f1a7909349fd3e52a6047295d0e94f (diff) | |
| download | focaccia-qemu-5fd2b563a7624959ae7f000202785a30279021f8.tar.gz focaccia-qemu-5fd2b563a7624959ae7f000202785a30279021f8.zip | |
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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions