commit | 17824b5afcf273f6fc3e04df2d2a9d90d5c864fd | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Jul 10 19:19:35 2014 +0200 |
committer | Alexander Graf <agraf@suse.de> | Mon Jul 28 15:23:10 2014 +0200 |
tree | e14a6a7852f16fd0b68b3339c43ed042bf514856 | |
parent | 1287cb3fa85cd4a0d18402f6a23e1d4c6a9d7b8b [diff] |
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: Alexander Graf <agraf@suse.de>