Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197657
b: refs/heads/master
c: 5bfd8b5
h: refs/heads/master
i:
  197655: 2ffeb68
v: v3
  • Loading branch information
Avi Kivity committed May 17, 2010
1 parent 369bdff commit 979042f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4f64b6cad0fc0fb4cec868c6ca6b1325949d08b
refs/heads/master: 5bfd8b5455e69b37af16a2df1edae2c3b567648c
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2686,7 +2686,7 @@ static int handle_exit(struct kvm_vcpu *vcpu)
struct kvm_run *kvm_run = vcpu->run;
u32 exit_code = svm->vmcb->control.exit_code;

trace_kvm_exit(exit_code, svm->vmcb->save.rip);
trace_kvm_exit(exit_code, vcpu);

if (unlikely(svm->nested.exit_required)) {
nested_svm_vmexit(svm);
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/x86/kvm/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ TRACE_EVENT(kvm_apic,
* Tracepoint for kvm guest exit:
*/
TRACE_EVENT(kvm_exit,
TP_PROTO(unsigned int exit_reason, unsigned long guest_rip),
TP_ARGS(exit_reason, guest_rip),
TP_PROTO(unsigned int exit_reason, struct kvm_vcpu *vcpu),
TP_ARGS(exit_reason, vcpu),

TP_STRUCT__entry(
__field( unsigned int, exit_reason )
Expand All @@ -192,7 +192,7 @@ TRACE_EVENT(kvm_exit,

TP_fast_assign(
__entry->exit_reason = exit_reason;
__entry->guest_rip = guest_rip;
__entry->guest_rip = kvm_rip_read(vcpu);
),

TP_printk("reason %s rip 0x%lx",
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3612,7 +3612,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, kvm_rip_read(vcpu));
trace_kvm_exit(exit_reason, vcpu);

/* If guest state is invalid, start emulating */
if (vmx->emulation_required && emulate_invalid_guest_state)
Expand Down

0 comments on commit 979042f

Please sign in to comment.