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)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 9 Jun 2014 12:29:03 +0000 (13:29 +0100)
commitd244fc2319deec77099d7b4d63d8fe8830ac66ec
treed95e6d7012a0a837a5e9514a381eb00abcfcb17a
parent21820c185fa08509ed2abaf4de43b56656eb038d
kvm: remove .done from struct kvm_async_pf

commit 98fda169290b3b28c0f2db2b8f02290c13da50ef upstream.

'.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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/kvm_host.h
virt/kvm/async_pf.c