On Sun, Jan 7, 2024 at 7:19 AM William Hooper <w...@wshooper.org> wrote: > > At least on macOS 12.7.2, vmnet doesn't pad Ethernet frames, such as the > host's ARP replies, to the minimum size (60 bytes before the frame check > sequence) defined in IEEE Std 802.3-2022, so guests' Ethernet device > drivers may drop them with "frame too short" errors. > > This patch calls eth_pad_short_frame() to add padding, as in net/tap.c > and net/slirp.c. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2058 > Signed-off-by: William Hooper <w...@wshooper.org> > --- > net/vmnet-common.m | 20 +++++++++++++++++--- > 1 file changed, 17 insertions(+), 3 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>