KVM: Retry fault before vmentry
[linux-3.10.git] / virt / kvm / async_pf.c
index 857d63431cb71ab6879f960f843147a7ed0f4e4d..e97eae965a4c030af72935d9959fcdbab567e6ad 100644 (file)
@@ -132,6 +132,8 @@ void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu)
        list_del(&work->link);
        spin_unlock(&vcpu->async_pf.lock);
 
+       if (work->page)
+               kvm_arch_async_page_ready(vcpu, work);
        kvm_arch_async_page_present(vcpu, work);
 
        list_del(&work->queue);