diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-02-18 17:09:11 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2019-02-22 09:42:13 +0000 |
commit | 0d93ed08454e76fa943f6f71964362296d41b12e (patch) | |
tree | 5693ed6a5cf9314479a76f7510ead5fc29d6099c /arch_init.c | |
parent | a1ca3ed5ece383de86994b04e2fef01dad7e7e95 (diff) | |
download | qemu-0d93ed08454e76fa943f6f71964362296d41b12e.zip qemu-0d93ed08454e76fa943f6f71964362296d41b12e.tar.gz qemu-0d93ed08454e76fa943f6f71964362296d41b12e.tar.bz2 |
block/io: use qemu_iovec_init_buf
Use new qemu_iovec_init_buf() instead of
qemu_iovec_init_external( ... , 1), which simplifies the code.
While being here, use qemu_try_blockalign0 as well.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190218140926.333779-3-vsementsov@virtuozzo.com
Message-Id: <20190218140926.333779-3-vsementsov@virtuozzo.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions