x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
[linux-2.6-microblaze.git] / arch / x86 / kvm / svm / nested.c
index dd496c9..3fea8c4 100644 (file)
@@ -1253,6 +1253,9 @@ void svm_leave_nested(struct kvm_vcpu *vcpu)
 
                nested_svm_uninit_mmu_context(vcpu);
                vmcb_mark_all_dirty(svm->vmcb);
+
+               if (kvm_apicv_activated(vcpu->kvm))
+                       kvm_make_request(KVM_REQ_APICV_UPDATE, vcpu);
        }
 
        kvm_clear_request(KVM_REQ_GET_NESTED_STATE_PAGES, vcpu);