diff options
author | Avi Kivity <avi@qumranet.com> | 2008-05-26 13:06:35 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-20 05:42:26 -0400 |
commit | 9ba075a664dff836fd6fb93f90fcc827f7683d91 (patch) | |
tree | a5d939aa61833525a09fa2f346964c16a80f7957 /include/asm-x86/kvm_host.h | |
parent | 81609e3e26508840a1b51414376f2541dd191483 (diff) |
KVM: MTRR support
Add emulation for the memory type range registers, needed by VMware esx 3.5,
and by pci device assignment.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 075598b4e3f3..fc72bad878ed 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -79,6 +79,7 @@ | |||
79 | #define KVM_MIN_FREE_MMU_PAGES 5 | 79 | #define KVM_MIN_FREE_MMU_PAGES 5 |
80 | #define KVM_REFILL_PAGES 25 | 80 | #define KVM_REFILL_PAGES 25 |
81 | #define KVM_MAX_CPUID_ENTRIES 40 | 81 | #define KVM_MAX_CPUID_ENTRIES 40 |
82 | #define KVM_NR_VAR_MTRR 8 | ||
82 | 83 | ||
83 | extern spinlock_t kvm_lock; | 84 | extern spinlock_t kvm_lock; |
84 | extern struct list_head vm_list; | 85 | extern struct list_head vm_list; |
@@ -290,6 +291,8 @@ struct kvm_vcpu_arch { | |||
290 | struct page *time_page; | 291 | struct page *time_page; |
291 | 292 | ||
292 | bool nmi_pending; | 293 | bool nmi_pending; |
294 | |||
295 | u64 mtrr[0x100]; | ||
293 | }; | 296 | }; |
294 | 297 | ||
295 | struct kvm_mem_alias { | 298 | struct kvm_mem_alias { |