]> 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)
commitc99a6a7e981b339e50b12cb74322ecc41cb17afd
tree3a61d8c05758bfda30ab22a125c8b1af6d503ab1
parentfa8dbf536af663a237d823dd4fd3b9f8f6c9f416
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