KVM: Record instruction set in all vmexit tracepoints
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 22 Jul 2011 11:46:52 +0000 (12:46 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:17:58 +0000 (19:17 +0300)
commite097e5ffd69cbd7be61466e2d54c145468d48073
tree975497ba43f1970ca73f114248a722807a89cc95
parentd1613ad5d0018a009bd4865b0fa5930abb5ed259
KVM: Record instruction set in all vmexit tracepoints

The kvm_exit tracepoint recently added the isa argument to aid decoding
exit_reason.  The semantics of exit_reason depend on the instruction set
(vmx or svm) and the isa argument allows traces to be analyzed on other
machines.

Add the isa argument to kvm_nested_vmexit and kvm_nested_vmexit_inject
so these tracepoints can also be self-describing.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/trace.h