summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorGreg Kurz2015-06-26 09:32:28 +0200
committerMichael S. Tsirkin2015-07-07 10:21:37 +0200
commitbe1e50a27d5b6845729ae0854f57f3816cf47edb (patch)
tree3b543a0e15befd1267d0c35278fb6fe5f8294ed3 /scripts/switch-timer-api
parentMerge remote-tracking branch 'remotes/bonzini/tags/for-upstream-smm' into sta... (diff)
downloadqemu-be1e50a27d5b6845729ae0854f57f3816cf47edb.tar.gz
qemu-be1e50a27d5b6845729ae0854f57f3816cf47edb.tar.xz
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions