mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When readv returns fewer bytes than vnet_hdr_len the frame is truncated. Report the truncated length to the guest in the used ring instead of returning a fatal InvalidVirtioNetHeader error. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>