Vladimir Sementsov-Ogievskiy d953169d48 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>
2019-08-27 14:52:45 +01:00
..
2018-09-25 15:50:15 +02:00
2018-10-02 18:47:55 +02:00
2019-08-16 13:31:52 +02:00
2019-03-11 17:17:01 -03:00
2019-08-21 16:29:57 +02:00
2019-02-07 15:49:08 +02:00
2019-08-16 13:31:52 +02:00
2016-02-04 17:01:04 +00:00
2018-12-20 10:29:08 +01:00
2016-02-04 17:01:04 +00:00
2019-04-18 22:18:59 +02:00
2018-08-24 20:26:37 +02:00
2018-06-29 12:32:10 +02:00