KVM: selftests: aarch64: Add test_inject_fail to vgic_irq
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:39:02 +0000 (18:39 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:24:41 +0000 (19:24 +0000)
commit90f50acac9ee9f81192098c22b2cbf2491a40263
treea2033b7d21d3432b36d91edc1194a44790cc8a6b
parent6830fa915912587a7aa304bade01b366cf0b9214
KVM: selftests: aarch64: Add test_inject_fail to vgic_irq

Add tests for failed injections to vgic_irq. This tests that KVM can
handle bogus IRQ numbers.

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-14-ricarkol@google.com
tools/testing/selftests/kvm/aarch64/vgic_irq.c
tools/testing/selftests/kvm/lib/aarch64/vgic.c