summary refs log tree commit diff stats
path: root/hw/display/vhost-user-gpu.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-08-20 09:41:34 +1000
committerRichard Henderson <richard.henderson@linaro.org>2024-08-21 09:10:42 +1000
commit5b73b248a16dab43b74c4d2dbe4f589e109fdc85 (patch)
tree8b187fba5f0440e5c813981acda30600bde99711 /hw/display/vhost-user-gpu.c
parenta4ad4a9d98f7fbde806f07da21e69f39e134cdf1 (diff)
downloadfocaccia-qemu-5b73b248a16dab43b74c4d2dbe4f589e109fdc85.tar.gz
focaccia-qemu-5b73b248a16dab43b74c4d2dbe4f589e109fdc85.zip
bsd-user: Handle short reads in mmap_h_gt_g
In particular, if an image has a large bss, we can hit EOF before reading
all bytes of the mapping.  Mirror the similar change to linux-user.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240820050848.165253-3-richard.henderson@linaro.org>
Diffstat (limited to 'hw/display/vhost-user-gpu.c')
0 files changed, 0 insertions, 0 deletions