Skip to content
Commit 17824b5a authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Deflect page write faults properly in kvmppc_st



When we have a page that we're not allowed to write to, xlate() will already
tell us -EPERM on lookup of that page. With the code as is we change it into
a "page missing" error which a guest may get confused about. Instead, just
tell the caller about the -EPERM directly.

This fixes Mac OS X guests when run with DCBZ32 emulation.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 1287cb3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment