diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/kvm_host.h | 3 | ||||
-rw-r--r-- | include/linux/kvm_host.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 8b935cc4c14b..7d36fcc02818 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -195,6 +195,8 @@ struct kvm_mmu_page { | |||
195 | */ | 195 | */ |
196 | int multimapped; /* More than one parent_pte? */ | 196 | int multimapped; /* More than one parent_pte? */ |
197 | int root_count; /* Currently serving as active root */ | 197 | int root_count; /* Currently serving as active root */ |
198 | bool unsync; | ||
199 | bool unsync_children; | ||
198 | union { | 200 | union { |
199 | u64 *parent_pte; /* !multimapped */ | 201 | u64 *parent_pte; /* !multimapped */ |
200 | struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ | 202 | struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ |
@@ -371,6 +373,7 @@ struct kvm_vm_stat { | |||
371 | u32 mmu_flooded; | 373 | u32 mmu_flooded; |
372 | u32 mmu_recycled; | 374 | u32 mmu_recycled; |
373 | u32 mmu_cache_miss; | 375 | u32 mmu_cache_miss; |
376 | u32 mmu_unsync; | ||
374 | u32 remote_tlb_flush; | 377 | u32 remote_tlb_flush; |
375 | u32 lpages; | 378 | u32 lpages; |
376 | }; | 379 | }; |
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 6252802c3cc0..73b7c52b9493 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -35,6 +35,7 @@ | |||
35 | #define KVM_REQ_TRIPLE_FAULT 4 | 35 | #define KVM_REQ_TRIPLE_FAULT 4 |
36 | #define KVM_REQ_PENDING_TIMER 5 | 36 | #define KVM_REQ_PENDING_TIMER 5 |
37 | #define KVM_REQ_UNHALT 6 | 37 | #define KVM_REQ_UNHALT 6 |
38 | #define KVM_REQ_MMU_SYNC 7 | ||
38 | 39 | ||
39 | struct kvm_vcpu; | 40 | struct kvm_vcpu; |
40 | extern struct kmem_cache *kvm_vcpu_cache; | 41 | extern struct kmem_cache *kvm_vcpu_cache; |