I/O vector helpers (Avi Kivity)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 22 Jan 2009 16:59:20 +0000 (16:59 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 22 Jan 2009 16:59:20 +0000 (16:59 +0000)
commit44e3ee8a2aaee5df49cd440446fee4525144255f
tree450cf688ca2c46221c9e4447da0bbabde0398b29
parentba223c29da480b40b38678c66636ee9910973a47
I/O vector helpers (Avi Kivity)

In general, it is not possible to predict the size of of an I/O vector since
a contiguous guest region may map to a disconiguous host region.  Add some
helpers to manage I/O vector growth.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6396 c046a42c-6fe2-441c-8c8c-71466251a162
cutils.c
qemu-common.h