qemu-e2k/hw
Cédric Le Goater 032a74a1c0 virtio-net: byteswap virtio-net header
TCP connectivity fails when the guest has a different endianness.
The packets are silently dropped on the host by the tap backend
when they are read from user space because the endianness of the
virtio-net header is in the wrong order. These lines may appear
in the guest console:

[  454.709327] skbuff: bad partial csum: csum=8704/4096 len=74
[  455.702554] skbuff: bad partial csum: csum=8704/4096 len=74

The issue that got first spotted with a ppc64le PowerKVM guest,
but it also exists for the less common case of a x86_64 guest run
by a big-endian ppc64 TCG hypervisor.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
[ Ported from PowerKVM,
  Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-06-29 19:39:41 +03:00
..
9pfs
acpi qmp: convert ACPI_DEVICE_OST event 2014-06-23 11:12:28 -04:00
alpha
arm
audio audio: fmopl: drop INLINE macro 2014-06-23 11:01:24 -04:00
block virtio-blk: Rename complete_request_early to complete_request_vring 2014-06-27 18:20:42 +02:00
bt
char virtio-serial: report frontend connection state via monitor 2014-06-27 09:33:27 -04:00
core net: move queue number into NICPeers 2014-06-27 11:19:31 +02:00
cpu
cris
display
dma
gpio
i2c
i386 pc: make isapc and pc-0.10 to pc-0.13 have 1.7.0 memory layout 2014-06-29 18:59:41 +03:00
ide qapi: adjust existing defines 2014-06-23 11:01:25 -04:00
input Fix new typos (found by codespell) 2014-06-24 20:01:24 +04:00
intc xics: Implement xics_ics_free() 2014-06-27 13:48:26 +02:00
ipack
isa
lm32
m68k
mem
microblaze
mips gt64xxx_pci: Add VMStateDescription 2014-06-20 23:40:16 +02:00
misc vfio: Enable for SPAPR 2014-06-27 13:48:23 +02:00
moxie hw/moxie/moxiesim.c: Remove unused moxie_intc_create() 2014-06-24 20:01:24 +04:00
net virtio-net: byteswap virtio-net header 2014-06-29 19:39:41 +03:00
nvram spapr: Fix RTAS token numbers 2014-06-27 13:48:22 +02:00
openrisc
pci pcie: coding style tweak 2014-06-23 17:49:49 +03:00
pci-bridge hw/pcie: implement power controller functionality 2014-06-23 17:48:42 +03:00
pci-host uninorth: Fix PCI hole size 2014-06-27 13:48:24 +02:00
pcmcia
ppc PPC: e500: Only create dt entries for existing serial ports 2014-06-27 13:48:27 +02:00
s390x
scsi qapi: adjust existing defines 2014-06-23 11:01:25 -04:00
sd
sh4
sparc
sparc64
ssi
timer mc146818rtc: add rtc-reset-reinjection QMP command 2014-06-29 18:59:35 +03:00
tpm
unicore32
usb migration: Remove unneeded minimum_version_id_old 2014-06-23 19:14:52 +02:00
virtio vhost-user: fix regions provied with VHOST_USER_SET_MEM_TABLE message 2014-06-29 19:39:40 +03:00
watchdog qapi event: clean up in callers 2014-06-27 09:27:56 -04:00
xen
xenpv
xtensa hw/xtensa/xtfpga: implement initrd loading 2014-06-29 02:32:42 +04:00
Makefile.objs