diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-18 14:07:40 -0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-12-21 07:32:24 -0500 |
commit | 87d67ffe4f7e4faad9fa5bc7129ca91d314677ed (patch) | |
tree | 077094e479b7839dd14c991ba1f712c645c3d2f1 /scripts/block-coroutine-wrapper.py | |
parent | e7ee4fe24dd77e0556b87a00287b34e417e90512 (diff) | |
download | qemu-87d67ffe4f7e4faad9fa5bc7129ca91d314677ed.zip qemu-87d67ffe4f7e4faad9fa5bc7129ca91d314677ed.tar.gz qemu-87d67ffe4f7e4faad9fa5bc7129ca91d314677ed.tar.bz2 |
contrib/vhost-user-blk: Replace lseek64 with lseek
64bit off_t is already in use since build uses _FILE_OFFSET_BITS=64
already. Using lseek/off_t also makes it work with latest musl without
using _LARGEFILE64_SOURCE macro. This macro is implied with _GNU_SOURCE
when using glibc but not with musl.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
CC: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <20221218220740.315839-1-raj.khem@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Diffstat (limited to 'scripts/block-coroutine-wrapper.py')
0 files changed, 0 insertions, 0 deletions