KVM: selftests: Add kvm_irq_line library function
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:38:53 +0000 (18:38 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:23:23 +0000 (19:23 +0000)
commit227895ed6d03b46fa619614a41a3b8e1074d6151
treec2340f57123688bf988a776f8770c38903d4ce1c
parent17ce617bf76a7c1d3b553ed01607706434b9ed59
KVM: selftests: Add kvm_irq_line library function

Add an architecture independent wrapper function for the KVM_IRQ_LINE
ioctl.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Acked-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211109023906.1091208-5-ricarkol@google.com
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c