diff options
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/async_pf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/virt/kvm/async_pf.c b/virt/kvm/async_pf.c index 857d63431cb..e97eae965a4 100644 --- a/virt/kvm/async_pf.c +++ b/virt/kvm/async_pf.c | |||
@@ -132,6 +132,8 @@ void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu) | |||
132 | list_del(&work->link); | 132 | list_del(&work->link); |
133 | spin_unlock(&vcpu->async_pf.lock); | 133 | spin_unlock(&vcpu->async_pf.lock); |
134 | 134 | ||
135 | if (work->page) | ||
136 | kvm_arch_async_page_ready(vcpu, work); | ||
135 | kvm_arch_async_page_present(vcpu, work); | 137 | kvm_arch_async_page_present(vcpu, work); |
136 | 138 | ||
137 | list_del(&work->queue); | 139 | list_del(&work->queue); |