• Alexander Graf's avatar
    KVM: PPC: Book3S: Stop PTE lookup on write errors · 2e27ecc9
    Alexander Graf authored
    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: default avatarAlexander Graf <agraf@suse.de>
    2e27ecc9
book3s_32_mmu.c 10.1 KB