KVM: PPC: Book3S HV: ptes are big endian
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 20 Nov 2014 23:45:59 +0000 (00:45 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 15 Dec 2014 12:27:24 +0000 (13:27 +0100)
commitffada016fb22fbbb9849d3cc5ec72ca8f0377681
tree2c66e15af4714d827103f9ca95aef1657526b11e
parent5b88cda665bc6ae92c9bd12060c9fd0840211eb7
KVM: PPC: Book3S HV: ptes are big endian

When being restored from qemu, the kvm_get_htab_header are in native
endian, but the ptes are big endian.

This patch fixes restore on a KVM LE host. Qemu also needs a fix for
this :

     http://lists.nongnu.org/archive/html/qemu-ppc/2014-11/msg00008.html

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_64_mmu_hv.c