summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-01-06 10:03:02 +0800
committerAvi Kivity <avi@redhat.com>2009-01-06 11:21:11 +0200
commit8158903885be6d833b8e27da740a2c981793ba31 (patch)
treef2cb94c2de1dc3a697a632e3701e0868a1d64a6a /arch/s390
parent254a357ce4f89f52c0866fbd432b848136b8eac9 (diff)
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 <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kvm/kvm-s390.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 54b6534ffb99..cbfe91e10120 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -212,6 +212,10 @@ static void kvm_free_vcpus(struct kvm *kvm)
}
}
+void kvm_arch_sync_events(struct kvm *kvm)
+{
+}
+
void kvm_arch_destroy_vm(struct kvm *kvm)
{
kvm_free_vcpus(kvm);