qemu/include
Cornelia Huck b0e5d90ebc dataplane: endianness-aware accesses
The vring.c code currently assumes that guest and host endianness match,
which is not true for a number of cases:

- emulating targets with a different endianness than the host
- bi-endian targets, where the correct endianness depends on the virtio
  device
- upcoming support for the virtio-1 standard mandates little-endian
  accesses even for big-endian targets and hosts

Make sure to use accessors that depend on the virtio device.

Note that dataplane now needs to be built per-target.

Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Fam Zheng <famz@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Tested-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1422289602-17874-2-git-send-email-cornelia.huck@de.ibm.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-02-16 15:07:16 +00:00
..
block nbd: Drop BDS backpointer 2015-02-16 14:36:03 +00:00
disas
exec tcg: Put opcodes in a linked list 2015-02-12 21:21:38 -08:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw dataplane: endianness-aware accesses 2015-02-16 15:07:16 +00:00
libdecnumber
migration migration: Fix warning caused by missing declaration of vmstate_dummy 2015-02-10 10:26:05 +03:00
monitor
net
qapi block: Eliminate silly QERR_ macros used for encryption keys 2015-02-06 11:46:32 -05:00
qemu cpu-exec: simplify init_delay_params 2015-02-02 16:55:11 +01:00
qom
sysemu arm: Add PCIe host bridge in virt machine 2015-02-13 05:46:08 +00:00
ui qmp hmp: Improve error messages when SPICE is not in use 2015-01-29 10:01:31 +01:00
config.h
elf.h
glib-compat.h
qemu-common.h qemu-common.h: optimise muldiv64 if int128 is available 2015-01-14 10:38:57 +01:00
qemu-io.h
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h
trace.h