KVM: PPC: Make BAT only guest segments work
authorAlexander Graf <agraf@suse.de>
Mon, 21 Jun 2010 13:24:55 +0000 (15:24 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:47:14 +0000 (10:47 +0300)
commit4d29bdbf12f35f7e7816d67e99c150630684604f
tree2eb8955ba34b720004e959642fca355dd9b67fa3
parent3b249157c03154109d31ec95a3c80203adcf8b70
KVM: PPC: Make BAT only guest segments work

When a guest sets its SR entry to invalid, we may still find a
corresponding entry in a BAT. So we need to make sure we're not
faulting on invalid SR entries, but instead just claim them to be
BAT resolved.

This resolves breakage experienced when using libogc based guests.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_32_mmu.c