KVM: VMX: trace clts and lmsw instructions as cr accesses
authorAvi Kivity <avi@redhat.com>
Tue, 29 Dec 2009 15:33:58 +0000 (17:33 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:50 +0000 (12:35 -0300)
commita1f83a74feaa9718a5c61587256ea6cc1b993d16
tree7771695e1ed29849cf1929c4149ab1818e17c3c8
parent4b5c9b7f9bdd76a3c860731db08bfc6758e96e29
KVM: VMX: trace clts and lmsw instructions as cr accesses

clts writes cr0.ts; lmsw writes cr0[0:15] - record that in ftrace.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c