qemu/include
Stefan Hajnoczi 530c0bbd73 iov: add qemu_iovec_concat_iov()
The qemu_iovec_concat() function copies a subset of a QEMUIOVector.  The
new qemu_iovec_concat_iov() function does the same for a iov/cnt pair.

It is easy to define qemu_iovec_concat() in terms of
qemu_iovec_concat_iov().  The existing code is mostly unchanged, except
for the assertion src->size >= soffset, which cannot be efficiently
checked upfront on a iov/cnt pair.  Instead we assert upon hitting the
end of src with an unsatisfied soffset.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-02 15:58:09 +01:00
..
block raw-posix: add raw_get_aio_fd() for virtio-blk-data-plane 2013-01-02 15:31:39 +01:00
bt softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
char softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
disas build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
exec Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
fpu fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
migration migration: merge QEMUFileBuffered into MigrationState 2012-12-20 23:09:40 +01:00
monitor monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
net misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qapi misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qemu iov: add iov_discard_front/back() to remove data 2013-01-02 15:58:05 +01:00
qom Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
sysemu Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
ui Merge remote-tracking branch 'bonzini/header-dirs' into staging 2012-12-19 17:15:39 -06:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
libfdt_env.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
qemu-common.h iov: add qemu_iovec_concat_iov() 2013-01-02 15:58:09 +01:00