scsi-disk: commonize iovec creation between reads and writes
Also, consistently use qiov.size instead of iov.iov_len. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
想要评论请 注册 或 登录