]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Fix kvm_bitmap_or_dest_vcpus() to use irq shorthand
authorPeter Xu <peterx@redhat.com>
Wed, 4 Dec 2019 19:07:16 +0000 (20:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 16:33:14 +0000 (17:33 +0100)
commitf6721363be94bf4fb16fb7a31f4a61949c1d5f96
tree63215760a512930db149d52062ffabc0b9355d11
parent267c4420e4216869c324620a05ca8209bc5fc1f1
KVM: X86: Fix kvm_bitmap_or_dest_vcpus() to use irq shorthand

The 3rd parameter of kvm_apic_match_dest() is the irq shorthand,
rather than the irq delivery mode.

Fixes: 8b921683d239 ("KVM: x86: deliver KVM IOAPIC scan request to target vCPUs")
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c