summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorFam Zheng2014-06-17 08:32:09 +0200
committerKevin Wolf2014-06-27 18:20:39 +0200
commitb002254dbd4c19a01f29790f840f983803e26893 (patch)
tree3a39876b05a375f9cabd0fcca92284c22fd09ec9 /qapi
parentvirtio-blk: Schedule BH in the right context (diff)
downloadqemu-b002254dbd4c19a01f29790f840f983803e26893.tar.gz
qemu-b002254dbd4c19a01f29790f840f983803e26893.tar.xz
qemu-b002254dbd4c19a01f29790f840f983803e26893.zip
virtio-blk: Unify {non-,}dataplane's request handlings
This drops request handling code from dataplane, and uses code from hw/block/virtio-blk.c. It starts to use multiwrite as non-dataplane does. Dataplane sets VirtIOBlock.complete_request to vring version, and calls into non-dataplane's process handling. In complete_request_early, qiov.size is added to vring push length, because it's also called in rw completion now. Signed-off-by: Fam Zheng <famz@redhat.com> Tested-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions