KVM: PPC: E500: Propagate errors when shadow mapping
authorAlexander Graf <agraf@suse.de>
Fri, 18 Jan 2013 01:31:01 +0000 (02:31 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 24 Jan 2013 18:23:30 +0000 (19:23 +0100)
When shadow mapping a page, mapping this page can fail. In that case we
don't have a shadow map.

Take this case into account, otherwise we might end up writing bogus TLB
entries into the host TLB.

While at it, also move the write_stlbe() calls into the respective TLBn
handlers.

Signed-off-by: Alexander Graf <agraf@suse.de>

No differences found