]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: KVM: aarch64: Introduce hypercall ABI test
authorRaghavendra Rao Ananta <rananta@google.com>
Mon, 2 May 2022 23:38:52 +0000 (23:38 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 3 May 2022 20:30:20 +0000 (21:30 +0100)
commit423856dc6ee133f411da814c2e6acbfb1fef20b2
tree294d18a73e5ef436d066a4fd5f6ee8c1b46c50ac
parente82caab395723c7a6dae4a812ea4e192e5bb2cf2
selftests: KVM: aarch64: Introduce hypercall ABI test

Introduce a KVM selftest to check the hypercall interface
for arm64 platforms. The test validates the user-space'
[GET|SET]_ONE_REG interface to read/write the psuedo-firmware
registers as well as its effects on the guest upon certain
configurations.

Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220502233853.1233742-9-rananta@google.com
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/aarch64/hypercalls.c [new file with mode: 0644]