KVM: PPC: Book3S: Stop PTE lookup on write errors
authorAlexander Graf <agraf@suse.de>
Thu, 10 Jul 2014 17:22:03 +0000 (19:22 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:23:10 +0000 (15:23 +0200)
commit2e27ecc961044a2c5c05a4283888352961886a87
tree405aa1316d2b59f5adc56396d6ffe85baf9ed250
parent17824b5afcf273f6fc3e04df2d2a9d90d5c864fd
KVM: PPC: Book3S: Stop PTE lookup on write errors

When a page lookup failed because we're not allowed to write to the page, we
should not overwrite that value with another lookup on the second PTEG which
will return "page not found". Instead, we should just tell the caller that we
had a permission problem.

This fixes Mac OS X guests looping endlessly in page lookup code for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_32_mmu.c
This page took 0.02499 seconds and 5 git commands to generate.