summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-11-17 18:44:19 +0200
committerAvi Kivity <avi@redhat.com>2011-01-12 11:29:40 +0200
commitaa17911e3c21b63e3bf94c580ed029d6dad816b4 (patch)
treedc87c69b50b65d91cb85ef85def526365a6fdc59 /arch/x86/kvm/vmx.c
parentbd2b53b20fcd0d6c4c815b54e6d464e34429d3a4 (diff)
downloadop-kernel-dev-aa17911e3c21b63e3bf94c580ed029d6dad816b4.zip
op-kernel-dev-aa17911e3c21b63e3bf94c580ed029d6dad816b4.tar.gz
KVM: Record instruction set in kvm_exit tracepoint
exit_reason's meaning depend on the instruction set; record it so a trace taken on one machine can be interpreted on another. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 6bf807a..24959105 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3700,7 +3700,7 @@ static int vmx_handle_exit(struct kvm_vcpu *vcpu)
u32 exit_reason = vmx->exit_reason;
u32 vectoring_info = vmx->idt_vectoring_info;
- trace_kvm_exit(exit_reason, vcpu);
+ trace_kvm_exit(exit_reason, vcpu, KVM_ISA_VMX);
/* If guest state is invalid, start emulating */
if (vmx->emulation_required && emulate_invalid_guest_state)
OpenPOWER on IntegriCloud