diff options
| author | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2015-06-26 09:32:28 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-07-07 11:21:37 +0300 |
| commit | be1e50a27d5b6845729ae0854f57f3816cf47edb (patch) | |
| tree | 3b543a0e15befd1267d0c35278fb6fe5f8294ed3 /include/hw/boards.h | |
| parent | f6e3035f75e5c6a73485335765ae070304c7a110 (diff) | |
| download | focaccia-qemu-be1e50a27d5b6845729ae0854f57f3816cf47edb.tar.gz focaccia-qemu-be1e50a27d5b6845729ae0854f57f3816cf47edb.zip | |
dataplane: fix cross-endian issues
Accesses to vring_avail_event and vring_used_event must honor the queue endianness. This patch allows cross-endian setups to use dataplane (tested with ppc64 on ppc64le, and vice-versa). Suggested-by: Cornelia Huck <cornelia.huck@de.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> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions