]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Pass desired vector instead of bool for triggering posted IRQ
authorSean Christopherson <seanjc@google.com>
Wed, 8 Dec 2021 01:52:28 +0000 (01:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Jan 2022 17:14:46 +0000 (12:14 -0500)
commit3d7f81c4060ed557312895d698813e922e7ec195
treea1856d051a2f117a11783f892b992da0aec420bb
parent3ce7bf58e125bc83ebac91f849adb04460f3e9fa
KVM: VMX: Pass desired vector instead of bool for triggering posted IRQ

Refactor the posted interrupt helper to take the desired notification
vector instead of a bool so that the callers are self-documenting.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20211208015236.1616697-19-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c