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 aml-build: comment fix 2015-03-08 11:51:46 +01:00
arm stm32f205: Fix SoC type name 2015-04-13 11:37:10 +01:00
audio
block BlockConf: Call backend functions to detect geometry and blocksizes 2015-03-10 14:02:22 +01:00
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 pc: export applesmc IO port/len 2015-03-01 12:33:22 +01:00
kvm
lm32 hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00
m68k
mem pc-dimm: Add Error argument to pc_existing_dimms_capacity 2015-01-27 14:46:18 +02:00
mips
misc stm32f2xx_SYSCFG: Add the stm32f2xx SYSCFG 2015-03-11 13:21:05 +00:00
net
nvram fw_cfg_mem: expose the "data_width" property with fw_cfg_init_mem_wide() 2014-12-22 23:39:18 +00:00
pci pci: fix several trivial typos in comment 2015-03-18 12:19:16 +01:00
pci-host sPAPR: Implement EEH RTAS calls 2015-03-09 15:00:08 +01:00
ppc sPAPR: Implement EEH RTAS calls 2015-03-09 15:00:08 +01:00
s390x s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
scsi esp: Do not overwrite ESP_TCHI after reset 2014-11-12 10:27:03 +01:00
sh4
sparc QOM infrastructure fixes and device conversions 2015-03-02 13:20:43 +00:00
timer stm32f2xx_timer: Add the stm32f2xx Timer 2015-03-11 13:21:05 +00:00
tricore
unicore32
usb
vfio vfio: allow to disable MMAP per device with -x-mmap=off option 2015-03-02 11:38:55 -07:00
virtio virtio-net: unbreak any layout 2015-07-29 22:10:36 -05:00
xen xen: Remove xen_cmos_set_s3_resume() 2015-03-10 08:15:33 +03:00
boards.h powerpc: fix -machine usb=no for newworld and pseries machines 2015-03-25 22:49:47 +01:00
bt.h
compat.h virtio-pci: fix migration for pci bus master 2014-11-02 12:03:03 +02:00
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 misc: Fix new typos in comments 2015-01-15 10:44:13 +03:00
hw.h bootdevice: move code about bootorder from vl.c to bootdevice.c 2014-12-22 14:39:20 +08:00
ide.h
irq.h
loader.h hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00
nmi.h
pcmcia.h hmp: Remove "info pcmcia" 2014-10-24 12:19:11 +01:00
platform-bus.h sysbus: Add new platform bus helper device 2014-11-04 23:26:14 +01:00
ptimer.h
qdev-core.h qdev: support to get a device firmware path directly 2015-02-11 21:47:51 +01:00
qdev-dma.h
qdev-properties.h - scsi: improvements to error reporting and conversion to realize, 2015-03-10 18:03:02 +00:00
qdev.h
sd.h
ssi.h
stream.h
sysbus.h trivial patches for 2014-11-11 2014-11-11 14:50:10 +00:00
usb.h usb: Propagate errors through usb_register_companion() 2015-03-17 14:11:42 +01:00