e1000: Discard oversized packets based on SBP|LPE
Discard packets longer than 16384 when !SBP to match the hardware behavior.
Signed-off-by: Michael Contreras <michael@inetric.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
net: clean up network at qemu process termination
We don't clean up network if fails to parse "-device" parameters withoutcalling net_cleanup(). I touch a problem, the tap device which iscreated by qemu-ifup script could not be removed by qemu-ifdown script....
e1000: no need auto-negotiation if link was down
Commit b9d03e352cb6b31a66545763f6a1e20c9abf0c2c added linkauto-negotiation emulation, it would always set link up bycallback function. Problem exists if original link statuswas down, link status should not be changed in auto-negotiation....
rtl8139: preserve link state across device reset
A device reset does not affect the link state, only set_link does.
Signed-off-by: Amos Kong <akong@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Revert "virtio-pci: replace byte swap hack"
This reverts commit 9807caccd605d09a72495637959568d690e10175.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
virtio-pci: replace byte swap hack
Remove byte swaps by declaring the config spaceas native endian.
tests: add gcov support
Add support for compiling for GCOV test coverage, enabledwith '--enable-gcov' during configure.
Test coverage will be reported after each test.
hw/i386: Fix broken build for non POSIX hosts
pc-testdev.c cannot be compiled with MinGW (and other non POSIX hosts):
CC i386-softmmu/hw/i386/../pc-testdev.oqemu/hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not foundqemu/hw/i386/../pc-testdev.c: In function ‘test_flush_page’:...
softfloat: Implement uint64_to_float128
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Richard Henderson <rth@twiddle.net>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
softfloat: Fix uint64_to_float64
The interface to normalizeRoundAndPackFloat64 requires that thehigh bit be clear. Perform one shift-right-and-jam if needed.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Richard Henderson <rth@twiddle.net>...
View all revisions | View revisions
Also available in: Atom