projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58b0f9
)
KVM: MMU audit: nontrapping ptes in nonleaf level
author
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 10 Jun 2009 15:27:06 +0000
(12:27 -0300)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:32:54 +0000
(08:32 +0300)
It is valid to set non leaf sptes as notrap.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/mmu.c
b/arch/x86/kvm/mmu.c
index 4c2585cab18984e7b22be9baa45de35138609761..86433513fb71c2a9413609a6d101f2494fe8d468 100644
(file)
--- a/
arch/x86/kvm/mmu.c
+++ b/
arch/x86/kvm/mmu.c
@@
-3109,12
+3109,7
@@
static void audit_mappings_page(struct kvm_vcpu *vcpu, u64 page_pte,
va = canonicalize(va);
if (level > 1) {
- if (ent == shadow_notrap_nonpresent_pte)
- printk(KERN_ERR "audit: (%s) nontrapping pte"
- " in nonleaf level: levels %d gva %lx"
- " level %d pte %llx\n", audit_msg,
- vcpu->arch.mmu.root_level, va, level, ent);
- else
+ if (is_shadow_present_pte(ent))
audit_mappings_page(vcpu, ent, va, level - 1);
} else {
gpa_t gpa = vcpu->arch.mmu.gva_to_gpa(vcpu, va);