qemu-irix/include/hw
Greg Kurz a122ab2472 virtio: move cross-endian helper to vhost
If target is bi-endian (ppc64, arm), the virtio_legacy_is_cross_endian()
indeed returns the runtime state of the virtio device. However, it returns
false unconditionally in the general case. This sounds a bit strange
given the name of the function.

This helper is only useful for vhost actually, where indeed non bi-endian
targets don't have to deal with cross-endian issues.

This patch moves the helper to vhost.c and gives it a more appropriate name.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.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>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
2016-02-16 12:05:17 +02:00
..
acpi acpi: add function to extract oem_id and oem_table_id from the user's SLIC 2016-02-06 20:44:10 +02:00
arm arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
audio
block
char
cpu
cris
gpio
i2c
i386 intel_iommu: large page support 2016-02-06 20:44:10 +02:00
input
intc bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
ipack
ipmi ipmi: introduce a struct ipmi_sdr_compact 2016-02-06 20:44:09 +02:00
isa dma: remove now useless DMA_* functions 2016-02-03 11:28:58 -05:00
kvm
lm32
m68k
mem dimm: Correct type of MemoryHotplugState->base 2016-02-06 20:44:10 +02:00
mips
misc bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
net
nvram
pci hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
pci-host
ppc spapr: Remove rtas_st_buffer_direct() 2016-01-30 23:37:36 +11:00
s390x
scsi scsi-generic: grab device and port SAS addresses from backend 2016-02-09 15:45:26 +01:00
sd
sh4
smbios
sparc
ssi
timer
tricore
unicore32
usb
vfio
virtio virtio: move cross-endian helper to vhost 2016-02-16 12:05:17 +02:00
watchdog
xen xen: move xenforeignmemory compat layer into common place 2016-02-10 12:01:29 +00:00
boards.h
bt.h
compat.h
devices.h
elf_ops.h
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
stream.h
sysbus.h
usb.h