summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorhu huajun2018-04-11 09:16:40 +0200
committerPaolo Bonzini2018-04-11 13:34:48 +0200
commit2698d82e519413c6ad287e6f14b29e0373ed37f8 (patch)
tree6be5b5a202d1a57a03a711111327545d811f0d21 /arch/x86/kvm/svm.c
parentX86/KVM: Do not allow DISABLE_EXITS_MWAIT when LAPIC ARAT is not available (diff)
downloadkernel-qcow2-linux-2698d82e519413c6ad287e6f14b29e0373ed37f8.tar.gz
kernel-qcow2-linux-2698d82e519413c6ad287e6f14b29e0373ed37f8.tar.xz
kernel-qcow2-linux-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.c5
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);
}