aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorDong, Eddie <eddie.dong@intel.com>2008-01-07 06:20:25 -0500
committerAvi Kivity <avi@qumranet.com>2008-04-27 04:53:14 -0400
commit1ae0a13def678876b9acfb5ac1e2cf7d5d45a60d (patch)
tree6127e3b33d325cf88053f38a9c9d5cea1be3b65d /include/asm-x86/kvm_host.h
parent489f1d6526ab68ca1842398fa3ae95c597fe3d32 (diff)
KVM: MMU: Simplify hash table indexing
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r--include/asm-x86/kvm_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index 68ee390b2844..e076790ee794 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -58,7 +58,8 @@
58 58
59#define KVM_PERMILLE_MMU_PAGES 20 59#define KVM_PERMILLE_MMU_PAGES 20
60#define KVM_MIN_ALLOC_MMU_PAGES 64 60#define KVM_MIN_ALLOC_MMU_PAGES 64
61#define KVM_NUM_MMU_PAGES 1024 61#define KVM_MMU_HASH_SHIFT 10
62#define KVM_NUM_MMU_PAGES (1 << KVM_MMU_HASH_SHIFT)
62#define KVM_MIN_FREE_MMU_PAGES 5 63#define KVM_MIN_FREE_MMU_PAGES 5
63#define KVM_REFILL_PAGES 25 64#define KVM_REFILL_PAGES 25
64#define KVM_MAX_CPUID_ENTRIES 40 65#define KVM_MAX_CPUID_ENTRIES 40