diff options
-rw-r--r-- | arch/powerpc/kvm/emulate.c | 2 | ||||
-rw-r--r-- | include/linux/kvm.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c index 4a3e274bac12..c3ed63b22210 100644 --- a/arch/powerpc/kvm/emulate.c +++ b/arch/powerpc/kvm/emulate.c | |||
@@ -769,6 +769,8 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu) | |||
769 | break; | 769 | break; |
770 | } | 770 | } |
771 | 771 | ||
772 | KVMTRACE_3D(PPC_INSTR, vcpu, inst, vcpu->arch.pc, emulated, entryexit); | ||
773 | |||
772 | if (advance) | 774 | if (advance) |
773 | vcpu->arch.pc += 4; /* Advance past emulated instruction. */ | 775 | vcpu->arch.pc += 4; /* Advance past emulated instruction. */ |
774 | 776 | ||
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index e21a5050d4d6..d29b64881447 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -474,5 +474,6 @@ struct kvm_trace_rec { | |||
474 | #define KVM_TRC_GTLB_WRITE (KVM_TRC_HANDLER + 0x16) | 474 | #define KVM_TRC_GTLB_WRITE (KVM_TRC_HANDLER + 0x16) |
475 | #define KVM_TRC_STLB_WRITE (KVM_TRC_HANDLER + 0x17) | 475 | #define KVM_TRC_STLB_WRITE (KVM_TRC_HANDLER + 0x17) |
476 | #define KVM_TRC_STLB_INVAL (KVM_TRC_HANDLER + 0x18) | 476 | #define KVM_TRC_STLB_INVAL (KVM_TRC_HANDLER + 0x18) |
477 | #define KVM_TRC_PPC_INSTR (KVM_TRC_HANDLER + 0x19) | ||
477 | 478 | ||
478 | #endif | 479 | #endif |