virtio-blk: use generic vectored I/O APIs (Christoph Hellwig)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 17:46:14 +0000 (17:46 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 17:46:14 +0000 (17:46 +0000)
commitd28a1b6ec6e6d7d03ed72852ea04190feb2a7638
tree6a4bdf26fc2334e6e7853a9a966dc747161821b8
parent522584a57bccbb78ea14799263f50730d4dc8583
virtio-blk: use generic vectored I/O APIs (Christoph Hellwig)

Use the generic bdrv_aio_readv/bdrv_aio_writev APIs instead of linearizing
buffers directly.  This enables using the future native preadv/pwritev
support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6903 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-blk.c