projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: PPC: Book3S: Stop PTE lookup on write errors
[deliverable/linux.git]
/
arch
/
powerpc
/
kvm
/
book3s_32_mmu.c
diff --git
a/arch/powerpc/kvm/book3s_32_mmu.c
b/arch/powerpc/kvm/book3s_32_mmu.c
index 93503bbdae43df28efe2b0ab90f52352e0600898..cd0b0730e29e511f1eb4654e7087ccd0ace4bc3b 100644
(file)
--- a/
arch/powerpc/kvm/book3s_32_mmu.c
+++ b/
arch/powerpc/kvm/book3s_32_mmu.c
@@
-335,7
+335,7
@@
static int kvmppc_mmu_book3s_32_xlate(struct kvm_vcpu *vcpu, gva_t eaddr,
if (r < 0)
r = kvmppc_mmu_book3s_32_xlate_pte(vcpu, eaddr, pte,
data, iswrite, true);
- if (r
< 0
)
+ if (r
== -ENOENT
)
r = kvmppc_mmu_book3s_32_xlate_pte(vcpu, eaddr, pte,
data, iswrite, false);
This page took
0.024848 seconds
and
5
git commands to generate.