KVM: selftests: aarch64: Add test for restoring active IRQs
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:39:06 +0000 (18:39 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:25:05 +0000 (19:25 +0000)
commit728fcc46d2c2292d1ac73f3491b8f4332066fdad
tree9b0f3d60d0eb5b761512451608d6baea1669c726
parentbebd8f3f869361e0249efe423ba76a0d991ce3e6
KVM: selftests: aarch64: Add test for restoring active IRQs

Add a test that restores multiple IRQs in active state, it does it by
writing into ISACTIVER from the guest and using KVM ioctls. This test
tries to emulate what would happen during a live migration: restore
active IRQs.

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