Vladimir Sementsov-Ogievskiy f76889e7b9 util/iov: improve qemu_iovec_is_zero
We'll need to check a part of qiov soon, so implement it now.

Optimization with align down to 4 * sizeof(long) is dropped due to:
1. It is strange: it aligns length of the buffer, but where is a
   guarantee that buffer pointer is aligned itself?
2. buffer_is_zero() is a better place for optimizations and it has
   them.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190604161514.262241-3-vsementsov@virtuozzo.com
Message-Id: <20190604161514.262241-3-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-08-27 14:52:45 +01: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
2018-12-20 10:29:08 +01: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