KVM: selftests: Add aarch64/debug-exceptions test
authorRicardo Koller <ricarkol@google.com>
Fri, 11 Jun 2021 01:10:20 +0000 (18:10 -0700)
committerMarc Zyngier <maz@kernel.org>
Mon, 14 Jun 2021 08:06:23 +0000 (09:06 +0100)
commit4f05223acaeaabe0a1a188e25fab334735d85c5e
treeba9ae8fff3c79ca1c8d6034ed36eb420c9b75e54
parente3db7579ef355a0b2bfef4448b84d9ac882c8f2c
KVM: selftests: Add aarch64/debug-exceptions test

Covers fundamental tests for debug exceptions. The guest installs and
handle its debug exceptions itself, without KVM_SET_GUEST_DEBUG.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210611011020.3420067-7-ricarkol@google.com
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/aarch64/debug-exceptions.c [new file with mode: 0644]
tools/testing/selftests/kvm/include/aarch64/processor.h