summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmutrace.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-19 17:25:53 +0300
committerAvi Kivity <avi@redhat.com>2010-05-17 12:18:03 +0300
commit87bc3bf972af0585ba5415aebbc8bd09b6a2ee94 (patch)
treef751c8d6dca7a7b5e703e63f7d4f2834977ebf46 /arch/x86/kvm/mmutrace.h
parent90d83dc3d49f5101addae962ccc1b4aff66b68d8 (diff)
downloadop-kernel-dev-87bc3bf972af0585ba5415aebbc8bd09b6a2ee94.zip
op-kernel-dev-87bc3bf972af0585ba5415aebbc8bd09b6a2ee94.tar.gz
KVM: MMU: Drop cr4.pge from shadow page role
Since commit bf47a760f66ad, we no longer handle ptes with the global bit set specially, so there is no reason to distinguish between shadow pages created with cr4.gpe set and clear. Such tracking is expensive when the guest toggles cr4.pge, so drop it. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmutrace.h')
-rw-r--r--arch/x86/kvm/mmutrace.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmutrace.h b/arch/x86/kvm/mmutrace.h
index 3851f1f..bc4f7f0 100644
--- a/arch/x86/kvm/mmutrace.h
+++ b/arch/x86/kvm/mmutrace.h
@@ -28,7 +28,7 @@
\
role.word = __entry->role; \
\
- trace_seq_printf(p, "sp gfn %llx %u%s q%u%s %s%s %spge" \
+ trace_seq_printf(p, "sp gfn %llx %u%s q%u%s %s%s" \
" %snxe root %u %s%c", \
__entry->gfn, role.level, \
role.cr4_pae ? " pae" : "", \
@@ -36,7 +36,6 @@
role.direct ? " direct" : "", \
access_str[role.access], \
role.invalid ? " invalid" : "", \
- role.cr4_pge ? "" : "!", \
role.nxe ? "" : "!", \
__entry->root_count, \
__entry->unsync ? "unsync" : "sync", 0); \
OpenPOWER on IntegriCloud