From: Alexander Graf Date: Thu, 10 Jul 2014 17:19:35 +0000 (+0200) Subject: KVM: PPC: Deflect page write faults properly in kvmppc_st X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~10^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17824b5afcf273f6fc3e04df2d2a9d90d5c864fd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed