diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index efee85ba07e5..1c5864ac0837 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -101,6 +101,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { | |||
101 | { "mmu_flooded", VM_STAT(mmu_flooded) }, | 101 | { "mmu_flooded", VM_STAT(mmu_flooded) }, |
102 | { "mmu_recycled", VM_STAT(mmu_recycled) }, | 102 | { "mmu_recycled", VM_STAT(mmu_recycled) }, |
103 | { "mmu_cache_miss", VM_STAT(mmu_cache_miss) }, | 103 | { "mmu_cache_miss", VM_STAT(mmu_cache_miss) }, |
104 | { "mmu_unsync", VM_STAT(mmu_unsync) }, | ||
104 | { "remote_tlb_flush", VM_STAT(remote_tlb_flush) }, | 105 | { "remote_tlb_flush", VM_STAT(remote_tlb_flush) }, |
105 | { "largepages", VM_STAT(lpages) }, | 106 | { "largepages", VM_STAT(lpages) }, |
106 | { NULL } | 107 | { NULL } |
@@ -3120,6 +3121,8 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
3120 | if (vcpu->requests) { | 3121 | if (vcpu->requests) { |
3121 | if (test_and_clear_bit(KVM_REQ_MIGRATE_TIMER, &vcpu->requests)) | 3122 | if (test_and_clear_bit(KVM_REQ_MIGRATE_TIMER, &vcpu->requests)) |
3122 | __kvm_migrate_timers(vcpu); | 3123 | __kvm_migrate_timers(vcpu); |
3124 | if (test_and_clear_bit(KVM_REQ_MMU_SYNC, &vcpu->requests)) | ||
3125 | kvm_mmu_sync_roots(vcpu); | ||
3123 | if (test_and_clear_bit(KVM_REQ_TLB_FLUSH, &vcpu->requests)) | 3126 | if (test_and_clear_bit(KVM_REQ_TLB_FLUSH, &vcpu->requests)) |
3124 | kvm_x86_ops->tlb_flush(vcpu); | 3127 | kvm_x86_ops->tlb_flush(vcpu); |
3125 | if (test_and_clear_bit(KVM_REQ_REPORT_TPR_ACCESS, | 3128 | if (test_and_clear_bit(KVM_REQ_REPORT_TPR_ACCESS, |