summaryrefslogtreecommitdiffstats
path: root/hw/virtio/virtio-iommu.c
diff options
context:
space:
mode:
authorHelge Deller2022-07-17 18:21:53 +0200
committerLaurent Vivier2022-07-25 10:42:11 +0200
commit6f200f51869ff0de7ea0343dd7104362e994b382 (patch)
tree23e7ca4ca4229c593ff2fa973cb521dad8744f53 /hw/virtio/virtio-iommu.c
parentlinux-user: Unconditionally use pipe2() syscall (diff)
downloadqemu-6f200f51869ff0de7ea0343dd7104362e994b382.tar.gz
qemu-6f200f51869ff0de7ea0343dd7104362e994b382.tar.xz
qemu-6f200f51869ff0de7ea0343dd7104362e994b382.zip
linux-user: Use target abi_int type for pipefd[1] in pipe()
When writing back the fd[1] pipe file handle to emulated userspace memory, use sizeof(abi_int) as offset insted of the hosts's int type. There is no functional change in this patch. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <YtQ3Id6z8slpVr7r@p100> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/virtio/virtio-iommu.c')
0 files changed, 0 insertions, 0 deletions