vmxnet3: Pad short frames to minimum size (60 bytes)
commit40a87c6c9b11ef9c14e0301f76abf0eb2582f08e
authorBen Draper <ben@xrsa.net>
Wed, 20 Aug 2014 12:27:14 +0000 (20 13:27 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Aug 2014 13:11:08 +0000 (24 17:11 +0400)
tree2097c65507985aa466f854093a373d0653572df4
parentd072cdf3baeab6a190aa9f2f64a8702744f83d29
vmxnet3: Pad short frames to minimum size (60 bytes)

When running VMware ESXi under qemu-kvm the guest discards frames
that are too short. Short ARP Requests will be dropped, this prevents
guests on the same bridge as VMware ESXi from communicating. This patch
simply adds the padding on the network device itself.

Signed-off-by: Ben Draper <ben@xrsa.net>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/net/vmxnet3.c