aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-13 21:23:23 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:58:10 -0500
commit0711456c0d78335d24e4f92aa40d32c78fd44aa8 (patch)
tree8a83659283c043da69c6987ec89bff5077350778 /drivers/kvm/kvm.h
parentbfc6d222bdb1123d12c1193bcd7c755e6617b405 (diff)
KVM: Portability: Move kvm_vm_stat to x86.h
This patch moves kvm_vm_stat to x86.h, and every arch can define its own kvm_vm_stat in $arch.h Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h10
1 files changed, 0 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
106struct 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
116struct kvm { 106struct 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 */