]> Git Repo - qemu.git/commit
KVM: MSI: Swap payload to native endianness
authorAlexander Graf <[email protected]>
Tue, 16 Apr 2013 13:05:22 +0000 (15:05 +0200)
committerAlexander Graf <[email protected]>
Sun, 30 Jun 2013 23:11:14 +0000 (01:11 +0200)
commitd07cc1f12d8e15c167857852c39190d770763824
treec9aa771708e3be3fbdac293de42c68062e4bf4af
parent7b7745930b1f14057b41a257524c559e62c5faa7
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 <[email protected]>
kvm-all.c
This page took 0.028321 seconds and 4 git commands to generate.