KVM: selftests: Add IRQ GSI routing library functions
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:39:03 +0000 (18:39 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:24:48 +0000 (19:24 +0000)
commit88209c104e9b3e95502c0e924fb1cd8bd5a01d82
tree3137f95ce0f2f59f0e9767f89a19f4665af88f52
parent90f50acac9ee9f81192098c22b2cbf2491a40263
KVM: selftests: Add IRQ GSI routing library functions

Add an architecture independent wrapper function for creating and
writing IRQ GSI routing tables. Also add a function to add irqchip
entries.

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-15-ricarkol@google.com
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c