diff options
| author | Vladimir Sementsov-Ogievskiy | 2019-06-04 18:15:03 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2019-08-27 15:52:45 +0200 |
| commit | d953169d4840f312d3b9a54952f4a7ccfcb3b311 (patch) | |
| tree | 79c227914cced3681a12abfd8c28f143f60419e0 /block/commit.c | |
| parent | Merge remote-tracking branch 'remotes/rth/tags/pull-axp-20190825' into staging (diff) | |
| download | qemu-d953169d4840f312d3b9a54952f4a7ccfcb3b311.tar.gz qemu-d953169d4840f312d3b9a54952f4a7ccfcb3b311.tar.xz qemu-d953169d4840f312d3b9a54952f4a7ccfcb3b311.zip | |
util/iov: introduce qemu_iovec_init_extended
Introduce new initialization API, to create requests with padding. Will
be used in the following patch. New API uses qemu_iovec_init_buf if
resulting io vector has only one element, to avoid extra allocations.
So, we need to update qemu_iovec_destroy to support destroying such
QIOVs.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190604161514.262241-2-vsementsov@virtuozzo.com
Message-Id: <20190604161514.262241-2-vsementsov@virtuozzo.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions
