Re: [Qemu-devel] [PATCH 2/2] dataplane: fix cross-endian issues

2015-06-26 Thread Cornelia Huck
On Fri, 26 Jun 2015 09:32:28 +0200 Greg Kurz wrote: > 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 > Signed-off-

[Qemu-devel] [PATCH 2/2] dataplane: fix cross-endian issues

2015-06-26 Thread Greg Kurz
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 Signed-off-by: Greg Kurz --- hw/virtio/dataplane/vring.c |6 -- 1 file