Skip to content

Commit

Permalink
KVM: arm64: selftests: get-reg-list: Introduce vcpu configs
Browse files Browse the repository at this point in the history
We already break register lists into sublists that get selected based
on vcpu config. However, since we only had two configs (vregs and sve),
we didn't structure the code very well to manage them. Restructure it
now to more cleanly handle register sublists that are dependent on the
vcpu config.

This patch has no intended functional change (except for the vcpu
config name now being prepended to all output).

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-2-drjones@redhat.com
  • Loading branch information
Andrew Jones authored and Marc Zyngier committed Jun 22, 2021
1 parent 8124c8a commit 2f9ace5
Showing 1 changed file with 175 additions and 90 deletions.
Loading

0 comments on commit 2f9ace5

Please sign in to comment.