diff options
author | Alexander Graf <agraf@suse.de> | 2014-04-24 13:04:01 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-05-30 14:26:20 +0200 |
commit | 94810ba4edc8fc49c68650306928245f6c0c99fa (patch) | |
tree | ab8e72f779495019ff54ec91f1ecfb7598972fcd /arch/powerpc | |
parent | 14a7d41dad9d3943e05995c59bfe7e0117d8e752 (diff) | |
download | op-kernel-dev-94810ba4edc8fc49c68650306928245f6c0c99fa.zip op-kernel-dev-94810ba4edc8fc49c68650306928245f6c0c99fa.tar.gz |
KVM: PPC: Book3S PR: Default to big endian guest
The default MSR when user space does not define anything should be identical
on little and big endian hosts, so remove MSR_LE from it.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/book3s_pr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index 01a7156..d7b0ad2 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/book3s_pr.c @@ -1216,7 +1216,7 @@ static struct kvm_vcpu *kvmppc_core_vcpu_create_pr(struct kvm *kvm, kvmppc_set_pvr_pr(vcpu, vcpu->arch.pvr); vcpu->arch.slb_nr = 64; - vcpu->arch.shadow_msr = MSR_USER64; + vcpu->arch.shadow_msr = MSR_USER64 & ~MSR_LE; err = kvmppc_mmu_init(vcpu); if (err < 0) |