From: Sheng Yang Date: Tue, 6 Jan 2009 02:03:02 +0000 (+0800) Subject: KVM: Add kvm_arch_sync_events to sync with asynchronize events X-Git-Tag: v2.6.29-rc6~90^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad8ba2cd44d4d39fb3fe55d5dcc565b19fc3a7fb;p=pandora-kernel.git KVM: Add kvm_arch_sync_events to sync with asynchronize events kvm_arch_sync_events is introduced to quiet down all other events may happen contemporary with VM destroy process, like IRQ handler and work struct for assigned device. For kvm_arch_sync_events is called at the very beginning of kvm_destroy_vm(), so the state of KVM here is legal and can provide a environment to quiet down other events. Signed-off-by: Sheng Yang Signed-off-by: Avi Kivity --- Reading git-diff-tree failed