KVM: Prevent trace call into unloaded module text
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 26 Nov 2008 11:59:06 +0000 (19:59 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:04 +0000 (16:55 +0200)
commitb82091824ee4970adf92d5cd6d57b12273171625
treea083204512430d1a1ca91bb5b698b4009a3f350a
parent6692cef30b7caf7525ae99670cddbaf28f1f9d40
KVM: Prevent trace call into unloaded module text

Add marker_synchronize_unregister() before module unloading.
This prevents possible trace calls into unloaded module text.

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_trace.c