]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
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)
commit1e2b1dd797f9356f779268ecc1ba21110d4e341c
tree3a61d8c05758bfda30ab22a125c8b1af6d503ab1
parentcaa8a168e35650961b9b0d43b9b6fc2279351949
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