KVM: arm64: selftests: get-reg-list: Provide config selection option
authorAndrew Jones <drjones@redhat.com>
Mon, 31 May 2021 10:33:42 +0000 (12:33 +0200)
committerMarc Zyngier <maz@kernel.org>
Tue, 22 Jun 2021 07:51:28 +0000 (08:51 +0100)
commitf3032fcc9cf065733ce9a50057aaeffd6c464e2e
tree5e05503af5fa2349ea54b60a9f8fdbca3225d363
parent94e9223c06bece9165a36f0f56bac3552a45cbfc
KVM: arm64: selftests: get-reg-list: Provide config selection option

Add a new command line option that allows the user to select a specific
configuration, e.g. --config=sve will give the sve config. Also provide
help text and the --help/-h options.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210531103344.29325-4-drjones@redhat.com
tools/testing/selftests/kvm/aarch64/get-reg-list.c