diff options
author | Alexander Graf <agraf@suse.de> | 2013-04-16 15:05:22 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-01 01:11:14 +0200 |
commit | d07cc1f12d8e15c167857852c39190d770763824 (patch) | |
tree | c9aa771708e3be3fbdac293de42c68062e4bf4af /include | |
parent | 7b7745930b1f14057b41a257524c559e62c5faa7 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions