summaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-04-16 15:05:22 +0200
committerAlexander Graf <agraf@suse.de>2013-07-01 01:11:14 +0200
commitd07cc1f12d8e15c167857852c39190d770763824 (patch)
treec9aa771708e3be3fbdac293de42c68062e4bf4af /target-m68k
parent7b7745930b1f14057b41a257524c559e62c5faa7 (diff)
downloadqemu-d07cc1f12d8e15c167857852c39190d770763824.tar.gz
KVM: MSI: Swap payload to native endianness
The usual MSI injection mechanism writes msi.data into memory using an le32 wrapper. So on big endian guests, this swaps msg.data into the expected byte order. For irqfd however, we don't swap the payload right now, rendering in-kernel MPIC emulation broken on PowerPC. Swap msg.data to the correct endianness whenever we touch it. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-m68k')
0 files changed, 0 insertions, 0 deletions