]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2f5d27e6cf14efe652748bad89ee529ed5a5d577
tree89767e49375560633434cf19b9ff5e7ba96e6757
parent26bf74bd9f6ff0f1545b4f0c92a37c232d076014
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]