kvm: remove .done from struct kvm_async_pf
authorRadim Krčmář <rkrcmar@redhat.com>
Wed, 4 Sep 2013 20:32:24 +0000 (22:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2013 17:12:12 +0000 (19:12 +0200)
commit98fda169290b3b28c0f2db2b8f02290c13da50ef
treed7726c9b6603b7e721308e36a6ff38980a170b47
parent519192aaae38e24d6b32d3d55d791fe294981185
kvm: remove .done from struct kvm_async_pf

'.done' is used to mark the completion of 'async_pf_execute()', but
'cancel_work_sync()' returns true when the work was canceled, so we
use it instead.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/async_pf.c