KVM: x86: notifier for clocksource changes
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:00 +0000 (23:29 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:12 +0000 (23:29 -0200)
commit16e8d74d2da9920f874b10a3d979fb25c01f518f
treecd7ba9c537a1a8853baed0e12bdfbc3f52a54b4c
parente0b306fef90556233797d2e1747bd6a3ae35ea93
KVM: x86: notifier for clocksource changes

Register a notifier for clocksource change event. In case
the host switches to clock other than TSC, disable master
clock usage.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c