Hi all! Here is a proposal for a new simple helper for a very often patter around qemu_iovec_init_external, when we need simple qiov with only one iov, initialized from external buffer.
Here only block/io.c updated to use new helper, I'll update other things on top of this separately. Vladimir Sementsov-Ogievskiy (2): block: enhance QEMUIOVector structure block/io: use qemu_iovec_init_buf include/qemu/iov.h | 41 ++++++++++++++++++++- block/io.c | 89 +++++++++++----------------------------------- 2 files changed, 60 insertions(+), 70 deletions(-) -- 2.18.0