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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user