diff options
-rw-r--r-- | drivers/kvm/kvm.h | 10 | ||||
-rw-r--r-- | drivers/kvm/x86.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index ab9657a6f0ce..bf6a3b330a3d 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -103,16 +103,6 @@ struct kvm_memory_slot { | |||
103 | int user_alloc; | 103 | int user_alloc; |
104 | }; | 104 | }; |
105 | 105 | ||
106 | struct kvm_vm_stat { | ||
107 | u32 mmu_shadow_zapped; | ||
108 | u32 mmu_pte_write; | ||
109 | u32 mmu_pte_updated; | ||
110 | u32 mmu_pde_zapped; | ||
111 | u32 mmu_flooded; | ||
112 | u32 mmu_recycled; | ||
113 | u32 remote_tlb_flush; | ||
114 | }; | ||
115 | |||
116 | struct kvm { | 106 | struct kvm { |
117 | struct mutex lock; /* protects everything except vcpus */ | 107 | struct mutex lock; /* protects everything except vcpus */ |
118 | struct mm_struct *mm; /* userspace tied to this vm */ | 108 | struct mm_struct *mm; /* userspace tied to this vm */ |
diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h index 945583934853..dfb8091971a9 100644 --- a/drivers/kvm/x86.h +++ b/drivers/kvm/x86.h | |||
@@ -283,6 +283,16 @@ struct kvm_arch{ | |||
283 | struct page *apic_access_page; | 283 | struct page *apic_access_page; |
284 | }; | 284 | }; |
285 | 285 | ||
286 | struct kvm_vm_stat { | ||
287 | u32 mmu_shadow_zapped; | ||
288 | u32 mmu_pte_write; | ||
289 | u32 mmu_pte_updated; | ||
290 | u32 mmu_pde_zapped; | ||
291 | u32 mmu_flooded; | ||
292 | u32 mmu_recycled; | ||
293 | u32 remote_tlb_flush; | ||
294 | }; | ||
295 | |||
286 | struct kvm_vcpu_stat { | 296 | struct kvm_vcpu_stat { |
287 | u32 pf_fixed; | 297 | u32 pf_fixed; |
288 | u32 pf_guest; | 298 | u32 pf_guest; |