diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-02 15:10:00 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-05 23:38:39 +0200 |
commit | 97c95059848358f1577f471ec47cf68690f996e4 (patch) | |
tree | ccb8bc46b80cb694fee366b4bf46ae65e6285830 /arch/powerpc/kvm/booke.c | |
parent | 8e525d59d024f54b88a038faac38f76b9094774e (diff) | |
download | op-kernel-dev-97c95059848358f1577f471ec47cf68690f996e4.zip op-kernel-dev-97c95059848358f1577f471ec47cf68690f996e4.tar.gz |
KVM: PPC: PR: Use generic tracepoint for guest exit
We want to have tracing information on guest exits for booke as well
as book3s. Since most information is identical, use a common trace point.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index d25a097..7ce2ed0 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -39,6 +39,7 @@ #include "timing.h" #include "booke.h" +#include "trace.h" unsigned long kvmppc_booke_handlers; @@ -677,6 +678,8 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, local_irq_enable(); + trace_kvm_exit(exit_nr, vcpu); + run->exit_reason = KVM_EXIT_UNKNOWN; run->ready_for_interrupt_injection = 1; |