Skip to content

Commit 41ee9b3

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: selftests: arm64: Rename helper in set_id_regs to imply VM scope
Prepare for a later change that'll cram in per-vCPU feature ID test cases by renaming the current test case. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240502233529.1958459-5-oliver.upton@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent e016333 commit 41ee9b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/testing/selftests/kvm/aarch64/set_id_regs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ static void test_reg_set_fail(struct kvm_vcpu *vcpu, uint64_t reg,
374374
TEST_ASSERT_EQ(val, old_val);
375375
}
376376

377-
static void test_user_set_reg(struct kvm_vcpu *vcpu, bool aarch64_only)
377+
static void test_vm_ftr_id_regs(struct kvm_vcpu *vcpu, bool aarch64_only)
378378
{
379379
uint64_t masks[KVM_ARM_FEATURE_ID_RANGE_SIZE];
380380
struct reg_mask_range range = {
@@ -476,7 +476,7 @@ int main(void)
476476

477477
ksft_set_plan(ftr_cnt);
478478

479-
test_user_set_reg(vcpu, aarch64_only);
479+
test_vm_ftr_id_regs(vcpu, aarch64_only);
480480
test_guest_reg_read(vcpu);
481481

482482
kvm_vm_free(vm);

0 commit comments

Comments
 (0)