qemu-irix/include/hw
Jason Wang 46addaa0b5 virtio-net: unbreak any layout
Commit 032a74a1c0
("virtio-net: byteswap virtio-net header") breaks any layout by
requiring out_sg[0].iov_len >= n->guest_hdr_len. Fixing this by
copying header to temporary buffer if swap is needed, and then use
this buffer as part of out_sg.

Fixes 032a74a1c0
("virtio-net: byteswap virtio-net header")
Cc: qemu-stable@nongnu.org
Cc: clg@fr.ibm.com
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>

(cherry picked from commit feb93f3617)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-07-29 22:10:36 -05:00
..
acpi
arm stm32f205: Fix SoC type name 2015-04-13 11:37:10 +01:00
audio
block
char stm32f2xx_USART: Add the stm32f2xx USART Controller 2015-03-11 13:21:05 +00:00
cpu
cris
i2c
i386 target-i386: clear bsp bit when designating bsp 2015-04-02 15:57:27 +02:00
input
intc
ipack
isa
kvm
lm32
m68k
mem
mips
misc stm32f2xx_SYSCFG: Add the stm32f2xx SYSCFG 2015-03-11 13:21:05 +00:00
net
nvram
pci pci: fix several trivial typos in comment 2015-03-18 12:19:16 +01:00
pci-host
ppc
s390x
scsi
sh4
sparc
timer stm32f2xx_timer: Add the stm32f2xx Timer 2015-03-11 13:21:05 +00:00
tricore
unicore32
usb
vfio
virtio virtio-net: unbreak any layout 2015-07-29 22:10:36 -05:00
xen
boards.h powerpc: fix -machine usb=no for newworld and pseries machines 2015-03-25 22:49:47 +01:00
bt.h
compat.h
devices.h
elf_ops.h elf-loader: Add missing error handling for call of lseek 2015-03-19 11:37:40 +03:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h
qdev-dma.h
qdev-properties.h
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h usb: Propagate errors through usb_register_companion() 2015-03-17 14:11:42 +01:00