diff options
author | hu huajun <huhuajun@linux.alibaba.com> | 2018-04-11 15:16:40 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-04-11 13:34:48 +0200 |
commit | 2698d82e519413c6ad287e6f14b29e0373ed37f8 (patch) | |
tree | 6be5b5a202d1a57a03a711111327545d811f0d21 /arch/x86/kvm/svm.c | |
parent | 8e9b29b61851ba452e33373743fadb52778e9075 (diff) | |
download | lwn-2698d82e519413c6ad287e6f14b29e0373ed37f8.tar.gz lwn-2698d82e519413c6ad287e6f14b29e0373ed37f8.zip |
KVM: X86: fix incorrect reference of trace_kvm_pi_irte_update
In arch/x86/kvm/trace.h, this function is declared as host_irq the
first input, and vcpu_id the second, instead of otherwise.
Signed-off-by: hu huajun <huhuajun@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index e0a3f56a791d..b3ebc8ad6891 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -5266,9 +5266,8 @@ static int svm_update_pi_irte(struct kvm *kvm, unsigned int host_irq, } if (!ret && svm) { - trace_kvm_pi_irte_update(svm->vcpu.vcpu_id, - host_irq, e->gsi, - vcpu_info.vector, + trace_kvm_pi_irte_update(host_irq, svm->vcpu.vcpu_id, + e->gsi, vcpu_info.vector, vcpu_info.pi_desc_addr, set); } |