Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
KVM: arm64: Add kunit test for ID register validation
Add kunit tests for functions that are used for validation of ID registers and CONFIG_KVM_KUNIT_TEST option to enable the tests. Since those tests only cover ID register validation so far, only a few lines of change are needed in the default arm64.py to run all of those tests as follows. ----------------------------------------------------------------------- $ diff tools/testing/kunit/qemu_configs/arm64.py arm64_kvm_min.py 4a5,7 > CONFIG_VIRTUALIZATION=y > CONFIG_KVM=y > CONFIG_KVM_KUNIT_TEST=y 12c15 < extra_qemu_params=['-machine virt', '-cpu cortex-a57'])
- Loading branch information