From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
To: qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: mreitz@redhat.com, kwolf@redhat.com, fam@euphon.net,
stefanha@redhat.com, eblake@redhat.com, vsementsov@virtuozzo.com
Subject: [Qemu-devel] [PATCH v2 0/2] block: local qiov helper: part I
Date: Wed, 6 Feb 2019 19:53:40 +0300 [thread overview]
Message-ID: <20190206165342.219192-1-vsementsov@virtuozzo.com> (raw)
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
next reply other threads:[~2019-02-06 16:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 16:53 Vladimir Sementsov-Ogievskiy [this message]
2019-02-06 16:53 ` [Qemu-devel] [PATCH v2 1/2] block: enhance QEMUIOVector structure Vladimir Sementsov-Ogievskiy
2019-02-06 17:25 ` Eric Blake
2019-02-06 17:50 ` Vladimir Sementsov-Ogievskiy
2019-02-06 16:53 ` [Qemu-devel] [PATCH v2 2/2] block/io: use qemu_iovec_init_buf Vladimir Sementsov-Ogievskiy
2019-02-06 17:32 ` Eric Blake
2019-02-06 18:09 ` Vladimir Sementsov-Ogievskiy
2019-02-06 18:14 ` Eric Blake
2019-02-06 18:26 ` Vladimir Sementsov-Ogievskiy
2019-02-06 18:33 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190206165342.219192-1-vsementsov@virtuozzo.com \
--to=vsementsov@virtuozzo.com \
--cc=eblake@redhat.com \
--cc=fam@euphon.net \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).