diff options
author | Fam Zheng <famz@redhat.com> | 2014-06-17 14:32:09 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-06-27 18:20:39 +0200 |
commit | b002254dbd4c19a01f29790f840f983803e26893 (patch) | |
tree | 3a39876b05a375f9cabd0fcca92284c22fd09ec9 /qtest.c | |
parent | 4407c1c56adb0d3ef2bcbf577592d72278d6e11f (diff) | |
download | qemu-b002254dbd4c19a01f29790f840f983803e26893.zip qemu-b002254dbd4c19a01f29790f840f983803e26893.tar.gz qemu-b002254dbd4c19a01f29790f840f983803e26893.tar.bz2 |
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 'qtest.c')
0 files changed, 0 insertions, 0 deletions