qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH v2 0/2] block: local qiov helper: part I


From: Vladimir Sementsov-Ogievskiy
Subject: [Qemu-block] [PATCH v2 0/2] block: local qiov helper: part I
Date: Wed, 6 Feb 2019 19:53:40 +0300

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.

v2:
   - smarter padding for @size and changed structure
   - other fixes (described in each patch in Notes)

Vladimir Sementsov-Ogievskiy (2):
  block: enhance QEMUIOVector structure
  block/io: use qemu_iovec_init_buf

 include/qemu/iov.h | 47 ++++++++++++++++++++++--
 block/io.c         | 90 +++++++++++-----------------------------------
 2 files changed, 66 insertions(+), 71 deletions(-)

-- 
2.18.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]