]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Move kvm_trace_exit into atomic vmexit section
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 12 Sep 2011 08:52:24 +0000 (10:52 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:41 +0000 (19:52 +0300)
commitf12214f938fc17916febca678d426b8f6c3265d5
tree3a61d8c05758bfda30ab22a125c8b1af6d503ab1
parentd688a7a94b11bdbcfc86ebed8643b0cd0904a2ad
KVM: x86: Move kvm_trace_exit into atomic vmexit section

This avoids that events causing the vmexit are recorded before the
actual exit reason.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c