summaryrefslogtreecommitdiff
path: root/hw/pl050.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-08 18:26:07 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-06-14 15:46:28 -0500
commitc20fd872257fb9abd2ce99741937c0f65aa162b7 (patch)
tree2c066d31397ea6fbd2c4024c9e30204903c5673d /hw/pl050.c
parent7e608e8903a39157c28ced12b2a061eafa43c905 (diff)
downloadqemu-c20fd872257fb9abd2ce99741937c0f65aa162b7.tar.gz
qemu-c20fd872257fb9abd2ce99741937c0f65aa162b7.tar.bz2
qemu-c20fd872257fb9abd2ce99741937c0f65aa162b7.zip
virtio-blk: simplify multiwrite calling conventions
Pass the MultiReqBuffer structure down all the way to the I/O submission instead of takin it apart. Also mark num_writes unsigned as it can't go negative, and take the check for any pending I/O requests into the submission function. Last but not least rename do_multiwrite to virtio_submit_multiwrite to fit the general naming scheme and make clear what it does. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pl050.c')
0 files changed, 0 insertions, 0 deletions