diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-04-30 22:40:07 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-05-05 16:04:45 +0300 |
commit | 792f1d639443c3895df82306e13bb144627ad6bc (patch) | |
tree | e2f90d04af7df251c5c5235679085b8bd97716e6 /json-streamer.c | |
parent | 27112f18f9025d537f3e6f6df3e574e7f0902cda (diff) | |
download | qemu-792f1d639443c3895df82306e13bb144627ad6bc.zip qemu-792f1d639443c3895df82306e13bb144627ad6bc.tar.gz qemu-792f1d639443c3895df82306e13bb144627ad6bc.tar.bz2 |
eepro100: Pad received short frames
QEMU sends frames smaller than 60 bytes to ethernet nics.
Such frames are rejected by real NICs and their emulations.
To avoid this behaviour, other NIC emulations pad received
frames. This patch enables this workaround for eepro100, too.
All related code is marked with CONFIG_PAD_RECEIVED_FRAMES,
so we can drop this in case QEMU's networking code is
ever changed.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'json-streamer.c')
0 files changed, 0 insertions, 0 deletions