]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: selftests: Introduce vcpu_width_config
authorReiji Watanabe <reijiw@google.com>
Tue, 29 Mar 2022 03:19:24 +0000 (20:19 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 6 Apr 2022 11:29:45 +0000 (12:29 +0100)
commit139a8ede6e924f2f815ae97dc190f1ee26643e45
tree89767e49375560633434cf19b9ff5e7ba96e6757
parenta3d3c20c48ef0a6e4c809cc9c3ac3ce201a07070
KVM: arm64: selftests: Introduce vcpu_width_config

Introduce a test for aarch64 that ensures non-mixed-width vCPUs
(all 64bit vCPUs or all 32bit vcPUs) can be configured, and
mixed-width vCPUs cannot be configured.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Reiji Watanabe <reijiw@google.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220329031924.619453-3-reijiw@google.com
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/aarch64/vcpu_width_config.c [new file with mode: 0644]